| 1 | package Yahoo::Marketing::APT::Account; | ||
| 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::Account - a data object to represent a Account. | ||
| 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 | ID | ||
| 18 | accountTypes | ||
| 19 | address | ||
| 20 | agencyName | ||
| 21 | category | ||
| 22 | companyID | ||
| 23 | companyName | ||
| 24 | companyNameFurigana | ||
| 25 | defaultCurrency | ||
| 26 | externalAccountID | ||
| 27 | language | ||
| 28 | location | ||
| 29 | managedAccount | ||
| 30 | managedAgencyBillingEnabled | ||
| 31 | managingAccountID | ||
| 32 | status | ||
| 33 | timezone | ||
| 34 | yahooOwnedAndOperatedFlag | ||
| 35 | / ); | ||
| 36 | } | ||
| 37 | |||
| 38 | 1 | ▶ | sub _read_only_attributes { |
|
Subroutine
_read_only_attributes: called CC=1 SCAR=0.0
| |||
| 39 | 1 | return ( qw/ | |
| 40 | / ); | ||
| 41 | } | ||
| 42 | |||
| 43 | 1 | __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes, | |
| 44 | __PACKAGE__->_read_only_attributes | ||
| 45 | ); | ||
| 46 | |||
| 47 | |||
| 48 | 1 | 1; | |
| 49 | =head1 SYNOPSIS | ||
| 50 | |||
| 51 | See L<http://help.yahoo.com/l/us/yahoo/ewsapt/webservices/reference/data/> for documentation of the various data objects. | ||
| 52 | |||
| 53 | |||
| 54 | =cut | ||
| 55 | |||
| 56 | =head1 METHODS | ||
| 57 | |||
| 58 | =head2 new | ||
| 59 | |||
| 60 | Creates a new instance | ||
| 61 | |||
| 62 | =head2 get/set methods | ||
| 63 | |||
| 64 | =over 8 | ||
| 65 | |||
| 66 | ID | ||
| 67 | accountTypes | ||
| 68 | address | ||
| 69 | agencyName | ||
| 70 | category | ||
| 71 | companyID | ||
| 72 | companyName | ||
| 73 | companyNameFurigana | ||
| 74 | defaultCurrency | ||
| 75 | externalAccountID | ||
| 76 | language | ||
| 77 | location | ||
| 78 | managedAccount | ||
| 79 | managedAgencyBillingEnabled | ||
| 80 | managingAccountID | ||
| 81 | status | ||
| 82 | timezone | ||
| 83 | yahooOwnedAndOperatedFlag | ||
| 84 | |||
| 85 | =back | ||
| 86 | |||
| 87 | =head2 get (read only) methods | ||
| 88 | |||
| 89 | =over 8 | ||
| 90 | |||
| 91 | |||
| 92 | =back | ||
| 93 | |||
| 94 | =cut | ||
| 95 | |||