eBay::API::XML::Call::SetPromotionalSale - eBay::API::XML::Call::SetPromotionalSale documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::SetPromotionalSale

DESCRIPTION

Top

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setAction()

Specifies adding, removing, or modifying promotional sales.

  RequiredInput: Yes
#    Argument: 'ns:ModifyActionCodeType'

setPromotionalSaleDetails()

Specifies details about the promotional sale.

  RequiredInput: Yes
#    Argument: 'ns:PromotionalSaleType'

getPromotionalSaleID()

Contains the ID of a promotional sale.

  Returned: Always
#    Returns: 'xs:long'

getStatus()

Contains the status of a promotional sale.

  Returned: Always
#    Returns: 'ns:PromotionalSaleStatusCodeType'


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

package eBay::API::XML::Call::SetPromotionalSale;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. SetPromotionalSale.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::SetPromotionalSale::SetPromotionalSaleRequestType;
use eBay::API::XML::Call::SetPromotionalSale::SetPromotionalSaleResponseType;


sub getApiCallName {
   return 'SetPromotionalSale';
}
sub getRequestDataTypeFullPackage {
   return 'eBay::API::XML::Call::SetPromotionalSale::SetPromotionalSaleRequestType';
}
sub getResponseDataTypeFullPackage {
   return 'eBay::API::XML::Call::SetPromotionalSale::SetPromotionalSaleResponseType';
}

#
# input properties
#

       
sub setAction {
   my $self   = shift;
   my $sAction = shift;
   $self->getRequestDataType()->setAction($sAction);
}

       
sub setPromotionalSaleDetails {
   my $self   = shift;
   my $pPromotionalSaleDetails = shift;
   $self->getRequestDataType()->setPromotionalSaleDetails($pPromotionalSaleDetails);
}



#
# output properties
#

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

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





1;