| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::StoreThemeType
Store theme.
eBay::API::XML::DataType::StoreThemeType inherits from the eBay::API::XML::BaseDataType class
Theme color scheme.
Calls: SetStore RequiredInput: Conditionally
# Argument: 'ns:StoreColorSchemeType'
Calls: GetStore Returned: Conditionally Calls: GetStoreOptions Returned: Always Context: BasicThemeArray
# Returns: 'ns:StoreColorSchemeType'
Store theme name. Provides a user-friendly name for the theme.
Calls: SetStore RequiredInput: Conditionally
# Argument: 'xs:string'
Calls: GetStore Returned: Conditionally Calls: GetStoreOptions Returned: Always
# Returns: 'xs:string'
Store theme ID (use GetStoreOptions to get the list of valid theme IDs).
Calls: SetStore RequiredInput: Conditionally
# Argument: 'xs:int'
Calls: GetStore Returned: Conditionally Calls: GetStoreOptions Returned: Always
# Returns: 'xs:int'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::StoreThemeType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. StoreThemeType.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::StoreColorSchemeType; my @gaProperties = ( [ 'ColorScheme', 'ns:StoreColorSchemeType', '' ,'eBay::API::XML::DataType::StoreColorSchemeType', '1' ] , [ 'Name', 'xs:string', '', '', '' ] , [ 'ThemeID', 'xs:int', '', '', '' ] ); 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 setColorScheme { my $self = shift; $self->{'ColorScheme'} = shift }
sub getColorScheme { my $self = shift; return $self->_getDataTypeInstance( 'ColorScheme' ,'eBay::API::XML::DataType::StoreColorSchemeType'); }
sub setName { my $self = shift; $self->{'Name'} = shift }
sub getName { my $self = shift; return $self->{'Name'}; }
sub setThemeID { my $self = shift; $self->{'ThemeID'} = shift }
sub getThemeID { my $self = shift; return $self->{'ThemeID'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;