pub struct CreateCheckoutSessionPaymentIntentDataTransferData {
pub amount: Option<i64>,
pub destination: String,
}
Fields§
§amount: Option<i64>
The amount that will be transferred automatically when a charge succeeds.
destination: String
If specified, successful charges will be attributed to the destination account for tax reporting, and the funds from charges will be transferred to the destination account.
The ID of the resulting transfer will be returned on the successful charge’s transfer
field.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionPaymentIntentDataTransferData
impl Clone for CreateCheckoutSessionPaymentIntentDataTransferData
source§fn clone(&self) -> CreateCheckoutSessionPaymentIntentDataTransferData
fn clone(&self) -> CreateCheckoutSessionPaymentIntentDataTransferData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateCheckoutSessionPaymentIntentDataTransferData
impl Default for CreateCheckoutSessionPaymentIntentDataTransferData
source§fn default() -> CreateCheckoutSessionPaymentIntentDataTransferData
fn default() -> CreateCheckoutSessionPaymentIntentDataTransferData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionPaymentIntentDataTransferData
impl<'de> Deserialize<'de> for CreateCheckoutSessionPaymentIntentDataTransferData
source§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