A postal address captured for an invoice, quote or purchase order, such as a billing or delivery address. Typically built from the address fields of a shopping cart (see InvoicingService.generatePaymentAddress) and attached to a PaymentListBean as its billing or delivery address.


Properties

PropertyReturnsDescription
addressLine1StringThe first line of the street address.
addressLine2StringThe second line of the street address, such as a unit or suite number.
addressStateStringThe state or province of the address.
addressTypePaymentAddressTypeThe kind of address this is, such as a PO box, street or delivery address.
attentionToStringThe name of the person the delivery or correspondence should be directed to.
cityStringThe city or suburb of the address.
companyStringThe company name associated with the address.
countryStringThe country of the address.
notesStringFree-text notes attached to the address, such as delivery instructions.
phoneStringA contact phone number for the address.
postcodeStringThe postal or zip code of the address.

Methods

getAddressType() · getAddressLine1() · getAddressLine2() · getCity() · getAddressState() · getCountry() · getPostcode() · getAttentionTo() · getNotes() · getPhone() · getCompany()

getAddressType()

Returns: PaymentAddressType

The kind of address this is, such as a PO box, street or delivery address.

getAddressLine1()

Returns: String

The first line of the street address.

getAddressLine2()

Returns: String

The second line of the street address, such as a unit or suite number.

getCity()

Returns: String

The city or suburb of the address.

getAddressState()

Returns: String

The state or province of the address.

getCountry()

Returns: String

The country of the address.

getPostcode()

Returns: String

The postal or zip code of the address.

getAttentionTo()

Returns: String

The name of the person the delivery or correspondence should be directed to.

getNotes()

Returns: String

Free-text notes attached to the address, such as delivery instructions.

getPhone()

Returns: String

A contact phone number for the address.

getCompany()

Returns: String

The company name associated with the address.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.