pub struct TransferCharge {
pub customer_ref: Option<String>,
pub amount: Money,
pub destination_account: String,
pub application_fee: Money,
pub metadata: BTreeMap<String, String>,
pub idempotency_key: String,
}Expand description
A destination charge with an application fee: the buyer is charged
amount, application_fee is kept by the platform, and the remainder is
transferred to destination_account (the coach’s Connect account).
Fields§
§customer_ref: Option<String>§amount: Money§destination_account: String§application_fee: Money§metadata: BTreeMap<String, String>§idempotency_key: StringTrait Implementations§
Source§impl Clone for TransferCharge
impl Clone for TransferCharge
Source§fn clone(&self) -> TransferCharge
fn clone(&self) -> TransferCharge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TransferCharge
impl RefUnwindSafe for TransferCharge
impl Send for TransferCharge
impl Sync for TransferCharge
impl Unpin for TransferCharge
impl UnsafeUnpin for TransferCharge
impl UnwindSafe for TransferCharge
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