CardPromotion

@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

카드 프로모션

Constructors

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

Properties

Link copied to clipboard

프로모션 카드사

Link copied to clipboard
open override val createdAt: @Serializable(with = InstantSerializer::class) Instant

프로모션 생성 시각

Link copied to clipboard
open override val currency: Currency

금액 화폐

Link copied to clipboard
open override val discountType: PromotionDiscount

할인 유형

Link copied to clipboard
open override val endAt: @Serializable(with = InstantSerializer::class) Instant

프로모션 종료 시각

Link copied to clipboard
open override val id: String

프로모션 아이디

Link copied to clipboard
open override val maxDiscountAmount: Long? = null

최대 할인 금액

Link copied to clipboard
open override val minPaymentAmount: Long? = null

최소 결제 금액

Link copied to clipboard
open override val name: String

프로모션 이름

Link copied to clipboard
open override val spentAmount: Long

소진 금액

Link copied to clipboard
open override val startAt: @Serializable(with = InstantSerializer::class) Instant

프로모션 시작 시각

Link copied to clipboard
open override val status: PromotionStatus

프로모션 상태

Link copied to clipboard
open override val storeId: String

상점 아이디

Link copied to clipboard
open override val terminatedAt: @Serializable(with = InstantSerializer::class) Instant? = null

프로모션 중단 시각

Link copied to clipboard
open override val totalBudget: Long

총 예산