Interface AdaptySubscriptionDetails

Hierarchy

  • AdaptySubscriptionDetails

Properties

android?: {
    basePlanId: string;
    renewalType?: "prepaid" | "autorenewable";
}

Type declaration

  • basePlanId: string
  • Optional renewalType?: "prepaid" | "autorenewable"
ios?: {
    subscriptionGroupIdentifier?: string;
}

Type declaration

  • 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.

A subscription offer if available for the auto-renewable subscription.

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