Stored Entitlement Transaction
@Serializable
A serializable representation of an EntitlementTransaction that can be persisted to storage. This allows us to maintain transaction history even after purchases expire or are no longer returned by Google Play.
Constructors
Link copied to clipboard
constructor(productId: String, transactionId: String, purchaseDate: Date, originalPurchaseDate: Date, expirationDate: Date?, isRevoked: Boolean, productType: EntitlementTransactionType, willRenew: Boolean, renewedAt: Date?, isInGracePeriod: Boolean, isInBillingRetryPeriod: Boolean, isActive: Boolean)
Properties
Link copied to clipboard
The expiration date of the subscription, or null if non-expiring.
Link copied to clipboard
Whether the subscription is in a billing retry period.
Link copied to clipboard
Whether the subscription is in a grace period (payment failed but still active).
Link copied to clipboard
The original purchase date (for renewals, this is the first purchase).
Link copied to clipboard
The type of product this transaction represents.
Link copied to clipboard
The date when the purchase was made.
Link copied to clipboard
The unique identifier for this transaction.