ProductItem

@Serializable(with = ProductItemSerializer::class)
data class ProductItem(val compositeId: String, val name: String, val type: ProductItem.StoreProductType, val entitlements: Set<Entitlement>) : TemplatingProduct(source)

Constructors

Link copied to clipboard
constructor(compositeId: String, name: String, type: ProductItem.StoreProductType, entitlements: Set<Entitlement>)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
@Serializable
sealed class StoreProductType

Properties

Link copied to clipboard
@SerialName(value = "sw_composite_product_id")
val compositeId: String
Link copied to clipboard
@SerialName(value = "entitlements")
val entitlements: Set<Entitlement>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "reference_name")
val name: String
Link copied to clipboard
@SerialName(value = "store_product")
val type: ProductItem.StoreProductType