Enum defining types of SKUs.
@objc public enum NamiSKUType: Int, Codable {
case unknown = 0
case one_time_purchase
case subscription
}
@JsonClass(generateAdapter = false)
enum class NamiSKUType {
@Json(name = "one_time_purchase")
ONE_TIME_PURCHASE,
@Json(name = "subscription")
SUBSCRIPTION,
@Json(name = "unknown")
UNKNOWN
}
const NamiSKUType = {
"one_time_purchase": "one_time_purchase",
"subscription": "subscription",
"unknown": "unknown"
}
enum NamiPlatformType { one_time_purchase, subscription, unknown }
public enum NamiSKUType : long {
Unknown = 0,
One_time_purchase = 1,
Subscription = 2
}