| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::StoreCustomListingHeaderType
Configuration of a Store custom listing header.
eBay::API::XML::DataType::StoreCustomListingHeaderType inherits from the eBay::API::XML::BaseDataType class
Specifies whether the custom header has a link to Add to Favorite Stores.
Calls: SetStore RequiredInput: Conditionally
# Argument: 'xs:boolean'
Calls: GetStore Returned: Conditionally
# Returns: 'xs:boolean'
Display type for the custom listing header.
Calls: SetStore RequiredInput: Conditionally
# Argument: 'ns:StoreCustomListingHeaderDisplayCodeType'
Calls: GetStore Returned: Conditionally
# Returns: 'ns:StoreCustomListingHeaderDisplayCodeType'
Link to include in the custom header.
Calls: SetStore RequiredInput: Conditionally
# Argument: reference to an array of 'ns:StoreCustomListingHeaderLinkType'
Calls: GetStore Returned: Conditionally
# Returns: reference to an array of 'ns:StoreCustomListingHeaderLinkType'
Specifies whether the custom header has a logo.
Calls: SetStore RequiredInput: Conditionally
# Argument: 'xs:boolean'
Calls: GetStore Returned: Conditionally
# Returns: 'xs:boolean'
Specifies whether the custom header has a search box.
Calls: SetStore RequiredInput: Conditionally
# Argument: 'xs:boolean'
Calls: GetStore Returned: Conditionally
# Returns: 'xs:boolean'
Specifies whether the custom header has a link to Sign up for Store Newsletter.
Calls: SetStore RequiredInput: Conditionally
# Argument: 'xs:boolean'
Calls: GetStore Returned: Conditionally
# Returns: 'xs:boolean'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::StoreCustomListingHeaderType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. StoreCustomListingHeaderType.pm # Generated by: ......... genEBayApiDataTypes.pl # Last Generated: ....... 08/24/2008 16:44 # API Release Number: ... 579 # ##########################################################################
use eBay::API::XML::BaseDataType; our @ISA = ("eBay::API::XML::BaseDataType"); use eBay::API::XML::DataType::StoreCustomListingHeaderLinkType; use eBay::API::XML::DataType::Enum::StoreCustomListingHeaderDisplayCodeType; my @gaProperties = ( [ 'AddToFavoriteStores', 'xs:boolean', '', '', '' ] , [ 'DisplayType', 'ns:StoreCustomListingHeaderDisplayCodeType', '' ,'eBay::API::XML::DataType::Enum::StoreCustomListingHeaderDisplayCodeType', '' ] , [ 'LinkToInclude', 'ns:StoreCustomListingHeaderLinkType', '1' ,'eBay::API::XML::DataType::StoreCustomListingHeaderLinkType', '1' ] , [ 'Logo', 'xs:boolean', '', '', '' ] , [ 'SearchBox', 'xs:boolean', '', '', '' ] , [ 'SignUpForStoreNewsletter', 'xs:boolean', '', '', '' ] ); push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; my @gaAttributes = ( ); push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
sub new { my $classname = shift; my %args = @_; my $self = $classname->SUPER::new(%args); return $self; } sub isScalar { return 0; }
sub setAddToFavoriteStores { my $self = shift; $self->{'AddToFavoriteStores'} = shift }
sub isAddToFavoriteStores { my $self = shift; return $self->{'AddToFavoriteStores'}; }
sub setDisplayType { my $self = shift; $self->{'DisplayType'} = shift }
sub getDisplayType { my $self = shift; return $self->{'DisplayType'}; }
sub setLinkToInclude { my $self = shift; $self->{'LinkToInclude'} = $self->convertArray_To_RefToArrayIfNeeded(@_); }
sub getLinkToInclude { my $self = shift; return $self->_getDataTypeArray('LinkToInclude'); }
sub setLogo { my $self = shift; $self->{'Logo'} = shift }
sub isLogo { my $self = shift; return $self->{'Logo'}; }
sub setSearchBox { my $self = shift; $self->{'SearchBox'} = shift }
sub isSearchBox { my $self = shift; return $self->{'SearchBox'}; }
sub setSignUpForStoreNewsletter { my $self = shift; $self->{'SignUpForStoreNewsletter'} = shift }
sub isSignUpForStoreNewsletter { my $self = shift; return $self->{'SignUpForStoreNewsletter'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;