Skip to content

/AWS1/CL_PTSLEADADDRESS

The address information for a lead customer, including city, state or region, postal code, and country code.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_city TYPE /AWS1/PTSSTRING /AWS1/PTSSTRING

The city of the lead customer's address.

iv_postalcode TYPE /AWS1/PTSSTRING /AWS1/PTSSTRING

The postal code of the lead customer's address.

iv_stateorregion TYPE /AWS1/PTSSTRING /AWS1/PTSSTRING

The state or region of the lead customer's address.

iv_countrycode TYPE /AWS1/PTSLEADCOUNTRYCODE /AWS1/PTSLEADCOUNTRYCODE

The country code of the lead customer's address.


Queryable Attributes

City

The city of the lead customer's address.

Accessible with the following methods

Method Description
GET_CITY() Getter for CITY, with configurable default
ASK_CITY() Getter for CITY w/ exceptions if field has no value
HAS_CITY() Determine if CITY has a value

PostalCode

The postal code of the lead customer's address.

Accessible with the following methods

Method Description
GET_POSTALCODE() Getter for POSTALCODE, with configurable default
ASK_POSTALCODE() Getter for POSTALCODE w/ exceptions if field has no value
HAS_POSTALCODE() Determine if POSTALCODE has a value

StateOrRegion

The state or region of the lead customer's address.

Accessible with the following methods

Method Description
GET_STATEORREGION() Getter for STATEORREGION, with configurable default
ASK_STATEORREGION() Getter for STATEORREGION w/ exceptions if field has no value
HAS_STATEORREGION() Determine if STATEORREGION has a value

CountryCode

The country code of the lead customer's address.

Accessible with the following methods

Method Description
GET_COUNTRYCODE() Getter for COUNTRYCODE, with configurable default
ASK_COUNTRYCODE() Getter for COUNTRYCODE w/ exceptions if field has no value
HAS_COUNTRYCODE() Determine if COUNTRYCODE has a value