dw.order.ShipmentShippingModelThe parameter shippingAddressObj must be a JavaScript literal with the same properties as an OrderAddress object, or alternatively a Map. For example:
model.getApplicableShippingMethods (
{ countryCode: "US",
stateCode: "MA,
custom { POBox : true }
}
)
This method is useful when it is needed to retrieve the list of
applicable shipping methods for an address before the address is saved to
the shipment.The parameter shippingAddressObj must be a JavaScript literal with the same properties as an OrderAddress object, or alternatively a Map. For example:
model.getApplicableShippingMethods (
{ countryCode: "US",
stateCode: "MA,
custom { POBox : true }
}
)
This method is useful when it is needed to retrieve the list of
applicable shipping methods for an address before the address is saved to
the shipment.