/AWS1/CL_TXSADDRESS¶
The details of the address associated with the TRN information.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
IV_ADDRESSLINE1
TYPE /AWS1/TXSADDRESSLINE1
/AWS1/TXSADDRESSLINE1
¶
The first line of the address.
IV_CITY
TYPE /AWS1/TXSCITY
/AWS1/TXSCITY
¶
The city that the address is in.
IV_POSTALCODE
TYPE /AWS1/TXSPOSTALCODE
/AWS1/TXSPOSTALCODE
¶
The postal code associated with the address.
IV_COUNTRYCODE
TYPE /AWS1/TXSCOUNTRYCODE
/AWS1/TXSCOUNTRYCODE
¶
The country code for the country that the address is in.
Optional arguments:¶
IV_ADDRESSLINE2
TYPE /AWS1/TXSADDRESSLINE2
/AWS1/TXSADDRESSLINE2
¶
The second line of the address, if applicable.
IV_ADDRESSLINE3
TYPE /AWS1/TXSADDRESSLINE3
/AWS1/TXSADDRESSLINE3
¶
The third line of the address, if applicable. Currently, the Tax Settings API accepts the
addressLine3
parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you must enter theaddressLine3
and specify the building number for the address. For example, you might enter1234
.
IV_DISTRICTORCOUNTY
TYPE /AWS1/TXSDISTRICT
/AWS1/TXSDISTRICT
¶
The district or county the address is located.
For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil, use
districtOrCounty
for the neighborhood name.
IV_STATEORREGION
TYPE /AWS1/TXSSTATE
/AWS1/TXSSTATE
¶
The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
Queryable Attributes¶
addressLine1¶
The first line of the address.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ADDRESSLINE1() |
Getter for ADDRESSLINE1, with configurable default |
ASK_ADDRESSLINE1() |
Getter for ADDRESSLINE1 w/ exceptions if field has no value |
HAS_ADDRESSLINE1() |
Determine if ADDRESSLINE1 has a value |
addressLine2¶
The second line of the address, if applicable.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ADDRESSLINE2() |
Getter for ADDRESSLINE2, with configurable default |
ASK_ADDRESSLINE2() |
Getter for ADDRESSLINE2 w/ exceptions if field has no value |
HAS_ADDRESSLINE2() |
Determine if ADDRESSLINE2 has a value |
addressLine3¶
The third line of the address, if applicable. Currently, the Tax Settings API accepts the
addressLine3
parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you must enter theaddressLine3
and specify the building number for the address. For example, you might enter1234
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ADDRESSLINE3() |
Getter for ADDRESSLINE3, with configurable default |
ASK_ADDRESSLINE3() |
Getter for ADDRESSLINE3 w/ exceptions if field has no value |
HAS_ADDRESSLINE3() |
Determine if ADDRESSLINE3 has a value |
districtOrCounty¶
The district or county the address is located.
For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil, use
districtOrCounty
for the neighborhood name.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DISTRICTORCOUNTY() |
Getter for DISTRICTORCOUNTY, with configurable default |
ASK_DISTRICTORCOUNTY() |
Getter for DISTRICTORCOUNTY w/ exceptions if field has no va |
HAS_DISTRICTORCOUNTY() |
Determine if DISTRICTORCOUNTY has a value |
city¶
The city that the address is in.
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 |
stateOrRegion¶
The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
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 |
postalCode¶
The postal code associated with the 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 |
countryCode¶
The country code for the country that the address is in.
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 |