Struct stripe::QuotesResourceTransferData [−][src]
pub struct QuotesResourceTransferData {
pub amount: Option<Box<i64>>,
pub amount_percent: Option<Box<f64>>,
pub destination: Expandable<Account>,
}
Fields
amount: Option<Box<i64>>
The amount in %s that will be transferred to the destination account when the invoice is paid.
By default, the entire amount is transferred to the destination.
amount_percent: Option<Box<f64>>
A non-negative decimal between 0 and 100, with at most two decimal places.
This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount will be transferred to the destination.
destination: Expandable<Account>
The account where funds from the payment will be transferred to upon payment success.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for QuotesResourceTransferData
impl Send for QuotesResourceTransferData
impl Sync for QuotesResourceTransferData
impl Unpin for QuotesResourceTransferData
impl UnwindSafe for QuotesResourceTransferData
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more