Simple mutable data holder for a shipping address, implementing the ShippingAddress contract. Instances are built up field by field with the setters and then read back through the ShippingAddress getters, for example when binding a posted address form or assembling an address for display.

Implements: ShippingAddress


Properties

PropertyReturnsDescription
addressIDStringIdentifier used when a user selects this address from a list of saved addresses. Not necessarily a database primary key.
addressLine1StringFirst line of the street address, for example the street number and name.
addressLine2StringSecond line of the street address, for example a unit or suite number.
postcodeStringPostal or zip code for the address.
stateStringState or province of the address.

Methods

getAddressID()

Returns: String

Identifier used when a user selects this address from a list of saved addresses. Not necessarily a database primary key.

getAddressLine1()

Returns: String

First line of the street address, for example the street number and name.

getAddressLine2()

Returns: String

Second line of the street address, for example a unit or suite number.

getPostcode()

Returns: String

Postal or zip code for the address.

getState()

Returns: String

State or province of the address.

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