data class CommerceTemplate : DefaultTemplate, Parcelable
기본 템플릿으로 제공되는 커머스 템플릿 클래스
<init> |
기본 템플릿으로 제공되는 커머스 템플릿 클래스 CommerceTemplate(content: Content, commerce: Commerce, buttons: List<Button>? = null, buttonTitle: String? = null) |
buttons |
버튼 목록. 버튼 타이틀과 링크를 변경하고 싶을때, 버튼 두개를 사용하고 싶을때 사용. (최대 2개) val buttons: List<Button>? |
buttonTitle |
기본 버튼 타이틀(자세히 보기)을 변경하고 싶을 때 설정. 이 값을 사용하면 클릭 시 이동할 링크는 content 에 입력된 값이 사용됨. val buttonTitle: String? |
commerce |
컨텐츠에 대한 가격 정보 val commerce: Commerce |
content |
메시지의 내용. 텍스트 및 이미지, 링크 정보 포함. val content: Content |
objectType |
"commerce" 고정 값 val objectType: String |