pub struct PaymentInstruction {
pub platform_fees: Vec<PlatformFee>,
pub disbursement_mode: DisbursementMode,
pub payee_pricing_tier_id: String,
}
Fields§
§platform_fees: Vec<PlatformFee>
An array of various fees, commissions, tips, or donations. This field is only applicable to merchants that been enabled for PayPal Commerce Platform for Marketplaces and Platforms capability.
disbursement_mode: DisbursementMode
The funds that are held on behalf of the merchant.
payee_pricing_tier_id: String
Trait Implementations§
Source§impl Clone for PaymentInstruction
impl Clone for PaymentInstruction
Source§fn clone(&self) -> PaymentInstruction
fn clone(&self) -> PaymentInstruction
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PaymentInstruction
impl Debug for PaymentInstruction
Source§impl Default for PaymentInstruction
impl Default for PaymentInstruction
Source§fn default() -> PaymentInstruction
fn default() -> PaymentInstruction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentInstruction
impl<'de> Deserialize<'de> for PaymentInstruction
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
Auto Trait Implementations§
impl Freeze for PaymentInstruction
impl RefUnwindSafe for PaymentInstruction
impl Send for PaymentInstruction
impl Sync for PaymentInstruction
impl Unpin for PaymentInstruction
impl UnwindSafe for PaymentInstruction
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