dw.order
Class ProductShippingCost
![](https://sfcclearning.com/infocenter/DWAPI/scriptapi/html/api/images/inherit.gif.pagespeed.ce.4vPrGmNumQ.gif)
Instances of ProductShippingCost represent product specific shipping costs.
Use ProductShippingModel.getShippingCost(ShippingMethod) to get the shipping cost for a specific product.
Use ProductShippingModel.getShippingCost(ShippingMethod) to get the shipping cost for a specific product.
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
isFixedPrice()
:
boolean
Returns true if shipping cost is a fixed-price shipping cost, and false if surcharge shipping cost.
isSurcharge()
:
boolean
Returns true if shipping cost is a surcharge to the shipment shipping cost, and false if fixed-price shipping cost.
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