Mayson Monorepo Documentation
    Preparing search index...
    interface ShippingCost {
        amount_subtotal: number;
        amount_tax: number;
        amount_total: number;
        shipping_rate: string | Stripe.ShippingRate;
        taxes?: Stripe.Checkout.Session.ShippingCost.Tax[];
    }
    Index

    Properties

    amount_subtotal: number

    Total shipping cost before any discounts or taxes are applied.

    amount_tax: number

    Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.

    amount_total: number

    Total shipping cost after discounts and taxes are applied.

    shipping_rate: string | Stripe.ShippingRate

    The ID of the ShippingRate for this order.

    The taxes applied to the shipping rate.