Interface AdaptySubscriptionDetails

Hierarchy

  • AdaptySubscriptionDetails

Properties

android?: {
    basePlanId: string;
    introductoryOfferEligibility: OfferEligibility;
    offerId?: string;
    offerTags?: string[];
    renewalType?: "prepaid" | "autorenewable";
}

Type declaration

  • basePlanId: string
  • introductoryOfferEligibility: OfferEligibility
  • Optional offerId?: string

    The period’s language is determined by the preferred language set on the device.

  • Optional offerTags?: string[]
  • Optional renewalType?: "prepaid" | "autorenewable"
introductoryOffers?: AdaptyDiscountPhase[]

An array of subscription offers available for the auto-renewable subscription. Will be empty for iOS version below 12.2 and macOS version below 10.14.4.

ios?: {
    promotionalOffer?: AdaptyDiscountPhase;
    subscriptionGroupIdentifier?: string;
}

Type declaration

  • Optional promotionalOffer?: AdaptyDiscountPhase
  • Optional subscriptionGroupIdentifier?: string

    An identifier of the subscription group to which the subscription belongs. Will be null for iOS version below 12.0 and macOS version below 10.14.

localizedSubscriptionPeriod?: string

The period’s language is determined by the preferred language set on the device.

subscriptionPeriod: AdaptySubscriptionPeriod

The period details for products that are subscriptions. Will be null for iOS version below 11.2 and macOS version below 10.14.4.

Generated using TypeDoc