pub struct ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptions {
pub card: Option<ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard>,
pub card_present: Option<ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCardPresent>,
pub klarna: Option<PaymentIntentAmountDetailsLineItemPaymentMethodOptionsParam>,
pub paypal: Option<ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptionsPaypal>,
}Expand description
Payment method-specific information for line items.
Fields§
§card: Option<ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard>This sub-hash contains line item details that are specific to card payment method.“
card_present: Option<ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCardPresent>This sub-hash contains line item details that are specific to card_present payment method.“
klarna: Option<PaymentIntentAmountDetailsLineItemPaymentMethodOptionsParam>This sub-hash contains line item details that are specific to klarna payment method.“
paypal: Option<ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptionsPaypal>This sub-hash contains line item details that are specific to paypal payment method.“
Implementations§
Trait Implementations§
Source§impl Clone for ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl Clone for ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptions
Source§fn clone(
&self,
) -> ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptions
fn clone( &self, ) -> ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptions
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl RefUnwindSafe for ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl Send for ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl Sync for ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl Unpin for ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptions
impl UnwindSafe for ConfirmPaymentIntentAmountDetailsLineItemsPaymentMethodOptions
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