Subscription
Represents a subscription purchase of the user.
Constructors
Properties
Activation date in ISO 8601 format.
Type of active introductory offer, if any. If the value is not null, it means that the offer was applied during the current subscription period. Possible values: free_trial, pay_as_you_go, pay_up_front
Active promotional offer ID, if any.
A type of an active promotional offer. If the value is not null, it means that the offer was applied during the current subscription period. Possible values: free_trial, pay_as_you_go, pay_up_front
Time when a billing issue was detected. Subscription can still be active.
Reason for cancellation, if any.
Whether the subscription is currently in grace period.
Whether this is a lifetime subscription.
Time when the auto-renewable subscription was cancelled. Subscription can still be active, it means that auto-renewal is turned off. Would be null if a user reactivates the subscription.
An original transaction id of the purchase in a store that unlocked this subscription. For auto-renewable subscription, this will be an id of the first transaction in this subscription
An identifier of a product in a store that unlocked this subscription.
A transaction id of a purchase in a store that unlocked this subscription.