RewardsByPromocodeResponse

data class RewardsByPromocodeResponse(    val bonus: List<Bonus>,     val discount: RewardsByPromocodeResponse.Discount? = null,     val discountedItems: List<DiscountedItems>? = null,     val isSelectable: Boolean)

Constructors

Link copied to clipboard
fun RewardsByPromocodeResponse(    bonus: List<Bonus>,     discount: RewardsByPromocodeResponse.Discount? = null,     discountedItems: List<DiscountedItems>? = null,     isSelectable: Boolean)

Types

Link copied to clipboard
data class Discount(val percent: String)

Properties

Link copied to clipboard
val bonus: List<Bonus>
Link copied to clipboard
val discount: RewardsByPromocodeResponse.Discount? = null
Link copied to clipboard
@SerializedName(value = "discounted_items")
val discountedItems: List<DiscountedItems>? = null
Link copied to clipboard
@SerializedName(value = "is_selectable")
val isSelectable: Boolean

Sources

Link copied to clipboard