pub struct CreatePaymentLinkTransferData {
pub amount: Option<i64>,
pub destination: String,
}Expand description
The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to.
Fields§
§amount: Option<i64>The amount that will be transferred automatically when a charge succeeds.
destination: StringIf 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.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentLinkTransferData
impl Clone for CreatePaymentLinkTransferData
Source§fn clone(&self) -> CreatePaymentLinkTransferData
fn clone(&self) -> CreatePaymentLinkTransferData
Returns a duplicate 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 PartialEq for CreatePaymentLinkTransferData
impl PartialEq for CreatePaymentLinkTransferData
Source§fn eq(&self, other: &CreatePaymentLinkTransferData) -> bool
fn eq(&self, other: &CreatePaymentLinkTransferData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentLinkTransferData
impl StructuralPartialEq for CreatePaymentLinkTransferData
Auto Trait Implementations§
impl Freeze for CreatePaymentLinkTransferData
impl RefUnwindSafe for CreatePaymentLinkTransferData
impl Send for CreatePaymentLinkTransferData
impl Sync for CreatePaymentLinkTransferData
impl Unpin for CreatePaymentLinkTransferData
impl UnsafeUnpin for CreatePaymentLinkTransferData
impl UnwindSafe for CreatePaymentLinkTransferData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more