eBay::API::XML::DataType::StoreColorSchemeType - eBay::API::XML::DataType::StoreColorSchemeType documentation


eBay-API documentation Contained in the eBay-API distribution.

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::StoreColorSchemeType

DESCRIPTION

Top

Store color scheme.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::DataType::StoreColorSchemeType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

Top

setColor()

Store color set.

  Calls: SetStore
  RequiredInput: Conditionally

# Argument: 'ns:StoreColorType'

getColor()

  Calls: GetStore
  Returned: Conditionally

  Calls: GetStoreOptions
  Returned: Always

# Returns: 'ns:StoreColorType'

setColorSchemeID()

Store color scheme ID. (use GetStoreOptions to get the list of valid theme color scheme IDs).

  Calls: SetStore
  RequiredInput: Conditionally

# Argument: 'xs:int'

getColorSchemeID()

  Calls: GetStore
  Returned: Conditionally

  Calls: GetStoreOptions
  Returned: Always

# Returns: 'xs:int'

setFont()

Store font set.

  Calls: SetStore
  RequiredInput: Conditionally

# Argument: 'ns:StoreFontType'

getFont()

  Calls: GetStore
  Returned: Conditionally

  Calls: GetStoreOptions
  Returned: Always

# Returns: 'ns:StoreFontType'

setName()

Store color scheme name. Provides a user-friendly name for the color scheme.

  Calls: SetStore
  RequiredInput: Conditionally

# Argument: 'xs:string'

getName()

  Calls: GetStore
  Returned: Conditionally

  Calls: GetStoreOptions
  Returned: Always

# Returns: 'xs:string'


eBay-API documentation Contained in the eBay-API distribution.
#!/usr/bin/perl

package eBay::API::XML::DataType::StoreColorSchemeType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. StoreColorSchemeType.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::StoreColorType;
use eBay::API::XML::DataType::StoreFontType;


my @gaProperties = ( [ 'Color', 'ns:StoreColorType', ''
	     ,'eBay::API::XML::DataType::StoreColorType', '1' ]
	, [ 'ColorSchemeID', 'xs:int', '', '', '' ]
	, [ 'Font', 'ns:StoreFontType', ''
	     ,'eBay::API::XML::DataType::StoreFontType', '1' ]
	, [ 'Name', 'xs:string', '', '', '' ]
                    );
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 setColor {
  my $self = shift;
  $self->{'Color'} = shift
}

sub getColor {
  my $self = shift;
  return $self->_getDataTypeInstance( 'Color'
		,'eBay::API::XML::DataType::StoreColorType');
}


sub setColorSchemeID {
  my $self = shift;
  $self->{'ColorSchemeID'} = shift
}

sub getColorSchemeID {
  my $self = shift;
  return $self->{'ColorSchemeID'};
}


sub setFont {
  my $self = shift;
  $self->{'Font'} = shift
}

sub getFont {
  my $self = shift;
  return $self->_getDataTypeInstance( 'Font'
		,'eBay::API::XML::DataType::StoreFontType');
}


sub setName {
  my $self = shift;
  $self->{'Name'} = shift
}

sub getName {
  my $self = shift;
  return $self->{'Name'};
}





##  Attribute and Property lists
sub getPropertiesList {
   my $self = shift;
   return \@gaProperties;
}

sub getAttributesList {
   my $self = shift;
   return \@gaAttributes;
}



1;