Returns the active applicable shipping methods for the shipment related
to this shipping model and the specified shipping address. A shipping
method is applicable if it does not exclude any of the products in the
shipment, it does not exclude the specified shipping address, and the
shipment customer belongs to an assigned customer group for the shipment (if
any are assigned).
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.