Struct stripe::CreatePaymentLinkTransferData
source · pub struct CreatePaymentLinkTransferData {
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 CreatePaymentLinkTransferData
impl Clone for CreatePaymentLinkTransferData
source§fn clone(&self) -> CreatePaymentLinkTransferData
fn clone(&self) -> CreatePaymentLinkTransferData
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 CreatePaymentLinkTransferData
impl Default for CreatePaymentLinkTransferData
source§fn default() -> CreatePaymentLinkTransferData
fn default() -> CreatePaymentLinkTransferData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreatePaymentLinkTransferData
impl<'de> Deserialize<'de> for CreatePaymentLinkTransferData
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