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.



15897
15898
15899
15900
15901
15902
15903
# File 'lib/eBay.rb', line 15897

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.



15891
15892
15893
# File 'lib/eBay.rb', line 15891

def __xmlele_any
  @__xmlele_any
end

#calculatedShippingAmountForEntireOrderObject

Returns the value of attribute calculatedShippingAmountForEntireOrder.



15887
15888
15889
# File 'lib/eBay.rb', line 15887

def calculatedShippingAmountForEntireOrder
  @calculatedShippingAmountForEntireOrder
end

#calculatedShippingChargeOptionObject

Returns the value of attribute calculatedShippingChargeOption.



15888
15889
15890
# File 'lib/eBay.rb', line 15888

def calculatedShippingChargeOption
  @calculatedShippingChargeOption
end

#calculatedShippingRateOptionObject

Returns the value of attribute calculatedShippingRateOption.



15889
15890
15891
# File 'lib/eBay.rb', line 15889

def calculatedShippingRateOption
  @calculatedShippingRateOption
end

#insuranceOptionObject

Returns the value of attribute insuranceOption.



15890
15891
15892
# File 'lib/eBay.rb', line 15890

def insuranceOption
  @insuranceOption
end

Instance Method Details

#set_any(elements) ⇒ Object



15893
15894
15895
# File 'lib/eBay.rb', line 15893

def set_any(elements)
  @__xmlele_any = elements
end