NAME

Net::Async::Webservice::UPS::Contact - a "contact" for UPS

VERSION

version 1.1.3

DESCRIPTION

A contact is someone you send a shipment to, or that you want to pick up a shipment from.

ATTRIBUTES

name

Optional string, the contact's name.

company_name

Optional string, the contact's company name.

attention_name

Optional string, the name of the person to the attention of whom UPS should bring the shipment.

phone_number

Optional string, the contact's phone number.

email_address

Optional string, the contact's email address.

address

Required Net::Async::Webservice::UPS::Address object, the contact's address.

METHODS

as_hash

Returns a hashref that, when passed through XML::Simple, will produce the XML fragment needed in UPS requests to represent this contact.

cache_id

Returns a string identifying this contact.

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.