Why not adopt me?
NAME
Net::Async::Webservice::UPS::Types - type library for UPS
VERSION
version 1.1.4
DESCRIPTION
This Type::Library declares a few type constraints and coercions for use with Net::Async::Webservice::UPS.
TYPES
PickupType
E
num, one of DAILY_PICKUP
DAILY
CUSTOMER_COUNTER
ONE_TIME_PICKUP
ONE_TIME
ON_CALL_AIR
SUGGESTED_RETAIL
SUGGESTED_RETAIL_RATES
LETTER_CENTER
AIR_SERVICE_CENTER
CustomerClassification
E
num, one of WHOLESALE
OCCASIONAL
RETAIL
RequestMode
Enum, one of rate
shop
ServiceCode
Enum, one of 01
02
03
07
08
11
12
12
13
14
54
59
65
86
85
83
82
ServiceLabel
Enum, one of NEXT_DAY_AIR
2ND_DAY_AIR
GROUND
WORLDWIDE_EXPRESS
WORLDWIDE_EXPEDITED
STANDARD
3_DAY_SELECT
3DAY_SELECT
NEXT_DAY_AIR_SAVER
NEXT_DAY_AIR_EARLY_AM
WORLDWIDE_EXPRESS_PLUS
2ND_DAY_AIR_AM
SAVER
TODAY_EXPRESS_SAVER
TODAY_EXPRESS
TODAY_DEDICATED_COURIER
TODAY_STANDARD
PackagingType
Enum, one of LETTER
PACKAGE
TUBE
UPS_PAK
UPS_EXPRESS_BOX
UPS_25KG_BOX
UPS_10KG_BOX
CreditCardCode
Enum, one of 01
03
04
05
06
07
08
CreditCardType
Enum, one of AMEX
Discover
MasterCard
Optima
VISA
Bravo
Diners
.
MeasurementSystem
Enum, one of metric
english
.
SizeMeasurementUnit
Enum, one of IN
CM
WeightMeasurementUnit
Enum, one of LBS
KGS
Currency
String.
Measure
Non-negative number.
Tolerance
Number between 0 and 1.
Address
Instance of Net::Async::Webservice::UPS::Address, with automatic coercion from string (interpreted as a US postal code).
Contact
Instance of Net::Async::Webservice::UPS::Contact.
Shipper
Instance of Net::Async::Webservice::UPS::Shipper.
Payment
Instance of Net::Async::Webservice::UPS::Payment.
CreditCard
Instance of Net::Async::Webservice::UPS::CreditCard.
ImageType
Enum, one of EPL
, ZPL
, SPL
, STARPL
, GIF
, HTML
.
Image
Instance of Net::Async::Webservice::UPS::Response::Image, with automatic coercion from hashref (via "from_hash" in Net::Async::Webservice::UPS::Response::Image).
Label
Instance of Net::Async::Webservice::UPS::Label, with automatic coercion from string (interpreted as a label code).
Package
Instance of Net::Async::Webservice::UPS::Package.
PackageList
Array ref of packages, with automatic coercion from a single package to a singleton array.
PackageResult
Instance of Net::Async::Webservice::UPS::Response::PackageResult.
Service
Instance of Net::Async::Webservice::UPS::Service, with automatic coercion from string (interpreted as a service label).
ReturnService
Instance of Net::Async::Webservice::UPS::ReturnService, with automatic coercion from string (interpreted as a service label).
ReturnServiceCode
Enum, one of 2
3
5
8
9
ReturnServiceLabel
Enum, one of PNM
RS1
RS3
ERL
PRL
Rate
Instance of Net::Async::Webservice::UPS::Rate.
RateList
Array ref of rates, with automatic coercion from a single rate to a singleton array.
ShipmentConfirm
Instance of Net::Async::Webservice::UPS::Response::ShipmentConfirm.
Cache
Duck type, any object with a get
and a set
method.
Cacheable
Duck type, any object with a cache_id
method.
AUTHORS
Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>
Sherzod B. Ruzmetov <sherzodr@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 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.