Skip to content

/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).


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

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
.