NAME

Net::Async::Webservice::DHL::Address - an address for DHL

VERSION

version 1.2.0

ATTRIBUTES

line1

line2

line3

Address lines, all optional strings.

city

String with the name of the city, optional.

division

Code of the division (e.g. state, prefecture, etc.), optional string.

postal_code

String with the post code of the address, optional.

country_code

String with the 2 letter country code, required.

country_name

String with the full country name, required only for some uses.

METHODS

as_hash

Returns a hashref that, when passed through XML::Compile, will produce the XML fragment needed in DHL requests to represent this address.

AUTHOR

Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Net-a-porter.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.