GoogleSubscriptionOption
Defines an option for purchasing a Google subscription
Constructors
Properties
The id of the base plan that this GoogleSubscriptionOption
belongs to.
The subscription period of fullPricePhase
(after free and intro trials).
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.
The full price PricingPhase of the subscription. Looks for the last price phase of the SubscriptionOption.
For installment subscriptions, the details of the installment plan the customer commits to. Null for non-installment subscriptions.
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.
True if this SubscriptionOption represents a Google subscription base plan (rather than an offer). Not applicable for Amazon subscriptions.
The token used to purchase this GoogleSubscriptionOption
, whether it represents a base plan or an offer.
The context from which this subscription option was obtained.
Pricing phases defining a user's payment plan for the product over time.
The ProductDetails
object this GoogleSubscriptionOption
was created from. Use to get underlying BillingClient information.