NAME

Business::Shipping::Tracking

SYNOPSIS

Example tracking request for USPS:

use Business::Shipping::USPS_Online::Tracking;

my $tracker = Business::Shipping::USPS_Online::Tracking->new();

$tracker->init( test_mode => 1, );

$tracker->tracking_ids('EJ958083578US', 'EJ958083578US');

$tracker->submit() || logdie $tracker->user_error(); my $hash = $tracker->results();

use Data::Dumper; print Data::Dumper->Dump([$hash]);

ABSTRACT

Business::Tracking is an API for tracking shipments

SEE ALSO

Business::Shipping::UPS_Online::Tracking Business::Shipping::USPS_Online::Tracking

tracking_ids

The Class::MethodMaker-based system accepted any number of inputs to assigned it to the internal arrayref. As part of moving to Any::Moose, this is changed to using a real arrayref at _tracking_ids, and providing this tracking_ids() as syntactic sugar.

results_exists

Backwards-compat for Class::MethodMaker 1.12-style _exists() method.

AUTHOR

Rusty Conover <rconover@infogears.com>

COPYRIGHT AND LICENCE

Copyright 2004-2007 Infogears Inc. Portions Copyright 2003-2011 Daniel Browning <db@kavod.com>. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. See LICENSE for more info.