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