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
Following attributes are available in all Net::UPS::Rate instances:
- billing_weight()
- Billing weight used by UPS.com in calculating your rate. Return value is
float.
- total_charges()
- Monetary value of your total charges. Return value is float
- rated_package()
- Reference to the Net::UPS::Package instance used to provide this
rate.
- service()
- Reference to Net::UPS::Service used in providing this rate
- from()
- to()
- Reference to Net::UPS::Address objects used in providing this rate
For support and licensing information refer to Net::UPS