Class: module:models/BasketReference

module:models/BasketReference(basketId, customerId)

new module:models/BasketReference(basketId, customerId)

Constructs a new BasketReference. Reference to a basket.

Parameters:
Name Type Description
basketId String

The unique identifier for the basket.

customerId String

The unique identifier for the customer.

Source:

Members

(inner) basket_id :String

The unique identifier for the basket.

Type:
  • String
Source:

(inner) customer_id :String

The unique identifier for the customer.

Type:
  • String
Source:

Methods

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

Constructs a BasketReference 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/BasketReference

Optional instance to populate.

Source:
Returns:

The populated BasketReference instance.

Type
module:models/BasketReference