Script: Class dw.order.TrackingRef

Class TrackingRef

Provides basic information about the TrackingInfo a ShippingOrderItem is contained.

Properties

quantity : Quantity

Gets the quantity, the shipping order item is assigned to the tracking info.

shippingOrderItem : ShippingOrderItem Read Only

Gets the shipping order item which is assigned to the tracking info.

trackingInfo : TrackingInfo Read Only

Gets the tracking info, the shipping order item is assigned to.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getQuantity() : Quantity

Gets the quantity, the shipping order item is assigned to the tracking info.

getShippingOrderItem() : ShippingOrderItem

Gets the shipping order item which is assigned to the tracking info.

getTrackingInfo() : TrackingInfo

Gets the tracking info, the shipping order item is assigned to.

setQuantity(quantity : Quantity) : void

Sets the quantity, the shipping order item is assigned to the tracking info.

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

getQuantity

getQuantity() : Quantity

Gets the quantity, the shipping order item is assigned to the tracking info.

Returns:

the quantity the shipping order item is assigned to the tracking info.

getShippingOrderItem

getShippingOrderItem() : ShippingOrderItem

Gets the shipping order item which is assigned to the tracking info.

Returns:

the shipping order item


getTrackingInfo

getTrackingInfo() : TrackingInfo

Gets the tracking info, the shipping order item is assigned to.

Returns:

the tracking info


setQuantity

setQuantity(quantity : Quantity) : void

Sets the quantity, the shipping order item is assigned to the tracking info.

Parameters:

quantity - the quantity, the shipping order item is assigned to the tracking info.