eBay::API::XML::Call::GetCrossPromotions::GetCrossPromotionsResponseType - eBay::API::XML::Call::GetCrossPromotions::GetCrossPromotionsResponseType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::GetCrossPromotions::GetCrossPromotionsResponseType

DESCRIPTION

Top

Returns a list of either upsell or cross-sell items for a given item ID. The list can be filtered by the viewer's role, either buyer or seller.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::Call::GetCrossPromotions::GetCrossPromotionsResponseType inherits from the eBay::API::XML::ResponseDataType class

Subroutines:

Top

setCrossPromotion()

A list of cross-promoted items defined for a specific referring item. The list is either upsell or cross-sell items, according to the value of PromotionMethod in GetCrossPromotionsRequest.

# Argument: 'ns:CrossPromotionsType'

getCrossPromotion()

  Returned: Always
#    Returns: 'ns:CrossPromotionsType'


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

package eBay::API::XML::Call::GetCrossPromotions::GetCrossPromotionsResponseType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. GetCrossPromotionsResponseType.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::CrossPromotionsType;


my @gaProperties = ( [ 'CrossPromotion', 'ns:CrossPromotionsType', ''
	     ,'eBay::API::XML::DataType::CrossPromotionsType', '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 setCrossPromotion {
  my $self = shift;
  $self->{'CrossPromotion'} = shift
}

sub getCrossPromotion {
  my $self = shift;
  return $self->_getDataTypeInstance( 'CrossPromotion'
		,'eBay::API::XML::DataType::CrossPromotionsType');
}





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

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



1;