public class CommerceTemplate extends Object implements TemplateParams
Modifier and Type | Class and Description |
---|---|
static class |
CommerceTemplate.Builder
Class for building commerce templates.
|
Modifier and Type | Method and Description |
---|---|
String |
getObjectType()
Template type such as FEED, LIST, etc.
|
static CommerceTemplate.Builder |
newBuilder(ContentObject contentObject,
CommerceDetailObject commerceDetail) |
org.json.JSONObject |
toJSONObject()
Any message type should be converted to JSONObject before they are validated or sent to
KakaoTalk.
|
public String getObjectType()
TemplateParams
getObjectType
in interface TemplateParams
public static CommerceTemplate.Builder newBuilder(ContentObject contentObject, CommerceDetailObject commerceDetail)
public org.json.JSONObject toJSONObject()
TemplateParams
toJSONObject
in interface TemplateParams