Class: CharacteristicType

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

Overview

urn:ebay:apis:eBLBaseComponentsCharacteristicType

Constant Summary collapse

@@schema_type =
"CharacteristicType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["attributeID", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AttributeID")]],
  ["dateFormat", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DateFormat")]],
  ["displaySequence", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisplaySequence")]],
  ["displayUOM", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisplayUOM")]],
  ["label", ["LabelType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Label")]],
  ["sortOrder", ["SortOrderCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SortOrder")]],
  ["valueList", ["ValType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ValueList")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributeID = nil, dateFormat = nil, displaySequence = nil, displayUOM = nil, label = nil, sortOrder = nil, valueList = []) ⇒ CharacteristicType

Returns a new instance of CharacteristicType.



16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
# File 'lib/eBay.rb', line 16310

def initialize(attributeID = nil, dateFormat = nil, displaySequence = nil, displayUOM = nil, label = nil, sortOrder = nil, valueList = [])
  @attributeID = attributeID
  @dateFormat = dateFormat
  @displaySequence = displaySequence
  @displayUOM = displayUOM
  @label = label
  @sortOrder = sortOrder
  @valueList = valueList
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



16304
16305
16306
# File 'lib/eBay.rb', line 16304

def __xmlele_any
  @__xmlele_any
end

#attributeIDObject

Returns the value of attribute attributeID.



16297
16298
16299
# File 'lib/eBay.rb', line 16297

def attributeID
  @attributeID
end

#dateFormatObject

Returns the value of attribute dateFormat.



16298
16299
16300
# File 'lib/eBay.rb', line 16298

def dateFormat
  @dateFormat
end

#displaySequenceObject

Returns the value of attribute displaySequence.



16299
16300
16301
# File 'lib/eBay.rb', line 16299

def displaySequence
  @displaySequence
end

#displayUOMObject

Returns the value of attribute displayUOM.



16300
16301
16302
# File 'lib/eBay.rb', line 16300

def displayUOM
  @displayUOM
end

#labelObject

Returns the value of attribute label.



16301
16302
16303
# File 'lib/eBay.rb', line 16301

def label
  @label
end

#sortOrderObject

Returns the value of attribute sortOrder.



16302
16303
16304
# File 'lib/eBay.rb', line 16302

def sortOrder
  @sortOrder
end

#valueListObject

Returns the value of attribute valueList.



16303
16304
16305
# File 'lib/eBay.rb', line 16303

def valueList
  @valueList
end

Instance Method Details

#set_any(elements) ⇒ Object



16306
16307
16308
# File 'lib/eBay.rb', line 16306

def set_any(elements)
  @__xmlele_any = elements
end