pub struct PaymentCollection {
pub authorizations: Option<Vec<AuthorizationWithAdditionalData>>,
pub captures: Option<Vec<Capture>>,
pub refunds: Option<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<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 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 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