Net::Async::Webservice::UPS::Label - a label for a shipment request
version 1.0.2
This class is to be used in "ship_confirm" in Net::Async::Webservice::UPS to specify what kind of label you want in the response.
code
Required, enum of type "ImageType" in Net::Async::Webservice::UPS::Types, one of EPL, ZPL, SPL, STARPL, GIF.
EPL
ZPL
SPL
STARPL
GIF
as_hash
Returns a hashref that, when passed through XML::Simple, will produce the XML fragment needed in UPS requests to represent this label. GIF labels get a UserAgent value of Mozilla/4.5, and others get a LabelStockSize of 4" by 6": that's what I think the UPS documentation say is required.
UserAgent
Mozilla/4.5
LabelStockSize
Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>
Sherzod B. Ruzmetov <sherzodr@cpan.org>
This software is copyright (c) 2014 by 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.
To install Net::Async::Webservice::UPS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Async::Webservice::UPS
CPAN shell
perl -MCPAN -e shell install Net::Async::Webservice::UPS
For more information on module installation, please visit the detailed CPAN module installation guide.