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
sourceimpl Clone for PaymentInstruction
impl Clone for PaymentInstruction
sourcefn clone(&self) -> PaymentInstruction
fn clone(&self) -> PaymentInstruction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PaymentInstruction
impl Debug for PaymentInstruction
sourceimpl Default for PaymentInstruction
impl Default for PaymentInstruction
sourcefn default() -> PaymentInstruction
fn default() -> PaymentInstruction
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PaymentInstruction
impl<'de> Deserialize<'de> for PaymentInstruction
sourcefn 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
sourceimpl Serialize for PaymentInstruction
impl Serialize for PaymentInstruction
Auto Trait Implementations
impl RefUnwindSafe for PaymentInstruction
impl Send for PaymentInstruction
impl Sync for PaymentInstruction
impl Unpin for PaymentInstruction
impl UnwindSafe for PaymentInstruction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more