/AWS1/CL_PPMLIBRARYTMPLBUTTO00¶
Configuration options for customizing buttons in a template from Meta's library.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_type
TYPE /AWS1/PPMBUTTONTYPE
/AWS1/PPMBUTTONTYPE
¶
The type of button (for example, QUICK_REPLY, CALL, or URL).
iv_phonenumber
TYPE /AWS1/PPMPHONENUMBER
/AWS1/PPMPHONENUMBER
¶
The phone number in E.164 format for CALL-type buttons.
it_url
TYPE /AWS1/CL_PPMMETAURLWSUFFIXEX00=>TT_METAURLWITHSUFFIXEXAMPLE
TT_METAURLWITHSUFFIXEXAMPLE
¶
The URL with dynamic parameters for URL-type buttons.
iv_otptype
TYPE /AWS1/PPMOTPTYPE
/AWS1/PPMOTPTYPE
¶
The type of one-time password for OTP buttons.
iv_zerotaptermsaccepted
TYPE /AWS1/PPMZEROTAPTERMSACCEPTED
/AWS1/PPMZEROTAPTERMSACCEPTED
¶
When true, indicates acceptance of zero-tap terms for the button.
it_supportedapps
TYPE /AWS1/CL_PPMSUPPORTEDAPP_W=>TT_SUPPORTEDAPPS
TT_SUPPORTEDAPPS
¶
List of supported applications for this button type.
Queryable Attributes¶
type¶
The type of button (for example, QUICK_REPLY, CALL, or URL).
Accessible with the following methods¶
Method | Description |
---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE has a value |
phoneNumber¶
The phone number in E.164 format for CALL-type buttons.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PHONENUMBER() |
Getter for PHONENUMBER, with configurable default |
ASK_PHONENUMBER() |
Getter for PHONENUMBER w/ exceptions if field has no value |
HAS_PHONENUMBER() |
Determine if PHONENUMBER has a value |
url¶
The URL with dynamic parameters for URL-type buttons.
Accessible with the following methods¶
Method | Description |
---|---|
GET_URL() |
Getter for URL, with configurable default |
ASK_URL() |
Getter for URL w/ exceptions if field has no value |
HAS_URL() |
Determine if URL has a value |
otpType¶
The type of one-time password for OTP buttons.
Accessible with the following methods¶
Method | Description |
---|---|
GET_OTPTYPE() |
Getter for OTPTYPE, with configurable default |
ASK_OTPTYPE() |
Getter for OTPTYPE w/ exceptions if field has no value |
HAS_OTPTYPE() |
Determine if OTPTYPE has a value |
zeroTapTermsAccepted¶
When true, indicates acceptance of zero-tap terms for the button.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ZEROTAPTERMSACCEPTED() |
Getter for ZEROTAPTERMSACCEPTED, with configurable default |
ASK_ZEROTAPTERMSACCEPTED() |
Getter for ZEROTAPTERMSACCEPTED w/ exceptions if field has n |
HAS_ZEROTAPTERMSACCEPTED() |
Determine if ZEROTAPTERMSACCEPTED has a value |
supportedApps¶
List of supported applications for this button type.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SUPPORTEDAPPS() |
Getter for SUPPORTEDAPPS, with configurable default |
ASK_SUPPORTEDAPPS() |
Getter for SUPPORTEDAPPS w/ exceptions if field has no value |
HAS_SUPPORTEDAPPS() |
Determine if SUPPORTEDAPPS 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_METALIBRARYTMPLBUTTONINPUTS
¶
TYPES TT_METALIBRARYTMPLBUTTONINPUTS TYPE STANDARD TABLE OF REF TO /AWS1/CL_PPMLIBRARYTMPLBUTTO00 WITH DEFAULT KEY
.