Class: OrderShipmentUpdate

Model~OrderShipmentUpdate(data) → {void}

OrderShipmentUpdate data model.

Constructor

new OrderShipmentUpdate(data) → {void}

OrderShipmentUpdate Constructor.

OrderShipmentUpdate Constructor.

Parameters:
Name Type Description
data Object
Source:
Returns:
Type
void

Methods

getCost() → {number}

Get cost.

Get cost.

Source:
Returns:
Type
number

getMarkShipped() → {boolean}

Get mark_shipped.

Get mark_shipped.

Source:
Returns:
Type
boolean

getShipmentId() → {number}

Get shpmnt_id.

Get shpmnt_id.

Source:
Returns:
Type
number

getTrackingNumber() → {string}

Get tracknum.

Get tracknum.

Source:
Returns:
Type
string

getTrackingType() → {string}

Get tracktype.

Get tracktype.

Source:
Returns:
Type
string

setCost(cost) → {OrderShipmentUpdate}

Set cost.

Set cost.

Parameters:
Name Type Description
cost number
Source:
Returns:
Type
OrderShipmentUpdate

setMarkShipped(markShipped) → {OrderShipmentUpdate}

Set mark_shipped.

Set mark_shipped.

Parameters:
Name Type Description
markShipped boolean
Source:
Returns:
Type
OrderShipmentUpdate

setShipmentId(shipmentId) → {OrderShipmentUpdate}

Set shpmnt_id.

Set shpmnt_id.

Parameters:
Name Type Description
shipmentId number
Source:
Returns:
Type
OrderShipmentUpdate

setTrackingNumber(trackingNumber) → {OrderShipmentUpdate}

Set tracknum.

Set tracknum.

Parameters:
Name Type Description
trackingNumber string
Source:
Returns:
Type
OrderShipmentUpdate

setTrackingType(trackingType) → {OrderShipmentUpdate}

Set tracktype.

Set tracktype.

Parameters:
Name Type Description
trackingType string
Source:
Returns:
Type
OrderShipmentUpdate