Mayson Monorepo Documentation
    Preparing search index...
    interface ShippingCost {
        amount: number;
        amount_tax: number;
        shipping_rate?: string;
        tax_behavior: Stripe.Tax.Calculation.ShippingCost.TaxBehavior;
        tax_breakdown?: Stripe.Tax.Calculation.ShippingCost.TaxBreakdown[];
        tax_code: string;
    }
    Index

    Properties

    amount: number

    The shipping amount in the smallest currency unit. If tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.

    amount_tax: number

    The amount of tax calculated for shipping, in the smallest currency unit.

    shipping_rate?: string

    The ID of an existing ShippingRate.

    Specifies whether the amount includes taxes. If tax_behavior=inclusive, then the amount includes taxes.

    Detailed account of taxes relevant to shipping cost.

    tax_code: string

    The tax code ID used for shipping.