NonSubscription

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)

Constructors

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard

true if the product is consumable.

Link copied to clipboard
Link copied to clipboard

true if the purchase was refunded.

Link copied to clipboard

true if the product was purchased in a sandbox environment.

Link copied to clipboard

ISO 8601 datetime when the product was purchased.

Link copied to clipboard

An identifier of the purchase in Adapty. You can use it to ensure that you’ve already processed this purchase (for example tracking one time products).

Link copied to clipboard

A store of the purchase.

Link copied to clipboard

An identifier of a product in a store that unlocked this subscription.

Link copied to clipboard

A transaction id of a purchase in a store that unlocked this subscription.