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.



12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
# File 'lib/eBay.rb', line 12934

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.



12928
12929
12930
# File 'lib/eBay.rb', line 12928

def __xmlele_any
  @__xmlele_any
end

#attributeIDObject

Returns the value of attribute attributeID.



12921
12922
12923
# File 'lib/eBay.rb', line 12921

def attributeID
  @attributeID
end

#dateFormatObject

Returns the value of attribute dateFormat.



12922
12923
12924
# File 'lib/eBay.rb', line 12922

def dateFormat
  @dateFormat
end

#displaySequenceObject

Returns the value of attribute displaySequence.



12923
12924
12925
# File 'lib/eBay.rb', line 12923

def displaySequence
  @displaySequence
end

#displayUOMObject

Returns the value of attribute displayUOM.



12924
12925
12926
# File 'lib/eBay.rb', line 12924

def displayUOM
  @displayUOM
end

#labelObject

Returns the value of attribute label.



12925
12926
12927
# File 'lib/eBay.rb', line 12925

def label
  @label
end

#sortOrderObject

Returns the value of attribute sortOrder.



12926
12927
12928
# File 'lib/eBay.rb', line 12926

def sortOrder
  @sortOrder
end

#valueListObject

Returns the value of attribute valueList.



12927
12928
12929
# File 'lib/eBay.rb', line 12927

def valueList
  @valueList
end

Instance Method Details

#set_any(elements) ⇒ Object



12930
12931
12932
# File 'lib/eBay.rb', line 12930

def set_any(elements)
  @__xmlele_any = elements
end