Mayson Monorepo Documentation
    Preparing search index...
    interface Discount {
        coupon: string | Stripe.Coupon;
        discount: string | Stripe.Discount;
        promotion_code: string | Stripe.PromotionCode;
    }
    Index

    Properties

    coupon: string | Stripe.Coupon

    ID of the coupon to create a new discount for.

    discount: string | Stripe.Discount

    ID of an existing discount on the object (or one of its ancestors) to reuse.

    promotion_code: string | Stripe.PromotionCode

    ID of the promotion code to create a new discount for.