Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview


This structure represents the fields associated with a physical address.

Format


Panel
titlePwsAddress
  • PwsAddress
    • AddressLine1: String (50)
    • AddressLine2: String (50)
    • Attention: String (50)
    • City: String (50)
    • CompanyName: String (50)
    • Country: String (20)
    • StateOrProvince: String (20)
    • ZipOrPostalCode: String (20)

Elements


Element

Data Type

Required?

Description

Sample Data

AddressLine1

String (50)

No

Address Line 1123 Main

The primary address information (i.e. Street Address).

100 Main Street

AddressLine2

String

Address Line 2Suite 200

(50)

No


The secondary address information (i.e. Apartment Number or Floor).


Attention

String

Addressee Name or Department, etc..Mr. Smith

(50)

No


Text field denoting the intended recipient within an organization.

Finance

City

String

City

(50)

No


The city name.

Boston

CompanyName

String

Company NameRevcorp-WS

(50)

No


The company name. 

Acme 1000

Country

String

Country

(20)

No


The country name. 

USA

StateOrProvince

String

State or Province

(20)

No


The state or province name. 

MA

ZipOrPostalCode

String

Zip or Postal CodeZip or Postal Code

(20)

No


The zip or postal code. 

02114


Usage Example(s)


Code Block
languagexml
titlePwsAddressExample 01
collapsetrue
                      <Address><b:Address>
                        <AddressLine1>123<b:AddressLine1>100 Main Street</b:AddressLine1>
                        <AddressLine2>Suite 300</AddressLine2><b:AddressLine2 i:nil="true"/>
                        <Attention>Mr. Smith</<b:Attention>Finance</b:Attention>
                        <City>Boston<<b:City>Boston</b:City>
                        <CompanyName>Projector<b:CompanyName>Acme PSA<1000</b:CompanyName>
                        <Country>USA<<b:Country>USA</b:Country>
                        <StateOrProvince>MA<<b:StateOrProvince>MA</b:StateOrProvince>
                        <ZipOrPostalCode>02114<<b:ZipOrPostalCode>02114</b:ZipOrPostalCode>
                     </b:Address>