| 1 | package Yahoo::Marketing::APT::Address; | ||
| 2 | # Copyright (c) 2010 Yahoo! Inc. All rights reserved. | ||
| 3 | # The copyrights to the contents of this file are licensed under the Perl Artistic License (ver. 15 Aug 1997) | ||
| 4 | |||
| 5 | 1 | ▶ | use strict; use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | ▶ | use base qw/Yahoo::Marketing::ComplexType/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | Yahoo::Marketing::APT::Address - a data object to represent a Address. | ||
| 12 | |||
| 13 | =cut | ||
| 14 | |||
| 15 | 1 | ▶ | sub _user_setable_attributes { |
|
Subroutine
_user_setable_attributes: called CC=1 SCAR=0.0
| |||
| 16 | 1 | return ( qw/ | |
| 17 | address1 | ||
| 18 | address2 | ||
| 19 | address3 | ||
| 20 | city | ||
| 21 | country | ||
| 22 | county | ||
| 23 | postalCode | ||
| 24 | province | ||
| 25 | state | ||
| 26 | todofuken | ||
| 27 | / ); | ||
| 28 | } | ||
| 29 | |||
| 30 | 1 | ▶ | sub _read_only_attributes { |
|
Subroutine
_read_only_attributes: called CC=1 SCAR=0.0
| |||
| 31 | 1 | return ( qw/ | |
| 32 | / ); | ||
| 33 | } | ||
| 34 | |||
| 35 | 1 | __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes, | |
| 36 | __PACKAGE__->_read_only_attributes | ||
| 37 | ); | ||
| 38 | |||
| 39 | |||
| 40 | 1 | 1; | |
| 41 | =head1 SYNOPSIS | ||
| 42 | |||
| 43 | See L<http://help.yahoo.com/l/us/yahoo/ewsapt/webservices/reference/data/> for documentation of the various data objects. | ||
| 44 | |||
| 45 | |||
| 46 | =cut | ||
| 47 | |||
| 48 | =head1 METHODS | ||
| 49 | |||
| 50 | =head2 new | ||
| 51 | |||
| 52 | Creates a new instance | ||
| 53 | |||
| 54 | =head2 get/set methods | ||
| 55 | |||
| 56 | =over 8 | ||
| 57 | |||
| 58 | address1 | ||
| 59 | address2 | ||
| 60 | address3 | ||
| 61 | city | ||
| 62 | country | ||
| 63 | county | ||
| 64 | postalCode | ||
| 65 | province | ||
| 66 | state | ||
| 67 | todofuken | ||
| 68 | |||
| 69 | =back | ||
| 70 | |||
| 71 | =head2 get (read only) methods | ||
| 72 | |||
| 73 | =over 8 | ||
| 74 | |||
| 75 | |||
| 76 | =back | ||
| 77 | |||
| 78 | =cut | ||
| 79 | |||