| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::ShippingInsuranceType
Details about insurance for combined payment.
eBay::API::XML::DataType::ShippingInsuranceType inherits from the eBay::API::XML::BaseDataType class
A pairing of range of item price total and insurance cost. For SetShippingDiscountProfiles, if InsuranceOption is Optional or Required, you must submit all range pairs. For those ranges that do not apply, set the cost to 0.
Calls: SetShippingDiscountProfiles RequiredInput: Conditionally
# Argument: reference to an array of 'ns:FlatRateInsuranceRangeCostType'
Calls: GetShippingDiscountProfiles Returned: Conditionally
# Returns: reference to an array of 'ns:FlatRateInsuranceRangeCostType'
Whether the seller offers shipping insurance and, if so, whether the insurance is optional or required. Flat and calculated shipping.
Calls: SetShippingDiscountProfiles RequiredInput: Conditionally AllValuesExcept: NotOfferedOnSite
# Argument: 'ns:InsuranceOptionCodeType'
Calls: GetShippingDiscountProfiles Returned: Conditionally
# Returns: 'ns:InsuranceOptionCodeType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::ShippingInsuranceType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. ShippingInsuranceType.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::FlatRateInsuranceRangeCostType; use eBay::API::XML::DataType::Enum::InsuranceOptionCodeType; my @gaProperties = ( [ 'FlatRateInsuranceRangeCost', 'ns:FlatRateInsuranceRangeCostType', '1' ,'eBay::API::XML::DataType::FlatRateInsuranceRangeCostType', '1' ] , [ 'InsuranceOption', 'ns:InsuranceOptionCodeType', '' ,'eBay::API::XML::DataType::Enum::InsuranceOptionCodeType', '' ] ); 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 setFlatRateInsuranceRangeCost { my $self = shift; $self->{'FlatRateInsuranceRangeCost'} = $self->convertArray_To_RefToArrayIfNeeded(@_); }
sub getFlatRateInsuranceRangeCost { my $self = shift; return $self->_getDataTypeArray('FlatRateInsuranceRangeCost'); }
sub setInsuranceOption { my $self = shift; $self->{'InsuranceOption'} = shift }
sub getInsuranceOption { my $self = shift; return $self->{'InsuranceOption'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;