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 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 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