ProductChangeCallback

interface ProductChangeCallback : PurchaseErrorCallback

Interface to be implemented when upgrading or downgrading a purchase.

Functions

Link copied to clipboard
abstract fun onCompleted(storeTransaction: StoreTransaction?, customerInfo: CustomerInfo)

Will be called after the product change has been completed

Link copied to clipboard
abstract fun onError(error: PurchasesError, userCancelled: Boolean)

Will be called after the product change has completed with error

Sources

Link copied to clipboard