Class: CurrencyDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsCurrencyDetailsType

Constant Summary collapse

@@schema_type =
"CurrencyDetailsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["currency", ["CurrencyCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Currency")]],
  ["description", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Description")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(currency = nil, description = nil) ⇒ CurrencyDetailsType

Returns a new instance of CurrencyDetailsType.



15033
15034
15035
15036
15037
# File 'lib/eBay.rb', line 15033

def initialize(currency = nil, description = nil)
  @currency = currency
  @description = description
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



15027
15028
15029
# File 'lib/eBay.rb', line 15027

def __xmlele_any
  @__xmlele_any
end

#currencyObject

Returns the value of attribute currency.



15025
15026
15027
# File 'lib/eBay.rb', line 15025

def currency
  @currency
end

#descriptionObject

Returns the value of attribute description.



15026
15027
15028
# File 'lib/eBay.rb', line 15026

def description
  @description
end

Instance Method Details

#set_any(elements) ⇒ Object



15029
15030
15031
# File 'lib/eBay.rb', line 15029

def set_any(elements)
  @__xmlele_any = elements
end