pub struct ChargeRequestAdditionalRecipient {
pub location_id: String,
pub description: String,
pub amount_money: Box<Money>,
}Expand description
ChargeRequestAdditionalRecipient : Represents an additional recipient (other than the merchant) entitled to a portion of the tender. Support is currently limited to USD, CAD and GBP currencies
Fields§
§location_id: StringThe location ID for a recipient (other than the merchant) receiving a portion of the tender.
description: StringThe description of the additional recipient.
amount_money: Box<Money>Implementations§
Trait Implementations§
Source§impl Clone for ChargeRequestAdditionalRecipient
impl Clone for ChargeRequestAdditionalRecipient
Source§fn clone(&self) -> ChargeRequestAdditionalRecipient
fn clone(&self) -> ChargeRequestAdditionalRecipient
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 moreSource§impl Default for ChargeRequestAdditionalRecipient
impl Default for ChargeRequestAdditionalRecipient
Source§fn default() -> ChargeRequestAdditionalRecipient
fn default() -> ChargeRequestAdditionalRecipient
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChargeRequestAdditionalRecipient
impl<'de> Deserialize<'de> for ChargeRequestAdditionalRecipient
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
impl StructuralPartialEq for ChargeRequestAdditionalRecipient
Auto Trait Implementations§
impl Freeze for ChargeRequestAdditionalRecipient
impl RefUnwindSafe for ChargeRequestAdditionalRecipient
impl Send for ChargeRequestAdditionalRecipient
impl Sync for ChargeRequestAdditionalRecipient
impl Unpin for ChargeRequestAdditionalRecipient
impl UnsafeUnpin for ChargeRequestAdditionalRecipient
impl UnwindSafe for ChargeRequestAdditionalRecipient
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