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 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 PaymentPagesCheckoutSessionShippingCost
impl RefUnwindSafe for PaymentPagesCheckoutSessionShippingCost
impl Send for PaymentPagesCheckoutSessionShippingCost
impl Sync for PaymentPagesCheckoutSessionShippingCost
impl Unpin for PaymentPagesCheckoutSessionShippingCost
impl UnwindSafe for PaymentPagesCheckoutSessionShippingCost
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