eBay::API::XML::Call::GetPromotionalSaleDetails - eBay::API::XML::Call::GetPromotionalSaleDetails documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::GetPromotionalSaleDetails

DESCRIPTION

Top

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::Call::GetPromotionalSaleDetails inherits from the eBay::API::XML::BaseCall class

Subroutines:

Top

setPromotionalSaleID()

The ID of the promotional sale about which you want information. If you do not specify this field, then GetPromotionalSaleDetails returns all promotional sales for the seller making the call.

  RequiredInput: No
#    Argument: 'xs:long'

getPromotionalSaleDetails()

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.

  Returned: Conditionally
#    Returns: 'ns:PromotionalSaleArrayType'


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

package eBay::API::XML::Call::GetPromotionalSaleDetails;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. GetPromotionalSaleDetails.pm
# Generated by: ......... genEBayApiDataTypes.pl
# Last Generated: ....... 08/24/2008 16:44
# API Release Number: ... 579
#
##########################################################################  

use eBay::API::XML::BaseCall;
our @ISA = ("eBay::API::XML::BaseCall");

use eBay::API::XML::Call::GetPromotionalSaleDetails::GetPromotionalSaleDetailsRequestType;
use eBay::API::XML::Call::GetPromotionalSaleDetails::GetPromotionalSaleDetailsResponseType;


sub getApiCallName {
   return 'GetPromotionalSaleDetails';
}
sub getRequestDataTypeFullPackage {
   return 'eBay::API::XML::Call::GetPromotionalSaleDetails::GetPromotionalSaleDetailsRequestType';
}
sub getResponseDataTypeFullPackage {
   return 'eBay::API::XML::Call::GetPromotionalSaleDetails::GetPromotionalSaleDetailsResponseType';
}

#
# input properties
#

       
sub setPromotionalSaleID {
   my $self   = shift;
   my $sPromotionalSaleID = shift;
   $self->getRequestDataType()->setPromotionalSaleID($sPromotionalSaleID);
}



#
# output properties
#

       
sub getPromotionalSaleDetails {
   my $self = shift;
   return $self->getResponseDataType()->getPromotionalSaleDetails();
}





1;