eBay::API::XML::DataType::CheckoutOrderDetailType - eBay::API::XML::DataType::CheckoutOrderDetailType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::CheckoutOrderDetailType

DESCRIPTION

Top

Details of the order for a checked out cart.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setTotalAmount()

The overall total cost (including item cost, shipping cost and taxes).

# Argument: 'ns:AmountType'

getTotalAmount()

# Returns: 'ns:AmountType'

setTotalCartMerchandiseCost()

The total item cost of all items in the cart.

# Argument: 'ns:AmountType'

getTotalCartMerchandiseCost()

# Returns: 'ns:AmountType'

setTotalCartShippingCost()

The total shipping cost of all items in the cart.

# Argument: 'ns:AmountType'

getTotalCartShippingCost()

# Returns: 'ns:AmountType'

setTotalTaxAmount()

The total tax for all items in the cart.

# Argument: 'ns:AmountType'

getTotalTaxAmount()

# Returns: 'ns:AmountType'


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

package eBay::API::XML::DataType::CheckoutOrderDetailType;

use strict;
use warnings;  

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


my @gaProperties = ( [ 'TotalAmount', 'ns:AmountType', ''
	     ,'eBay::API::XML::DataType::AmountType', '1' ]
	, [ 'TotalCartMerchandiseCost', 'ns:AmountType', ''
	     ,'eBay::API::XML::DataType::AmountType', '1' ]
	, [ 'TotalCartShippingCost', 'ns:AmountType', ''
	     ,'eBay::API::XML::DataType::AmountType', '1' ]
	, [ 'TotalTaxAmount', 'ns:AmountType', ''
	     ,'eBay::API::XML::DataType::AmountType', '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 setTotalAmount {
  my $self = shift;
  $self->{'TotalAmount'} = shift
}

sub getTotalAmount {
  my $self = shift;
  return $self->_getDataTypeInstance( 'TotalAmount'
		,'eBay::API::XML::DataType::AmountType');
}


sub setTotalCartMerchandiseCost {
  my $self = shift;
  $self->{'TotalCartMerchandiseCost'} = shift
}

sub getTotalCartMerchandiseCost {
  my $self = shift;
  return $self->_getDataTypeInstance( 'TotalCartMerchandiseCost'
		,'eBay::API::XML::DataType::AmountType');
}


sub setTotalCartShippingCost {
  my $self = shift;
  $self->{'TotalCartShippingCost'} = shift
}

sub getTotalCartShippingCost {
  my $self = shift;
  return $self->_getDataTypeInstance( 'TotalCartShippingCost'
		,'eBay::API::XML::DataType::AmountType');
}


sub setTotalTaxAmount {
  my $self = shift;
  $self->{'TotalTaxAmount'} = shift
}

sub getTotalTaxAmount {
  my $self = shift;
  return $self->_getDataTypeInstance( 'TotalTaxAmount'
		,'eBay::API::XML::DataType::AmountType');
}





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

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



1;