eBay::API::XML::Call::GetShippingDiscountProfiles - eBay::API::XML::Call::GetShippingDiscountProfiles documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::GetShippingDiscountProfiles

DESCRIPTION

Top

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

getCalculatedHandlingDiscount()

The data for the specific packaging/handling details for combined payment. Returned only if it has been defined.

  Returned: Conditionally
#    Returns: 'ns:CalculatedHandlingDiscountType'

getCalculatedShippingDiscount()

Details of an individual discount profile defined by the user for calculated shipping--one for each profile defined by the user. Empty if no shipping discount profiles were defined.

  Returned: Always
#    Returns: 'ns:CalculatedShippingDiscountType'

getCombinedDuration()

Only those items purchased within CombinedDuration days of each other can be combined into an order and benefit from any shipping discounts.

  Returned: Always
#    Returns: 'ns:CombinedPaymentPeriodCodeType'

getCurrencyID()

The ID of the currency to be used for shipping cost discounts and insurance for combined payment. A discount profile can only be associated with a listing if the currency ID of the profile matches the currency ID of the listing.

  Returned: Always
#    Returns: 'ns:CurrencyCodeType'

getFlatShippingDiscount()

Details of an individual discount profile defined by the user for flat rate shipping--one for each profile defined by the user. Empty if no shipping discount profiles were defined.

  Returned: Always
#    Returns: 'ns:FlatShippingDiscountType'

getInternationalShippingInsurance()

The data for the international insurance for combined payment. Returned only if it has been defined.

  Returned: Conditionally
#    Returns: 'ns:ShippingInsuranceType'

isPromotionalShippingDiscount()

Indicates whether the user defined a promotional discount (the discount is active as soon as it exists).

  Returned: Always
#    Returns: 'xs:boolean'

getPromotionalShippingDiscountDetails()

The data for the specific promotional shipping discount. Returned only if it has been defined.

  Returned: Conditionally
#    Returns: 'ns:PromotionalShippingDiscountDetailsType'

getShippingInsurance()

The data for the domestic insurance for combined payment. Returned only if it has been defined.

  Returned: Conditionally
#    Returns: 'ns:ShippingInsuranceType'


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

package eBay::API::XML::Call::GetShippingDiscountProfiles;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. GetShippingDiscountProfiles.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::GetShippingDiscountProfiles::GetShippingDiscountProfilesRequestType;
use eBay::API::XML::Call::GetShippingDiscountProfiles::GetShippingDiscountProfilesResponseType;


sub getApiCallName {
   return 'GetShippingDiscountProfiles';
}
sub getRequestDataTypeFullPackage {
   return 'eBay::API::XML::Call::GetShippingDiscountProfiles::GetShippingDiscountProfilesRequestType';
}
sub getResponseDataTypeFullPackage {
   return 'eBay::API::XML::Call::GetShippingDiscountProfiles::GetShippingDiscountProfilesResponseType';
}

#
# input properties
#



#
# output properties
#

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

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

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

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

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

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

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

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

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





1;