NonSubscription

data class NonSubscription(val purchaseId: String, val vendorProductId: String, val vendorTransactionId: String?, val store: String, val purchasedAt: String, val isConsumable: Boolean, val isSandbox: Boolean, val isRefund: Boolean)

Represents a non-subscription purchase (consumables or one-time purchases).

Constructors

Link copied to clipboard
constructor(purchaseId: String, vendorProductId: String, vendorTransactionId: String?, store: String, purchasedAt: String, isConsumable: Boolean, isSandbox: Boolean, isRefund: Boolean)

Properties

Link copied to clipboard

Whether the purchase is consumable.

Link copied to clipboard

Whether this purchase was refunded.

Link copied to clipboard

Whether this purchase was made in a sandbox environment.

Link copied to clipboard

Purchase timestamp in ISO 8601 format.

Link copied to clipboard

Adapty purchase ID. You can use it to ensure that you've already processed this purchase (for example tracking one time products).

Link copied to clipboard

Store name (App Store, Google Play, etc.). Possible values: app_store, play_store, adapty

Link copied to clipboard

Product identifier from App Store or Google Play.

Link copied to clipboard

Transaction ID from the store.