Commerce

constructor(regularPrice: Int, discountPrice: Int? = null, fixedDiscountPrice: Int? = null, discountRate: Int? = null, productName: String? = null, currencyUnit: String? = null, currencyUnitPosition: Int? = null)

Parameters

regularPrice

정가
Regular price

discountPrice

할인 가격
Discount price

discountRate

할인율
Discount rate

fixedDiscountPrice

정액 할인 가격
Fixed disount price

productName

상품 이름
Product name

currencyUnit

화폐 단위
Currency unit

currencyUnitPosition

화폐 단위 표시 위치(0: 가격 뒤 | 1: 가격 앞, 기본값: 0)
Position of currency unit (0: before the price | 1: behind the price, Default: 0)