Contains all details associated with a SubscriptionOption Used only for Google

Hierarchy

  • SubscriptionOption

Properties

billingPeriod: null | Period

The subscription period of fullPricePhase (after free and intro trials).

freePhase: null | PricingPhase

The free trial PricingPhase of the subscription. Looks for the first pricing phase of the SubscriptionOption where amountMicros is 0. There can be a freeTrialPhase and an introductoryPhase in the same SubscriptionOption.

fullPricePhase: null | PricingPhase

The full price PricingPhase of the subscription. Looks for the last price phase of the SubscriptionOption.

id: string

Identifier of the subscription option If this SubscriptionOption represents a base plan, this will be the basePlanId. If it represents an offer, it will be {basePlanId}:{offerId}

introPhase: null | PricingPhase

The intro trial PricingPhase of the subscription. Looks for the first pricing phase of the SubscriptionOption where amountMicros is greater than 0. There can be a freeTrialPhase and an introductoryPhase in the same SubscriptionOption.

isBasePlan: boolean

True if this SubscriptionOption represents a subscription base plan (rather than an offer).

isPrepaid: boolean

True if the subscription is pre-paid.

presentedOfferingIdentifier: null | string

Offering identifier the subscription option was presented from

pricingPhases: PricingPhase[]

Pricing phases defining a user's payment plan for the product over time.

productId: string

Identifer of the subscription associated with this SubscriptionOption This will be {subId}

storeProductId: string

Identifier of the StoreProduct associated with this SubscriptionOption This will be {subId}:{basePlanId}

tags: string[]

Tags defined on the base plan or offer. Empty for Amazon.

Generated using TypeDoc