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
}
enum NamiPlatformType { one_time_purchase, subscription, unknown }
const NamiSKUType = {
"one_time_purchase": "one_time_purchase",
"subscription": "subscription",
"unknown": "unknown"
}
public enum NamiSKUType
{
Unknown,
OneTimePurchase,
Subscription
}