| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::Call::GetPromotionalSaleDetails::GetPromotionalSaleDetailsResponseType
Contains information about promotional sales. This call is part of the Promotional Price Display feature.
eBay::API::XML::Call::GetPromotionalSaleDetails::GetPromotionalSaleDetailsResponseType inherits from the eBay::API::XML::ResponseDataType class
Contains information about a promotional sale or sales. If you did not specify a PromotionalSaleID in the request, then all promotional sales for the seller are returned. Promotional sales enable sellers to add discounts and/or free shipping to items.
# Argument: 'ns:PromotionalSaleArrayType'
Returned: Conditionally # Returns: 'ns:PromotionalSaleArrayType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::Call::GetPromotionalSaleDetails::GetPromotionalSaleDetailsResponseType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. GetPromotionalSaleDetailsResponseType.pm # Generated by: ......... genEBayApiDataTypes.pl # Last Generated: ....... 08/24/2008 16:44 # API Release Number: ... 579 # ##########################################################################
use eBay::API::XML::ResponseDataType; our @ISA = ("eBay::API::XML::ResponseDataType"); use eBay::API::XML::DataType::PromotionalSaleArrayType; my @gaProperties = ( [ 'PromotionalSaleDetails', 'ns:PromotionalSaleArrayType', '' ,'eBay::API::XML::DataType::PromotionalSaleArrayType', '1' ] ); push @gaProperties, @{eBay::API::XML::ResponseDataType::getPropertiesList()}; my @gaAttributes = ( ); push @gaAttributes, @{eBay::API::XML::ResponseDataType::getAttributesList()};
sub new { my $classname = shift; my %args = @_; my $self = $classname->SUPER::new(%args); return $self; } sub isScalar { return 0; }
sub setPromotionalSaleDetails { my $self = shift; $self->{'PromotionalSaleDetails'} = shift }
sub getPromotionalSaleDetails { my $self = shift; return $self->_getDataTypeInstance( 'PromotionalSaleDetails' ,'eBay::API::XML::DataType::PromotionalSaleArrayType'); } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;