| 1 | package Yahoo::Marketing::Account; | ||
| 2 | # Copyright (c) 2009 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 | 2 | ▶ | use strict; use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 2 | ▶ | use base qw/Yahoo::Marketing::ComplexType/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | Yahoo::Marketing::Account - an object to represent a Yahoo Marketing Account. | ||
| 12 | |||
| 13 | =cut | ||
| 14 | |||
| 15 | 2 | ▶ | sub _user_setable_attributes { |
|
Subroutine
_user_setable_attributes: called CC=1 SCAR=0.0
| |||
| 16 | 2 | return ( qw/ | |
| 17 | ID | ||
| 18 | advancedMatchON | ||
| 19 | businessItem | ||
| 20 | businessTypeCode | ||
| 21 | contentMatchON | ||
| 22 | displayURL | ||
| 23 | fiscalCode | ||
| 24 | hasFiscalCode | ||
| 25 | hasNifCif | ||
| 26 | hasVatRegistrationNumber | ||
| 27 | marketID | ||
| 28 | masterAccountID | ||
| 29 | name | ||
| 30 | nameFurigana | ||
| 31 | nifCif | ||
| 32 | personalID | ||
| 33 | presidentName | ||
| 34 | sitePassword | ||
| 35 | siteUserName | ||
| 36 | sponsoredSearchON | ||
| 37 | vatRegistrationCountry | ||
| 38 | vatRegistrationNumber | ||
| 39 | websiteURL | ||
| 40 | / ); | ||
| 41 | } | ||
| 42 | |||
| 43 | 2 | ▶ | sub _read_only_attributes { |
|
Subroutine
_read_only_attributes: called CC=1 SCAR=0.0
| |||
| 44 | 2 | return ( qw/ | |
| 45 | / ); | ||
| 46 | } | ||
| 47 | |||
| 48 | 2 | __PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes, | |
| 49 | __PACKAGE__->_read_only_attributes | ||
| 50 | ); | ||
| 51 | |||
| 52 | |||
| 53 | 2 | 1; | |
| 54 | =head1 SYNOPSIS | ||
| 55 | |||
| 56 | See L<http://searchmarketing.yahoo.com/developer/docs/V7/reference/dataObjects.php> for documentation of the various data objects. | ||
| 57 | |||
| 58 | |||
| 59 | =cut | ||
| 60 | |||
| 61 | =head1 METHODS | ||
| 62 | |||
| 63 | =head2 new | ||
| 64 | |||
| 65 | Creates a new instance | ||
| 66 | |||
| 67 | =head2 get/set methods | ||
| 68 | |||
| 69 | =over 8 | ||
| 70 | |||
| 71 | ID | ||
| 72 | advancedMatchON | ||
| 73 | businessItem | ||
| 74 | businessTypeCode | ||
| 75 | contentMatchON | ||
| 76 | displayURL | ||
| 77 | fiscalCode | ||
| 78 | hasFiscalCode | ||
| 79 | hasNifCif | ||
| 80 | hasVatRegistrationNumber | ||
| 81 | marketID | ||
| 82 | masterAccountID | ||
| 83 | name | ||
| 84 | nameFurigana | ||
| 85 | nifCif | ||
| 86 | personalID | ||
| 87 | presidentName | ||
| 88 | sitePassword | ||
| 89 | siteUserName | ||
| 90 | sponsoredSearchON | ||
| 91 | vatRegistrationCountry | ||
| 92 | vatRegistrationNumber | ||
| 93 | websiteURL | ||
| 94 | |||
| 95 | =back | ||
| 96 | |||
| 97 | =head2 get (read only) methods | ||
| 98 | |||
| 99 | =over 8 | ||
| 100 | |||
| 101 | |||
| 102 | =back | ||
| 103 | |||
| 104 | =cut | ||
| 105 | |||