NAME

Net::Async::Webservice::UPS::Rate - shipment rate from UPS

VERSION

version 1.0.5

DESCRIPTION

Objects of this class are usually only seen inside Net::Async::Webservice::UPS::Response::Rate, as returned by "request_rate" in Net::Async::Webservice::UPS.

ATTRIBUTES

unit

Either KGS or LBS, unit for the "billing_weight".

billing_weight

The weight that was used to generate the price, not necessarily the actual weight of the shipment or package.

total_charges_currency

Currency code for the "total_charges".

total_charges

Total rated cost of the shipment.

rated_package

The package that was used to provide this rate.

service

Weak reference to the Net::Async::Webservice::UPS::Service this rate is for. It's weak because the service holds references to rates, and we really don't want cycles.

from

Sender address for this shipment.

to

Recipient address for this shipment.

AUTHORS

  • Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>

  • Sherzod B. Ruzmetov <sherzodr@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.