Rate Response#

The Rate Response model represents the response from a shipment-creation request.


Properties are protected and can be accessed with their getPropertyName() getter method or set via setPropertyName(value) setter method.

contentstringThe body content of the response. Typically a JSON string, but this depends entirely on the carriers API.
responsemixedThe raw response from the carrier API.
statusCode?intThe HTTP status code for the response.
errorMessagestringThe error message for the response, if applicable.
ratesarrayA collection of Rate models.