Class ShipmentShippingCost

Represents shipping cost applied to shipments.

Returned by ShipmentShippingModel.getShippingCost(ShippingMethod).

PropertyDescription
amount: Money (read-only)Returns the shipping amount.

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

MethodDescription
getAmount()Returns the shipping amount.

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

amount: Money (read-only)

Returns the shipping amount.


getAmount(): Money

Returns the shipping amount.

Returns:

  • Shipping amount