CardPromotion

@Serializable
@SerialName(value = "CARD")
data class CardPromotion(val id: String, val storeId: String, val name: String, val discountPolicy: PromotionDiscountPolicy, val totalBudget: Long, val maxDiscountAmount: Long? = null, val spentAmount: Long, val currency: Currency, val startAt: @Serializable(with = InstantSerializer::class) Instant, val endAt: @Serializable(with = InstantSerializer::class) Instant, val terminatedAt: @Serializable(with = InstantSerializer::class) Instant? = null, val cardCompany: PromotionCardCompany, val status: PromotionStatus, val createdAt: @Serializable(with = InstantSerializer::class) Instant, val recoverOption: PromotionRecoverOption) : Promotion.Recognized

카드 프로모션

Constructors

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

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

할인 정책

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 name: String

프로모션 이름

Link copied to clipboard

결제 취소 시 프로모션 예산 복구 옵션

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

총 예산