The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 1.2.2

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 <dakkar@thenautilus.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 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.