pub struct AdditionalRecipient {
pub location_id: String,
pub description: Option<String>,
pub amount_money: Money,
pub receivable_id: Option<String>,
}
👎Deprecated
Expand description
Represents an additional recipient (other than the merchant) receiving a portion of this tender.
Fields§
§location_id: String
👎Deprecated
Required The location ID for a recipient (other than the merchant) receiving a portion of this tender.
description: Option<String>
👎Deprecated
The description of the additional recipient.
amount_money: Money
👎Deprecated
Required The amount of money distributed to the recipient.
receivable_id: Option<String>
👎Deprecated
The unique ID for this [AdditionalRecipientReceivable], assigned by the server.
Trait Implementations§
Source§impl Clone for AdditionalRecipient
impl Clone for AdditionalRecipient
Source§fn clone(&self) -> AdditionalRecipient
fn clone(&self) -> AdditionalRecipient
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 AdditionalRecipient
impl Debug for AdditionalRecipient
Source§impl<'de> Deserialize<'de> for AdditionalRecipient
impl<'de> Deserialize<'de> for AdditionalRecipient
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
Source§impl PartialEq for AdditionalRecipient
impl PartialEq for AdditionalRecipient
Source§impl Serialize for AdditionalRecipient
impl Serialize for AdditionalRecipient
impl Eq for AdditionalRecipient
impl StructuralPartialEq for AdditionalRecipient
Auto Trait Implementations§
impl Freeze for AdditionalRecipient
impl RefUnwindSafe for AdditionalRecipient
impl Send for AdditionalRecipient
impl Sync for AdditionalRecipient
impl Unpin for AdditionalRecipient
impl UnwindSafe for AdditionalRecipient
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.