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.



14225
14226
14227
14228
14229
14230
14231
# File 'lib/eBay.rb', line 14225

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.



14219
14220
14221
# File 'lib/eBay.rb', line 14219

def __xmlele_any
  @__xmlele_any
end

#calculatedShippingAmountForEntireOrderObject

Returns the value of attribute calculatedShippingAmountForEntireOrder.



14215
14216
14217
# File 'lib/eBay.rb', line 14215

def calculatedShippingAmountForEntireOrder
  @calculatedShippingAmountForEntireOrder
end

#calculatedShippingChargeOptionObject

Returns the value of attribute calculatedShippingChargeOption.



14216
14217
14218
# File 'lib/eBay.rb', line 14216

def calculatedShippingChargeOption
  @calculatedShippingChargeOption
end

#calculatedShippingRateOptionObject

Returns the value of attribute calculatedShippingRateOption.



14217
14218
14219
# File 'lib/eBay.rb', line 14217

def calculatedShippingRateOption
  @calculatedShippingRateOption
end

#insuranceOptionObject

Returns the value of attribute insuranceOption.



14218
14219
14220
# File 'lib/eBay.rb', line 14218

def insuranceOption
  @insuranceOption
end

Instance Method Details

#set_any(elements) ⇒ Object



14221
14222
14223
# File 'lib/eBay.rb', line 14221

def set_any(elements)
  @__xmlele_any = elements
end