CommerceTemplate

data class CommerceTemplate @JvmOverloads constructor(content: Content, commerce: Commerce, buttons: List<Button>?, buttonTitle: String?) : DefaultTemplate, Parcelable

커머스 메시지용 기본 템플릿
Default template for commerce messages

Constructors

Link copied to clipboard
fun CommerceTemplate(content: Content, commerce: Commerce, buttons: List<Button>? = null, buttonTitle: String? = 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 buttons: List<Button>? = null

메시지 하단 버튼
Button at the bottom of the message

Link copied to clipboard
val buttonTitle: String? = null

버튼 문구
Label for the button

Link copied to clipboard
val commerce: Commerce

상품 정보
Product information

Link copied to clipboard
val content: Content

메시지 콘텐츠
Contents for the message

Link copied to clipboard
val objectType: String

메시지 템플릿 타입, "commerce"로 고정
Type of the message template, fixed as "commerce"