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.



13319
13320
13321
13322
13323
# File 'lib/eBay.rb', line 13319

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.



13313
13314
13315
# File 'lib/eBay.rb', line 13313

def __xmlele_any
  @__xmlele_any
end

#currencyObject

Returns the value of attribute currency.



13311
13312
13313
# File 'lib/eBay.rb', line 13311

def currency
  @currency
end

#descriptionObject

Returns the value of attribute description.



13312
13313
13314
# File 'lib/eBay.rb', line 13312

def description
  @description
end

Instance Method Details

#set_any(elements) ⇒ Object



13315
13316
13317
# File 'lib/eBay.rb', line 13315

def set_any(elements)
  @__xmlele_any = elements
end