new OrderRequest() → {Object}
This class represents an order request.
Returns:
API's to set Order Line parameters.
- Type
- Object
Methods
-
<static> addOrderLine(OrderLine)
-
Add an order line to an order request.
Parameters:
Name Type Description OrderLine
OrderLine object Order line to add.
-
<static> getOrderLines(Array)
-
Get the array of order lines to order.
Parameters:
Name Type Description Array
Array OrderLine objects Array of order line.
-
<static> getReferenceID(reference)
-
Get the reference ID to associate with this request.
Parameters:
Name Type Description reference
String ID Reference ID to associate with this request.
-
<static> setReferenceID(reference)
-
Set the reference ID to associate with this request.
Parameters:
Name Type Description reference
String ID Reference ID to associate with this request.