Mayson Monorepo Documentation
    Preparing search index...
    interface ShippingCost {
        amount?: number;
        shipping_rate?: string;
        tax_behavior?: Stripe.Tax.CalculationCreateParams.ShippingCost.TaxBehavior;
        tax_code?: string;
    }
    Index

    Properties

    amount?: number

    A positive integer in the smallest currency unit representing the shipping charge. If tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.

    shipping_rate?: string

    If provided, the shipping rate's amount, tax_code and tax_behavior are used. If you provide a shipping rate, then you cannot pass the amount, tax_code, or tax_behavior parameters.

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

    tax_code?: string

    The tax code used to calculate tax on shipping. If not provided, the default shipping tax code from your Tax Settings is used.