The different states a purchase can be in. Different platforms and frameworks may have different sets of states that they support.
@objc public enum NamiPurchaseState: Int {
case pending
case purchased
case consumed
case resubscribed
case unsubscribed
case deferred
case failed
case cancelled
case unknown
}
enum class NamiPurchaseState {
PURCHASED,
FAILED,
CANCELLED,
PENDING,
UNKNOWN
}