Class: CalculatedShippingPreferencesType

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

Overview

urn:ebay:apis:eBLBaseComponentsCalculatedShippingPreferencesType

Constant Summary collapse

@@schema_type =
"CalculatedShippingPreferencesType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
["calculatedShippingAmountForEntireOrder", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CalculatedShippingAmountForEntireOrder")]],
["calculatedShippingChargeOption", ["CalculatedShippingChargeOptionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CalculatedShippingChargeOption")]],
["calculatedShippingRateOption", ["CalculatedShippingRateOptionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CalculatedShippingRateOption")]],
["insuranceOption", ["InsuranceOptionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InsuranceOption")]],
["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(calculatedShippingAmountForEntireOrder = nil, calculatedShippingChargeOption = nil, calculatedShippingRateOption = nil, insuranceOption = nil) ⇒ CalculatedShippingPreferencesType

Returns a new instance of CalculatedShippingPreferencesType.



12607
12608
12609
12610
12611
12612
12613
# File 'lib/eBay.rb', line 12607

def initialize(calculatedShippingAmountForEntireOrder = nil, calculatedShippingChargeOption = nil, calculatedShippingRateOption = nil, insuranceOption = nil)
  @calculatedShippingAmountForEntireOrder = calculatedShippingAmountForEntireOrder
  @calculatedShippingChargeOption = calculatedShippingChargeOption
  @calculatedShippingRateOption = calculatedShippingRateOption
  @insuranceOption = insuranceOption
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



12601
12602
12603
# File 'lib/eBay.rb', line 12601

def __xmlele_any
  @__xmlele_any
end

#calculatedShippingAmountForEntireOrderObject

Returns the value of attribute calculatedShippingAmountForEntireOrder.



12597
12598
12599
# File 'lib/eBay.rb', line 12597

def calculatedShippingAmountForEntireOrder
  @calculatedShippingAmountForEntireOrder
end

#calculatedShippingChargeOptionObject

Returns the value of attribute calculatedShippingChargeOption.



12598
12599
12600
# File 'lib/eBay.rb', line 12598

def calculatedShippingChargeOption
  @calculatedShippingChargeOption
end

#calculatedShippingRateOptionObject

Returns the value of attribute calculatedShippingRateOption.



12599
12600
12601
# File 'lib/eBay.rb', line 12599

def calculatedShippingRateOption
  @calculatedShippingRateOption
end

#insuranceOptionObject

Returns the value of attribute insuranceOption.



12600
12601
12602
# File 'lib/eBay.rb', line 12600

def insuranceOption
  @insuranceOption
end

Instance Method Details

#set_any(elements) ⇒ Object



12603
12604
12605
# File 'lib/eBay.rb', line 12603

def set_any(elements)
  @__xmlele_any = elements
end