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