Subscription discount offer

interface Discount {
    id: string;
    paymentMode: PaymentMode;
    period: number;
    periodUnit: IPeriodUnit;
    price: string;
    priceMicros: number;
    type: CdvPurchase.AppleAppStore.Bridge.DiscountType;
}

Properties

id: string

Discount identifier

paymentMode: PaymentMode

Payment mode

period: number

Number of periods

periodUnit: IPeriodUnit

Subscription period unit

price: string

Localized price

priceMicros: number

Price in micro units

Discount type