Class: EBay::FlatShippingPreferencesType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsFlatShippingPreferencesType

amountPerAdditionalItem - EBay::AmountType
deductionAmountPerAdditionalItem - EBay::AmountType
flatRateInsuranceRangeCost - EBay::FlatRateInsuranceRangeCostType
flatShippingRateOption - EBay::FlatShippingRateOptionCodeType
insuranceOption - EBay::InsuranceOptionCodeType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amountPerAdditionalItem = nil, deductionAmountPerAdditionalItem = nil, flatRateInsuranceRangeCost = [], flatShippingRateOption = nil, insuranceOption = nil) ⇒ FlatShippingPreferencesType

Returns a new instance of FlatShippingPreferencesType.



24725
24726
24727
24728
24729
24730
24731
24732
# File 'lib/eBay.rb', line 24725

def initialize(amountPerAdditionalItem = nil, deductionAmountPerAdditionalItem = nil, flatRateInsuranceRangeCost = [], flatShippingRateOption = nil, insuranceOption = nil)
  @amountPerAdditionalItem = amountPerAdditionalItem
  @deductionAmountPerAdditionalItem = deductionAmountPerAdditionalItem
  @flatRateInsuranceRangeCost = flatRateInsuranceRangeCost
  @flatShippingRateOption = flatShippingRateOption
  @insuranceOption = insuranceOption
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



24719
24720
24721
# File 'lib/eBay.rb', line 24719

def __xmlele_any
  @__xmlele_any
end

#amountPerAdditionalItemObject

Returns the value of attribute amountPerAdditionalItem.



24714
24715
24716
# File 'lib/eBay.rb', line 24714

def amountPerAdditionalItem
  @amountPerAdditionalItem
end

#deductionAmountPerAdditionalItemObject

Returns the value of attribute deductionAmountPerAdditionalItem.



24715
24716
24717
# File 'lib/eBay.rb', line 24715

def deductionAmountPerAdditionalItem
  @deductionAmountPerAdditionalItem
end

#flatRateInsuranceRangeCostObject

Returns the value of attribute flatRateInsuranceRangeCost.



24716
24717
24718
# File 'lib/eBay.rb', line 24716

def flatRateInsuranceRangeCost
  @flatRateInsuranceRangeCost
end

#flatShippingRateOptionObject

Returns the value of attribute flatShippingRateOption.



24717
24718
24719
# File 'lib/eBay.rb', line 24717

def flatShippingRateOption
  @flatShippingRateOption
end

#insuranceOptionObject

Returns the value of attribute insuranceOption.



24718
24719
24720
# File 'lib/eBay.rb', line 24718

def insuranceOption
  @insuranceOption
end

Instance Method Details

#set_any(elements) ⇒ Object



24721
24722
24723
# File 'lib/eBay.rb', line 24721

def set_any(elements)
  @__xmlele_any = elements
end