Yahoo::Marketing::Account - an object to represent a Yahoo Marketing Account.


Yahoo-Marketing documentation Contained in the Yahoo-Marketing distribution.

Index


Code Index:

NAME

Top

Yahoo::Marketing::Account - an object to represent a Yahoo Marketing Account.

SYNOPSIS

Top

See http://searchmarketing.yahoo.com/developer/docs/V7/reference/dataObjects.php for documentation of the various data objects.

METHODS

Top

new

Creates a new instance

get/set methods

    ID
    advancedMatchON
    businessItem
    businessTypeCode
    contentMatchON
    displayURL
    fiscalCode
    hasFiscalCode
    hasNifCif
    hasVatRegistrationNumber
    marketID
    masterAccountID
    name
    nameFurigana
    nifCif
    personalID
    presidentName
    sitePassword
    siteUserName
    sponsoredSearchON
    vatRegistrationCountry
    vatRegistrationNumber
    websiteURL

get (read only) methods


Yahoo-Marketing documentation Contained in the Yahoo-Marketing distribution.
package Yahoo::Marketing::Account;
# Copyright (c) 2009 Yahoo! Inc.  All rights reserved.  
# The copyrights to the contents of this file are licensed under the Perl Artistic License (ver. 15 Aug 1997) 

use strict; use warnings;

use base qw/Yahoo::Marketing::ComplexType/;

sub _user_setable_attributes {
    return ( qw/ 
                 ID
                 advancedMatchON
                 businessItem
                 businessTypeCode
                 contentMatchON
                 displayURL
                 fiscalCode
                 hasFiscalCode
                 hasNifCif
                 hasVatRegistrationNumber
                 marketID
                 masterAccountID
                 name
                 nameFurigana
                 nifCif
                 personalID
                 presidentName
                 sitePassword
                 siteUserName
                 sponsoredSearchON
                 vatRegistrationCountry
                 vatRegistrationNumber
                 websiteURL
            /  );
}

sub _read_only_attributes {
    return ( qw/
           / );
}

__PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes, 
                           __PACKAGE__->_read_only_attributes
                         );


1;