| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::Call::GetShippingDiscountProfiles::GetShippingDiscountProfilesResponseType
Response to call of GetShippingDiscountProfiles.
eBay::API::XML::Call::GetShippingDiscountProfiles::GetShippingDiscountProfilesResponseType inherits from the eBay::API::XML::ResponseDataType class
The data for the specific packaging/handling details for combined payment. Returned only if it has been defined.
# Argument: 'ns:CalculatedHandlingDiscountType'
Returned: Conditionally # Returns: 'ns:CalculatedHandlingDiscountType'
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.
# Argument: 'ns:CalculatedShippingDiscountType'
Returned: Always # Returns: 'ns:CalculatedShippingDiscountType'
Only those items purchased within CombinedDuration days of each other can be combined into an order and benefit from any shipping discounts.
# Argument: 'ns:CombinedPaymentPeriodCodeType'
Returned: Always # Returns: 'ns:CombinedPaymentPeriodCodeType'
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.
# Argument: 'ns:CurrencyCodeType'
Returned: Always # Returns: 'ns:CurrencyCodeType'
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.
# Argument: 'ns:FlatShippingDiscountType'
Returned: Always # Returns: 'ns:FlatShippingDiscountType'
The data for the international insurance for combined payment. Returned only if it has been defined.
# Argument: 'ns:ShippingInsuranceType'
Returned: Conditionally # Returns: 'ns:ShippingInsuranceType'
Indicates whether the user defined a promotional discount (the discount is active as soon as it exists).
# Argument: 'xs:boolean'
Returned: Always # Returns: 'xs:boolean'
The data for the specific promotional shipping discount. Returned only if it has been defined.
# Argument: 'ns:PromotionalShippingDiscountDetailsType'
Returned: Conditionally # Returns: 'ns:PromotionalShippingDiscountDetailsType'
The data for the domestic insurance for combined payment. Returned only if it has been defined.
# Argument: 'ns:ShippingInsuranceType'
Returned: Conditionally # Returns: 'ns:ShippingInsuranceType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::Call::GetShippingDiscountProfiles::GetShippingDiscountProfilesResponseType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. GetShippingDiscountProfilesResponseType.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::CalculatedHandlingDiscountType; use eBay::API::XML::DataType::CalculatedShippingDiscountType; use eBay::API::XML::DataType::FlatShippingDiscountType; use eBay::API::XML::DataType::PromotionalShippingDiscountDetailsType; use eBay::API::XML::DataType::ShippingInsuranceType; use eBay::API::XML::DataType::Enum::CombinedPaymentPeriodCodeType; use eBay::API::XML::DataType::Enum::CurrencyCodeType; my @gaProperties = ( [ 'CalculatedHandlingDiscount', 'ns:CalculatedHandlingDiscountType', '' ,'eBay::API::XML::DataType::CalculatedHandlingDiscountType', '1' ] , [ 'CalculatedShippingDiscount', 'ns:CalculatedShippingDiscountType', '' ,'eBay::API::XML::DataType::CalculatedShippingDiscountType', '1' ] , [ 'CombinedDuration', 'ns:CombinedPaymentPeriodCodeType', '' ,'eBay::API::XML::DataType::Enum::CombinedPaymentPeriodCodeType', '' ] , [ 'CurrencyID', 'ns:CurrencyCodeType', '' ,'eBay::API::XML::DataType::Enum::CurrencyCodeType', '' ] , [ 'FlatShippingDiscount', 'ns:FlatShippingDiscountType', '' ,'eBay::API::XML::DataType::FlatShippingDiscountType', '1' ] , [ 'InternationalShippingInsurance', 'ns:ShippingInsuranceType', '' ,'eBay::API::XML::DataType::ShippingInsuranceType', '1' ] , [ 'PromotionalShippingDiscount', 'xs:boolean', '', '', '' ] , [ 'PromotionalShippingDiscountDetails', 'ns:PromotionalShippingDiscountDetailsType', '' ,'eBay::API::XML::DataType::PromotionalShippingDiscountDetailsType', '1' ] , [ 'ShippingInsurance', 'ns:ShippingInsuranceType', '' ,'eBay::API::XML::DataType::ShippingInsuranceType', '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 setCalculatedHandlingDiscount { my $self = shift; $self->{'CalculatedHandlingDiscount'} = shift }
sub getCalculatedHandlingDiscount { my $self = shift; return $self->_getDataTypeInstance( 'CalculatedHandlingDiscount' ,'eBay::API::XML::DataType::CalculatedHandlingDiscountType'); }
sub setCalculatedShippingDiscount { my $self = shift; $self->{'CalculatedShippingDiscount'} = shift }
sub getCalculatedShippingDiscount { my $self = shift; return $self->_getDataTypeInstance( 'CalculatedShippingDiscount' ,'eBay::API::XML::DataType::CalculatedShippingDiscountType'); }
sub setCombinedDuration { my $self = shift; $self->{'CombinedDuration'} = shift }
sub getCombinedDuration { my $self = shift; return $self->{'CombinedDuration'}; }
sub setCurrencyID { my $self = shift; $self->{'CurrencyID'} = shift }
sub getCurrencyID { my $self = shift; return $self->{'CurrencyID'}; }
sub setFlatShippingDiscount { my $self = shift; $self->{'FlatShippingDiscount'} = shift }
sub getFlatShippingDiscount { my $self = shift; return $self->_getDataTypeInstance( 'FlatShippingDiscount' ,'eBay::API::XML::DataType::FlatShippingDiscountType'); }
sub setInternationalShippingInsurance { my $self = shift; $self->{'InternationalShippingInsurance'} = shift }
sub getInternationalShippingInsurance { my $self = shift; return $self->_getDataTypeInstance( 'InternationalShippingInsurance' ,'eBay::API::XML::DataType::ShippingInsuranceType'); }
sub setPromotionalShippingDiscount { my $self = shift; $self->{'PromotionalShippingDiscount'} = shift }
sub isPromotionalShippingDiscount { my $self = shift; return $self->{'PromotionalShippingDiscount'}; }
sub setPromotionalShippingDiscountDetails { my $self = shift; $self->{'PromotionalShippingDiscountDetails'} = shift }
sub getPromotionalShippingDiscountDetails { my $self = shift; return $self->_getDataTypeInstance( 'PromotionalShippingDiscountDetails' ,'eBay::API::XML::DataType::PromotionalShippingDiscountDetailsType'); }
sub setShippingInsurance { my $self = shift; $self->{'ShippingInsurance'} = shift }
sub getShippingInsurance { my $self = shift; return $self->_getDataTypeInstance( 'ShippingInsurance' ,'eBay::API::XML::DataType::ShippingInsuranceType'); } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;