Why not adopt me?
NAME
Net::Async::Webservice::UPS::Payment - a payment method for UPS shipments
VERSION
version 1.1.2
ATTRIBUTES
method
Enum, one of prepaid
third_party
freight_collect
. Defaults to prepaid
.
account_number
A UPS account number to bill, required for third_party
and freight_collect
payment methods. For prepaid
, either this or "credit_card" must be set.
credit_card
A credit card (instance of Net::Async::Webservice::UPS::CreditCard) to bill. For prepaid
, either this or "account_number" must be set.
address
An address (instance of Net::Async::Webservice::UPS::Address), required for third_party
and freight_collect
payment methods.
METHODS
as_hash
Returns a hashref that, when passed through XML::Simple, will produce the XML fragment needed in UPS requests to represent this payment method.
AUTHORS
Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>
Sherzod B. Ruzmetov <sherzodr@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 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.