NAME
WebService::Shippo::Rate - Rate class.
VERSION
version 0.0.14
DESCRIPTION
Each valid Shipment object will automatically trigger the calculation of all available rates. Depending on the state of the shipment's address and parcel elements, there may be none, one or multiple rates.
By default, the calculated rates will returned in two currencies:
The
amount
attribute will contain the rate expressed in the currency that is used in the country from which the parcel originates.The
amount_local
attribute will contain the rate expressed in the currency that is used in the country to which the parcel is being shipped.
You can request rates expressed in a different currency. The full list of supported currencies, along with their codes, can be viewed on open exchange rates.
Re-requesting the rates with a different currency code will re-queue the shipment, setting the Shipment object's object_status
attribute to QUEUED; the converted currency rates will only be available once that attribute has been set to SUCCESS.
Rates are created asynchronously. The response time depends exclusively on the carrier's server.
API DOCUMENTATION
For more information about Rates, consult the Shippo API documentation:
REPOSITORY
AUTHOR
Iain Campbell <cpanic@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Iain Campbell.
You may distribute this software under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.