pub struct CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions {
pub amount: i64,
pub tax_behavior: Option<CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptionsTaxBehavior>,
}Expand description
Shipping rates defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency.
Fields§
§amount: i64A non-negative integer in cents representing how much to charge.
tax_behavior: Option<CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptionsTaxBehavior>Specifies whether the rate is considered inclusive of taxes or exclusive of taxes.
One of inclusive, exclusive, or unspecified.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl Clone for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
Source§fn clone(
&self,
) -> CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
fn clone( &self, ) -> CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
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 Debug for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl Debug for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl Eq for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
Source§impl PartialEq for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl PartialEq for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
Source§impl Serialize for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl Serialize for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl StructuralPartialEq for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl RefUnwindSafe for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl Send for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl Sync for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl Unpin for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl UnsafeUnpin for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
impl UnwindSafe for CreateCheckoutSessionShippingOptionsShippingRateDataFixedAmountCurrencyOptions
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