Class ShipmentShippingCost

Represents shipping cost applied to shipments.

Returned by ShipmentShippingModel.getShippingCost(ShippingMethod).

Property Summary 

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

Constructor Summary 

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

Method Summary 

MethodDescription
getAmount()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

Property Details 

amount 

amount: Money (read-only)

Returns the shipping amount.


Method Details 

getAmount() 

getAmount(): Money

Returns the shipping amount.

Returns:

  • Shipping amount

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!