pub struct PaymentMethodDetailsAfterpayClearpay {
pub order_id: Option<String>,
pub reference: Option<String>,
}
Fields§
§order_id: Option<String>
The Afterpay order ID associated with this payment intent.
reference: Option<String>
Order identifier shown to the merchant in Afterpay’s online portal.
Trait Implementations§
source§impl Clone for PaymentMethodDetailsAfterpayClearpay
impl Clone for PaymentMethodDetailsAfterpayClearpay
source§fn clone(&self) -> PaymentMethodDetailsAfterpayClearpay
fn clone(&self) -> PaymentMethodDetailsAfterpayClearpay
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 Default for PaymentMethodDetailsAfterpayClearpay
impl Default for PaymentMethodDetailsAfterpayClearpay
source§fn default() -> PaymentMethodDetailsAfterpayClearpay
fn default() -> PaymentMethodDetailsAfterpayClearpay
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentMethodDetailsAfterpayClearpay
impl<'de> Deserialize<'de> for PaymentMethodDetailsAfterpayClearpay
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 PaymentMethodDetailsAfterpayClearpay
impl RefUnwindSafe for PaymentMethodDetailsAfterpayClearpay
impl Send for PaymentMethodDetailsAfterpayClearpay
impl Sync for PaymentMethodDetailsAfterpayClearpay
impl Unpin for PaymentMethodDetailsAfterpayClearpay
impl UnwindSafe for PaymentMethodDetailsAfterpayClearpay
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