Script: Class dw.order.ShipmentShippingCost

Class ShipmentShippingCost

  • Object
    • dw.order.ShipmentShippingCost

Represents shipping cost applied to shipments.
Returned by ShipmentShippingModel.getShippingCost(ShippingMethod).

Properties

amount : Money Read Only

The shipping amount.

Constructor Summary

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

Method Summary

getAmount() : Money

Returns the shipping amount.

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

getAmount

getAmount() : Money

Returns the shipping amount.

Returns:

Shipping amount