pub struct CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard {
pub commodity_code: Option<String>,
}Expand description
This sub-hash contains line item details that are specific to the card payment method.
Fields§
§commodity_code: Option<String>Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
Implementations§
Trait Implementations§
Source§impl Clone for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
impl Clone for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
Source§fn clone(
&self,
) -> CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
fn clone( &self, ) -> CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
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 CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
impl PartialEq for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
Source§fn eq(
&self,
other: &CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard,
) -> bool
fn eq( &self, other: &CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
impl StructuralPartialEq for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
Auto Trait Implementations§
impl Freeze for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
impl RefUnwindSafe for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
impl Send for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
impl Sync for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
impl Unpin for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
impl UnsafeUnpin for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
impl UnwindSafe for CapturePaymentIntentAmountDetailsLineItemsPaymentMethodOptionsCard
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