eBay::API::XML::DataType::OrderTransactionType - eBay::API::XML::DataType::OrderTransactionType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::OrderTransactionType

DESCRIPTION

Top

Contains an order or a transaction. A transaction is the sale of one or more items from a seller's listing to a buyer. An order combines two or more transactions into a single payment.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::DataType::OrderTransactionType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

Top

setOrder()

Contains the information describing an order.

# Argument: 'ns:OrderType'

getOrder()

  Calls: GetMyeBayBuying
  Returned: Conditionally
  Details: DetailLevel: none, ReturnSummary, ReturnAll
  Context: WonList
           DeletedFromWonList

  Calls: GetMyeBaySelling
  Returned: Conditionally
  Details: DetailLevel: none, ReturnSummary, ReturnAll
  Context: SoldList
           DeletedFromSoldList

# Returns: 'ns:OrderType'

setTransaction()

Contains the information describing a transaction.

# Argument: 'ns:TransactionType'

getTransaction()

  Calls: GetMyeBayBuying
  Returned: Conditionally
  Details: DetailLevel: none, ReturnSummary, ReturnAll
  Context: WonList
           DeletedFromWonList

  Calls: GetMyeBaySelling
  Returned: Conditionally
  Details: DetailLevel: none, ReturnSummary, ReturnAll
  Context: SoldList
           DeletedFromSoldList

# Returns: 'ns:TransactionType'


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

package eBay::API::XML::DataType::OrderTransactionType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. OrderTransactionType.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::OrderType;
use eBay::API::XML::DataType::TransactionType;


my @gaProperties = ( [ 'Order', 'ns:OrderType', ''
	     ,'eBay::API::XML::DataType::OrderType', '1' ]
	, [ 'Transaction', 'ns:TransactionType', ''
	     ,'eBay::API::XML::DataType::TransactionType', '1' ]
                    );
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 setOrder {
  my $self = shift;
  $self->{'Order'} = shift
}

sub getOrder {
  my $self = shift;
  return $self->_getDataTypeInstance( 'Order'
		,'eBay::API::XML::DataType::OrderType');
}


sub setTransaction {
  my $self = shift;
  $self->{'Transaction'} = shift
}

sub getTransaction {
  my $self = shift;
  return $self->_getDataTypeInstance( 'Transaction'
		,'eBay::API::XML::DataType::TransactionType');
}





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

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



1;