Skip to content

/AWS1/CL_CHVADDRESS

A validated address.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_streetname TYPE /AWS1/CHVSENSITIVENONEMPTYSTR /AWS1/CHVSENSITIVENONEMPTYSTR

The address street, such as 8th Avenue.

iv_streetsuffix TYPE /AWS1/CHVSENSITIVENONEMPTYSTR /AWS1/CHVSENSITIVENONEMPTYSTR

The address suffix, such as the N in 8th Avenue N.

iv_postdirectional TYPE /AWS1/CHVSENSITIVENONEMPTYSTR /AWS1/CHVSENSITIVENONEMPTYSTR

An address suffix location, such as the S. Unit A in Central Park S. Unit A.

iv_predirectional TYPE /AWS1/CHVSENSITIVENONEMPTYSTR /AWS1/CHVSENSITIVENONEMPTYSTR

An address prefix location, such as the N in N. Third St.

iv_streetnumber TYPE /AWS1/CHVSENSITIVENONEMPTYSTR /AWS1/CHVSENSITIVENONEMPTYSTR

The numeric portion of an address.

iv_city TYPE /AWS1/CHVSENSITIVENONEMPTYSTR /AWS1/CHVSENSITIVENONEMPTYSTR

The city of an address.

iv_state TYPE /AWS1/CHVSENSITIVENONEMPTYSTR /AWS1/CHVSENSITIVENONEMPTYSTR

The state of an address.

iv_postalcode TYPE /AWS1/CHVSENSITIVENONEMPTYSTR /AWS1/CHVSENSITIVENONEMPTYSTR

The postal code of an address.

iv_postalcodeplus4 TYPE /AWS1/CHVSENSITIVENONEMPTYSTR /AWS1/CHVSENSITIVENONEMPTYSTR

The zip + 4 or postal code + 4 of an address.

iv_country TYPE /AWS1/CHVSENSITIVENONEMPTYSTR /AWS1/CHVSENSITIVENONEMPTYSTR

The country of an address.


Queryable Attributes

streetName

The address street, such as 8th Avenue.

Accessible with the following methods

Method Description
GET_STREETNAME() Getter for STREETNAME, with configurable default
ASK_STREETNAME() Getter for STREETNAME w/ exceptions if field has no value
HAS_STREETNAME() Determine if STREETNAME has a value

streetSuffix

The address suffix, such as the N in 8th Avenue N.

Accessible with the following methods

Method Description
GET_STREETSUFFIX() Getter for STREETSUFFIX, with configurable default
ASK_STREETSUFFIX() Getter for STREETSUFFIX w/ exceptions if field has no value
HAS_STREETSUFFIX() Determine if STREETSUFFIX has a value

postDirectional

An address suffix location, such as the S. Unit A in Central Park S. Unit A.

Accessible with the following methods

Method Description
GET_POSTDIRECTIONAL() Getter for POSTDIRECTIONAL, with configurable default
ASK_POSTDIRECTIONAL() Getter for POSTDIRECTIONAL w/ exceptions if field has no val
HAS_POSTDIRECTIONAL() Determine if POSTDIRECTIONAL has a value

preDirectional

An address prefix location, such as the N in N. Third St.

Accessible with the following methods

Method Description
GET_PREDIRECTIONAL() Getter for PREDIRECTIONAL, with configurable default
ASK_PREDIRECTIONAL() Getter for PREDIRECTIONAL w/ exceptions if field has no valu
HAS_PREDIRECTIONAL() Determine if PREDIRECTIONAL has a value

streetNumber

The numeric portion of an address.

Accessible with the following methods

Method Description
GET_STREETNUMBER() Getter for STREETNUMBER, with configurable default
ASK_STREETNUMBER() Getter for STREETNUMBER w/ exceptions if field has no value
HAS_STREETNUMBER() Determine if STREETNUMBER has a value

city

The city of an 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

state

The state of an address.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

postalCode

The postal code of an 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

postalCodePlus4

The zip + 4 or postal code + 4 of an address.

Accessible with the following methods

Method Description
GET_POSTALCODEPLUS4() Getter for POSTALCODEPLUS4, with configurable default
ASK_POSTALCODEPLUS4() Getter for POSTALCODEPLUS4 w/ exceptions if field has no val
HAS_POSTALCODEPLUS4() Determine if POSTALCODEPLUS4 has a value

country

The country of an address.

Accessible with the following methods

Method Description
GET_COUNTRY() Getter for COUNTRY, with configurable default
ASK_COUNTRY() Getter for COUNTRY w/ exceptions if field has no value
HAS_COUNTRY() Determine if COUNTRY has a value