/AWS1/CL_PPMTEMPLATESUMMARY¶
Provides a summary of a WhatsApp message template's key attributes.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_templatename TYPE /AWS1/PPMMETATEMPLATENAME /AWS1/PPMMETATEMPLATENAME¶
The name of the template.
iv_metatemplateid TYPE /AWS1/PPMMETATEMPLATEID /AWS1/PPMMETATEMPLATEID¶
The numeric ID assigned to the template by Meta.
iv_templatestatus TYPE /AWS1/PPMMETATEMPLATESTATUS /AWS1/PPMMETATEMPLATESTATUS¶
The current status of the template (for example, APPROVED, PENDING, or REJECTED).
iv_templatequalityscore TYPE /AWS1/PPMMETATMPLQUALITYSCORE /AWS1/PPMMETATMPLQUALITYSCORE¶
The quality score assigned to the template by Meta.
iv_templatelanguage TYPE /AWS1/PPMMETATEMPLATELANGUAGE /AWS1/PPMMETATEMPLATELANGUAGE¶
The language code of the template (for example, en_US).
iv_templatecategory TYPE /AWS1/PPMMETATEMPLATECATEGORY /AWS1/PPMMETATEMPLATECATEGORY¶
The category of the template (for example, UTILITY or MARKETING).
iv_templatesource TYPE /AWS1/PPMMETATEMPLATESOURCE /AWS1/PPMMETATEMPLATESOURCE¶
The source of the template. A value of AUTO_GENERATED indicates that the template was created automatically from a message that you sent. This field is not present for templates that you created manually.
iv_correctcategory TYPE /AWS1/PPMMETATEMPLATECATEGORY /AWS1/PPMMETATEMPLATECATEGORY¶
The category that the template content actually belongs to, when it differs from the template's current category. This field is present only when the template has been flagged as miscategorized.
Queryable Attributes¶
templateName¶
The name of the template.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEMPLATENAME() |
Getter for TEMPLATENAME, with configurable default |
ASK_TEMPLATENAME() |
Getter for TEMPLATENAME w/ exceptions if field has no value |
HAS_TEMPLATENAME() |
Determine if TEMPLATENAME has a value |
metaTemplateId¶
The numeric ID assigned to the template by Meta.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METATEMPLATEID() |
Getter for METATEMPLATEID, with configurable default |
ASK_METATEMPLATEID() |
Getter for METATEMPLATEID w/ exceptions if field has no valu |
HAS_METATEMPLATEID() |
Determine if METATEMPLATEID has a value |
templateStatus¶
The current status of the template (for example, APPROVED, PENDING, or REJECTED).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEMPLATESTATUS() |
Getter for TEMPLATESTATUS, with configurable default |
ASK_TEMPLATESTATUS() |
Getter for TEMPLATESTATUS w/ exceptions if field has no valu |
HAS_TEMPLATESTATUS() |
Determine if TEMPLATESTATUS has a value |
templateQualityScore¶
The quality score assigned to the template by Meta.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEMPLATEQUALITYSCORE() |
Getter for TEMPLATEQUALITYSCORE, with configurable default |
ASK_TEMPLATEQUALITYSCORE() |
Getter for TEMPLATEQUALITYSCORE w/ exceptions if field has n |
HAS_TEMPLATEQUALITYSCORE() |
Determine if TEMPLATEQUALITYSCORE has a value |
templateLanguage¶
The language code of the template (for example, en_US).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEMPLATELANGUAGE() |
Getter for TEMPLATELANGUAGE, with configurable default |
ASK_TEMPLATELANGUAGE() |
Getter for TEMPLATELANGUAGE w/ exceptions if field has no va |
HAS_TEMPLATELANGUAGE() |
Determine if TEMPLATELANGUAGE has a value |
templateCategory¶
The category of the template (for example, UTILITY or MARKETING).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEMPLATECATEGORY() |
Getter for TEMPLATECATEGORY, with configurable default |
ASK_TEMPLATECATEGORY() |
Getter for TEMPLATECATEGORY w/ exceptions if field has no va |
HAS_TEMPLATECATEGORY() |
Determine if TEMPLATECATEGORY has a value |
templateSource¶
The source of the template. A value of AUTO_GENERATED indicates that the template was created automatically from a message that you sent. This field is not present for templates that you created manually.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEMPLATESOURCE() |
Getter for TEMPLATESOURCE, with configurable default |
ASK_TEMPLATESOURCE() |
Getter for TEMPLATESOURCE w/ exceptions if field has no valu |
HAS_TEMPLATESOURCE() |
Determine if TEMPLATESOURCE has a value |
correctCategory¶
The category that the template content actually belongs to, when it differs from the template's current category. This field is present only when the template has been flagged as miscategorized.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CORRECTCATEGORY() |
Getter for CORRECTCATEGORY, with configurable default |
ASK_CORRECTCATEGORY() |
Getter for CORRECTCATEGORY w/ exceptions if field has no val |
HAS_CORRECTCATEGORY() |
Determine if CORRECTCATEGORY has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_TEMPLATESUMMARYLIST¶
TYPES TT_TEMPLATESUMMARYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_PPMTEMPLATESUMMARY WITH DEFAULT KEY
.