Class: OrderLine

OrderLine

new OrderLine() → {Object}

This class represents one order line in an order request.

Returns:

API's to set Order Line parameters.

Type
Object

Methods

<static> getBrandID() → {String}

Get the brand ID of the product on order line.

Returns:

Brand ID of product on order line.

Type
String

<static> getProductID() → {String}

Get the requested product ID.

Returns:

Product ID of order line.

Type
String

<static> getQuantity() → {String}

Get the desired quantity of the product on order line.

Returns:

The quantity to order.

Type
String

<static> setBrandID(brand)

Set the brand ID of the product on order line.

Parameters:
Name Type Description
brand String

Brand ID of product on order line.

<static> setProductID(product)

Set the requested product ID.

Parameters:
Name Type Description
product String

id Product ID of order line.

<static> setQuantity(qty)

Set the desired quantity of the product on order line.

Parameters:
Name Type Description
qty String

The quantity to order.

The specifications, terminology, content and general parlance contained herein are proprietary to WORLDPAC and its affiliates, and are copyrighted. Trademarks include, but are not limited to, the words DIAL, WCAP, and WORLDPAC DIAL.
WORLDPAC Copyright © 2014