ICTemplateAttachment
This class represents template attachment.
setTemplateType
This method sets the template type
Parameters:
Parameter | Type | Description |
---|---|---|
templateType | ICTemplateType | Type of the template |
getTemplateType
This method is used to get the template type
Return Value: Returns ICTemplateType type of template.
setTemplateId
This method sets the template Id
Parameters:
Parameter | Type | Description |
---|---|---|
templateId | String | The Id for the template |
getTemplateType
This method is used to get the template type
Return Value: Returns String the Id for the template.
toJSON
This method returns a new JSONObject instance containing template attachment data.
Return Value: Returns JSONObject representation of the template attachment data.
fromJSON
Instantiates a new ICTemplateAttachment instance from the supplied JSONObject.
Parameters:
Parameter | Type | Description |
---|---|---|
jsonObject | JSONObject | A valid JSONObject instance containing template attachment data. |
Return Value: Returns A new ICTemplateAttachment or null if jsonObject is null.
Updated about 2 years ago