pub struct CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions {
pub card: Option<CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard>,
pub card_present: Option<CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCardPresent>,
pub klarna: Option<PaymentIntentAmountDetailsLineItemPaymentMethodOptionsParam>,
pub paypal: Option<CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsPaypal>,
}Expand description
Payment method-specific information for line items.
Fields§
§card: Option<CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard>This sub-hash contains line item details that are specific to the card payment method.
card_present: Option<CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCardPresent>This sub-hash contains line item details that are specific to the card_present payment method.
klarna: Option<PaymentIntentAmountDetailsLineItemPaymentMethodOptionsParam>This sub-hash contains line item details that are specific to the klarna payment method.
paypal: Option<CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsPaypal>This sub-hash contains line item details that are specific to the paypal payment method.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl Clone for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
Source§fn clone(&self) -> CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
fn clone(&self) -> CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
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 PartialEq for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl PartialEq for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
Source§fn eq(
&self,
other: &CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions,
) -> bool
fn eq( &self, other: &CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl StructuralPartialEq for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
Auto Trait Implementations§
impl Freeze for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl RefUnwindSafe for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl Send for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl Sync for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl Unpin for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl UnsafeUnpin for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl UnwindSafe for CreatePaymentIntentAmountDetailsLineItemsPaymentMethodOptions
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