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