Class: module:models/ProductListShippingAddress

module:models/ProductListShippingAddress(addressId)

new module:models/ProductListShippingAddress(addressId)

Constructs a new ProductListShippingAddress. Document representing a product list shipping address.

Parameters:
Name Type Description
addressId String

The id of this address.

Source:

Members

(inner) address_id :String

The id of this address.

Type:
  • String
Source:

(inner) city :String

The city of this address.

Type:
  • String
Source:

(inner) first_name :String

The first name of this address.

Type:
  • String
Source:

(inner) last_name :String

The last name of this address.

Type:
  • String
Source:

Methods

(static) constructFromObject(data, obj) → {module:models/ProductListShippingAddress}

Constructs a ProductListShippingAddress from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:models/ProductListShippingAddress

Optional instance to populate.

Source:
Returns:

The populated ProductListShippingAddress instance.

Type
module:models/ProductListShippingAddress