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.



14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
# File 'lib/eBay.rb', line 14596

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.



14590
14591
14592
# File 'lib/eBay.rb', line 14590

def __xmlele_any
  @__xmlele_any
end

#attributeIDObject

Returns the value of attribute attributeID.



14583
14584
14585
# File 'lib/eBay.rb', line 14583

def attributeID
  @attributeID
end

#dateFormatObject

Returns the value of attribute dateFormat.



14584
14585
14586
# File 'lib/eBay.rb', line 14584

def dateFormat
  @dateFormat
end

#displaySequenceObject

Returns the value of attribute displaySequence.



14585
14586
14587
# File 'lib/eBay.rb', line 14585

def displaySequence
  @displaySequence
end

#displayUOMObject

Returns the value of attribute displayUOM.



14586
14587
14588
# File 'lib/eBay.rb', line 14586

def displayUOM
  @displayUOM
end

#labelObject

Returns the value of attribute label.



14587
14588
14589
# File 'lib/eBay.rb', line 14587

def label
  @label
end

#sortOrderObject

Returns the value of attribute sortOrder.



14588
14589
14590
# File 'lib/eBay.rb', line 14588

def sortOrder
  @sortOrder
end

#valueListObject

Returns the value of attribute valueList.



14589
14590
14591
# File 'lib/eBay.rb', line 14589

def valueList
  @valueList
end

Instance Method Details

#set_any(elements) ⇒ Object



14592
14593
14594
# File 'lib/eBay.rb', line 14592

def set_any(elements)
  @__xmlele_any = elements
end