Package-level declarations

Types

Link copied to clipboard
@Serializable
@SerialName(value = "CARD")
data class CardPromotion(val id: String, val storeId: String, val name: String, val discountType: PromotionDiscount, val totalBudget: Long, val spentAmount: Long, val currency: Currency, val startAt: @Serializable(with = InstantSerializer::class) Instant, val endAt: @Serializable(with = InstantSerializer::class) Instant, val cardCompany: PromotionCardCompany, val status: PromotionStatus, val createdAt: @Serializable(with = InstantSerializer::class) Instant, val minPaymentAmount: Long? = null, val maxDiscountAmount: Long? = null, val terminatedAt: @Serializable(with = InstantSerializer::class) Instant? = null) : Promotion

카드 프로모션

Link copied to clipboard
@Serializable
sealed interface Promotion

프로모션

Link copied to clipboard
@Serializable
@SerialName(value = "AMOUNT")
data class PromotionAmountDiscount(val amount: Long) : PromotionDiscount
Link copied to clipboard

프로모션 적용 가능한 카드사

Link copied to clipboard
Link copied to clipboard
@Serializable
sealed interface PromotionDiscount
Link copied to clipboard
@Serializable
@SerialName(value = "PERCENT")
data class PromotionPercentDiscount(val percent: Int) : PromotionDiscount
Link copied to clipboard
@Serializable
enum PromotionStatus : Enum<PromotionStatus>