eBay::API::XML::DataType::CombinedPaymentPreferencesType - eBay::API::XML::DataType::CombinedPaymentPreferencesType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::CombinedPaymentPreferencesType

DESCRIPTION

Top

Defines a seller's preferences for allowing buyers to combine more than one purchase into one payment.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setCalculatedShippingPreferences()

Contains a seller's preferences for having shipping costs calculated by eBay.

  Calls: SetUserPreferences
  RequiredInput: No

# Argument: 'ns:CalculatedShippingPreferencesType'

getCalculatedShippingPreferences()

  Calls: GetUserPreferences
  Returned: Conditionally

# Returns: 'ns:CalculatedShippingPreferencesType'

setCombinedPaymentOption()

Specifies whether or not a seller wants to allow buyers to combine purchases in order to receive a discount.

  Calls: SetUserPreferences
  RequiredInput: No

# Argument: 'ns:CombinedPaymentOptionCodeType'

getCombinedPaymentOption()

  Calls: GetUserPreferences
  Returned: Conditionally

# Returns: 'ns:CombinedPaymentOptionCodeType'

setCombinedPaymentPeriod()

Specifies the period in which the user will allow buyers to combine purchases in order to receive a discount.

  Calls: SetUserPreferences
  RequiredInput: No

# Argument: 'ns:CombinedPaymentPeriodCodeType'

getCombinedPaymentPeriod()

  Calls: GetUserPreferences
  Returned: Conditionally

# Returns: 'ns:CombinedPaymentPeriodCodeType'

setFlatShippingPreferences()

Specifies a seller's preferences for flat-rate shipping.

  Calls: SetUserPreferences
  RequiredInput: No

# Argument: 'ns:FlatShippingPreferencesType'

getFlatShippingPreferences()

  Calls: GetUserPreferences
  Returned: Conditionally

# Returns: 'ns:FlatShippingPreferencesType'


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

package eBay::API::XML::DataType::CombinedPaymentPreferencesType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. CombinedPaymentPreferencesType.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::CalculatedShippingPreferencesType;
use eBay::API::XML::DataType::FlatShippingPreferencesType;
use eBay::API::XML::DataType::Enum::CombinedPaymentOptionCodeType;
use eBay::API::XML::DataType::Enum::CombinedPaymentPeriodCodeType;


my @gaProperties = ( [ 'CalculatedShippingPreferences', 'ns:CalculatedShippingPreferencesType', ''
	     ,'eBay::API::XML::DataType::CalculatedShippingPreferencesType', '1' ]
	, [ 'CombinedPaymentOption', 'ns:CombinedPaymentOptionCodeType', ''
	     ,'eBay::API::XML::DataType::Enum::CombinedPaymentOptionCodeType', '' ]
	, [ 'CombinedPaymentPeriod', 'ns:CombinedPaymentPeriodCodeType', ''
	     ,'eBay::API::XML::DataType::Enum::CombinedPaymentPeriodCodeType', '' ]
	, [ 'FlatShippingPreferences', 'ns:FlatShippingPreferencesType', ''
	     ,'eBay::API::XML::DataType::FlatShippingPreferencesType', '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 setCalculatedShippingPreferences {
  my $self = shift;
  $self->{'CalculatedShippingPreferences'} = shift
}

sub getCalculatedShippingPreferences {
  my $self = shift;
  return $self->_getDataTypeInstance( 'CalculatedShippingPreferences'
		,'eBay::API::XML::DataType::CalculatedShippingPreferencesType');
}


sub setCombinedPaymentOption {
  my $self = shift;
  $self->{'CombinedPaymentOption'} = shift
}

sub getCombinedPaymentOption {
  my $self = shift;
  return $self->{'CombinedPaymentOption'};
}


sub setCombinedPaymentPeriod {
  my $self = shift;
  $self->{'CombinedPaymentPeriod'} = shift
}

sub getCombinedPaymentPeriod {
  my $self = shift;
  return $self->{'CombinedPaymentPeriod'};
}


sub setFlatShippingPreferences {
  my $self = shift;
  $self->{'FlatShippingPreferences'} = shift
}

sub getFlatShippingPreferences {
  my $self = shift;
  return $self->_getDataTypeInstance( 'FlatShippingPreferences'
		,'eBay::API::XML::DataType::FlatShippingPreferencesType');
}





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

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



1;