Net::UPS::Rate - Class representing a UPS Rate
$rate = $ups->rate($from, $to, $package); printf("Rate: \$.2f\n", $rate->total_charges);
Net::UPS::Rate is a class representing a Rate object, as returned from rate()|Net::UPS/"rate" and shop_for_rates()|Net::UPS/"shop_for_rates" methods
rate()|Net::UPS/"rate"
shop_for_rates()|Net::UPS/"shop_for_rates"
Following attributes are available in all Net::UPS::Rate instances:
Billing weight used by UPS.com in calculating your rate. Return value is float.
Monetary value of your total charges. Return value is float
Reference to the Net::UPS::Package instance used to provide this rate.
Reference to Net::UPS::Service used in providing this rate
Reference to Net::UPS::Address objects used in providing this rate
For support and licensing information refer to Net::UPS
To install Net::UPS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::UPS
CPAN shell
perl -MCPAN -e shell install Net::UPS
For more information on module installation, please visit the detailed CPAN module installation guide.