pub struct PaymentPagesCheckoutSessionShippingCost {
pub amount_subtotal: i64,
pub amount_tax: i64,
pub amount_total: i64,
pub shipping_rate: Option<Expandable<ShippingRate>>,
pub taxes: Option<Vec<LineItemsTaxAmount>>,
}
Fields§
§amount_subtotal: i64
Total shipping cost before any discounts or taxes are applied.
amount_tax: i64
Total tax amount applied due to shipping costs.
If no tax was applied, defaults to 0.
amount_total: i64
Total shipping cost after discounts and taxes are applied.
shipping_rate: Option<Expandable<ShippingRate>>
The ID of the ShippingRate for this order.
taxes: Option<Vec<LineItemsTaxAmount>>
The taxes applied to the shipping rate.
Trait Implementations§
source§impl Clone for PaymentPagesCheckoutSessionShippingCost
impl Clone for PaymentPagesCheckoutSessionShippingCost
source§fn clone(&self) -> PaymentPagesCheckoutSessionShippingCost
fn clone(&self) -> PaymentPagesCheckoutSessionShippingCost
Returns a copy 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 moresource§impl Default for PaymentPagesCheckoutSessionShippingCost
impl Default for PaymentPagesCheckoutSessionShippingCost
source§fn default() -> PaymentPagesCheckoutSessionShippingCost
fn default() -> PaymentPagesCheckoutSessionShippingCost
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionShippingCost
impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionShippingCost
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more