Describe a discount

interface DiscountDefinition {
    id?: string;
    paymentMode?: "FreeTrial";
    period?: number;
    periodUnit?: SubscriptionPeriodUnit;
    price?: string;
    priceMicros?: number;
    type?: "Subscription";
}

Properties

id?: string

Discount identifier

paymentMode?: "FreeTrial"

Payment mode

period?: number

Number of periods

Period unit

price?: string

Localized Price

priceMicros?: number

Price is micro units

type?: "Subscription"

Discount type