| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::StoreCustomPageType
eBay::API::XML::DataType::StoreCustomPageType inherits from the eBay::API::XML::BaseDataType class
The HTML content of the custom page. This field has a maximum size of 96 kilobytes. If PreviewEnabled is true, then this value is required. Otherwise, it is optional.
Calls: SetStoreCustomPage RequiredInput: Conditionally
# Argument: 'xs:string'
Calls: GetStoreCustomPage Returned: Conditionally Calls: SetStoreCustomPage Returned: Conditionally
# Returns: 'xs:string'
Name of the Store custom page. This value is required if you are creating a new page (by not specifying a PageID). Note that you must include a Name for the page even if you are using the PreviewEnabled tag. However, since using the preview functionality means that the page will not be persisted, you can enter a dummy value for this field if you have not decided on a name for the page. The Name is used in links to the page.
Calls: SetStoreCustomPage RequiredInput: Conditionally
# Argument: 'xs:string'
Calls: GetStoreCustomPage Returned: Always Calls: SetStoreCustomPage Returned: Conditionally
# Returns: 'xs:string'
Order in which the page is displayed in the list of custom pages.
Calls: SetStoreCustomPage RequiredInput: Conditionally
# Argument: 'xs:int'
Calls: GetStoreCustomPage Returned: Always Calls: SetStoreCustomPage Returned: Conditionally
# Returns: 'xs:int'
Unique identifier for the Store custom page. When you are using SetStoreCustomPage, if you specify a valid PageID, the custom page is updated. If you do not specify a PageID, the custom page is added.
Calls: SetStoreCustomPage RequiredInput: Conditionally
# Argument: 'xs:long'
Calls: GetStoreCustomPage Returned: Always Calls: SetStoreCustomPage Returned: Conditionally
# Returns: 'xs:long'
If true, then the other inputs are ignored, and the content of the page as it will be displayed within the Store is returned. If false, then the page is either modified or added, and the content of the page is not returned.
Calls: SetStoreCustomPage RequiredInput: No
# Argument: 'xs:boolean'
Calls: SetStoreCustomPage Returned: Conditionally
# Returns: 'xs:boolean'
Status of the custom page, active or inactive. Set Status to Delete with SetStoreCustomPage to delete the page.
Calls: SetStoreCustomPage RequiredInput: Conditionally
# Argument: 'ns:StoreCustomPageStatusCodeType'
Calls: GetStoreCustomPage Returned: Always OnlyTheseValues: Active, Inactive Calls: SetStoreCustomPage Returned: Conditionally
# Returns: 'ns:StoreCustomPageStatusCodeType'
Full URL of the Store custom page. URLPath is included in the GetStoreCustomPage response when PageID is specified in the request.
# Argument: 'xs:anyURI'
Calls: GetStoreCustomPage Returned: Conditionally
# Returns: 'xs:anyURI'
The URL path of the custom page. Only if you are using Chinese characters in the Name property for the custom page do you need to use this field, such as if you are opening a Store on the Taiwan site. The reason for this is that the URL path is normally derived from the Store custom page name, but it cannot be derived from the name of the custom page if it contains Chinese characters because URLs cannot contain Chinese characters. URLPath is included in the GetStoreCustomPage response when PageID is specified.
Calls: SetStoreCustomPage RequiredInput: Conditionally
# Argument: 'xs:string'
Calls: GetStoreCustomPage Returned: Conditionally Calls: SetStoreCustomPage Returned: Conditionally
# Returns: 'xs:string'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::StoreCustomPageType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. StoreCustomPageType.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::Enum::StoreCustomPageStatusCodeType; my @gaProperties = ( [ 'Content', 'xs:string', '', '', '' ] , [ 'LeftNav', 'xs:boolean', '', '', '' ] , [ 'Name', 'xs:string', '', '', '' ] , [ 'Order', 'xs:int', '', '', '' ] , [ 'PageID', 'xs:long', '', '', '' ] , [ 'PreviewEnabled', 'xs:boolean', '', '', '' ] , [ 'Status', 'ns:StoreCustomPageStatusCodeType', '' ,'eBay::API::XML::DataType::Enum::StoreCustomPageStatusCodeType', '' ] , [ 'URL', 'xs:anyURI', '', '', '' ] , [ 'URLPath', '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 setContent { my $self = shift; $self->{'Content'} = shift }
sub getContent { my $self = shift; return $self->{'Content'}; }
sub setLeftNav { my $self = shift; $self->{'LeftNav'} = shift }
sub isLeftNav { my $self = shift; return $self->{'LeftNav'}; }
sub setName { my $self = shift; $self->{'Name'} = shift }
sub getName { my $self = shift; return $self->{'Name'}; }
sub setOrder { my $self = shift; $self->{'Order'} = shift }
sub getOrder { my $self = shift; return $self->{'Order'}; }
sub setPageID { my $self = shift; $self->{'PageID'} = shift }
sub getPageID { my $self = shift; return $self->{'PageID'}; }
sub setPreviewEnabled { my $self = shift; $self->{'PreviewEnabled'} = shift }
sub isPreviewEnabled { my $self = shift; return $self->{'PreviewEnabled'}; }
sub setStatus { my $self = shift; $self->{'Status'} = shift }
sub getStatus { my $self = shift; return $self->{'Status'}; }
sub setURL { my $self = shift; $self->{'URL'} = shift }
sub getURL { my $self = shift; return $self->{'URL'}; }
sub setURLPath { my $self = shift; $self->{'URLPath'} = shift }
sub getURLPath { my $self = shift; return $self->{'URLPath'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;