pub struct PaymentCollection {
pub authorizations: Option<Vec<AuthorizationWithAdditionalData>>,
pub captures: Option<Vec<Capture>>,
pub refunds: Option<Vec<Refund>>,
}
Fields§
An array of authorized payments for a purchase unit. A purchase unit can have zero or more authorized payments.
captures: Option<Vec<Capture>>
An array of captured payments for a purchase unit. A purchase unit can have zero or more captured payments.
refunds: Option<Vec<Refund>>
An array of refunds for a purchase unit. A purchase unit can have zero or more refunds.
Trait Implementations§
Source§impl Clone for PaymentCollection
impl Clone for PaymentCollection
Source§fn clone(&self) -> PaymentCollection
fn clone(&self) -> PaymentCollection
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 PaymentCollection
impl Debug for PaymentCollection
Source§impl Default for PaymentCollection
impl Default for PaymentCollection
Source§fn default() -> PaymentCollection
fn default() -> PaymentCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentCollection
impl<'de> Deserialize<'de> for PaymentCollection
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 PaymentCollection
impl RefUnwindSafe for PaymentCollection
impl Send for PaymentCollection
impl Sync for PaymentCollection
impl Unpin for PaymentCollection
impl UnwindSafe for PaymentCollection
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