Commerce

data class Commerce @JvmOverloads constructor(val regularPrice: Int, val discountPrice: Int? = null, val fixedDiscountPrice: Int? = null, val discountRate: Int? = null, val productName: String? = null, val currencyUnit: String? = null, val currencyUnitPosition: Int? = null) : Parcelable

상품 정보
Product information

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)

Constructors

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

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val currencyUnit: String? = null
Link copied to clipboard
Link copied to clipboard
val discountPrice: Int? = null
Link copied to clipboard
val discountRate: Int? = null
Link copied to clipboard
val fixedDiscountPrice: Int? = null
Link copied to clipboard
val productName: String? = null
Link copied to clipboard