Class: EBay::AttributeType

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

Overview

urn:ebay:apis:eBLBaseComponentsAttributeType

value - EBay::ValType
xmlattr_attributeID - SOAP::SOAPInt
xmlattr_attributeLabel - SOAP::SOAPString

Constant Summary collapse

AttrAttributeID =
XSD::QName.new(nil, "attributeID")
AttrAttributeLabel =
XSD::QName.new(nil, "attributeLabel")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value = []) ⇒ AttributeType

Returns a new instance of AttributeType.



20823
20824
20825
20826
20827
# File 'lib/eBay.rb', line 20823

def initialize(value = [])
  @value = value
  @__xmlele_any = nil
  @__xmlattr = {}
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



20797
20798
20799
# File 'lib/eBay.rb', line 20797

def __xmlele_any
  @__xmlele_any
end

#valueObject

Returns the value of attribute value.



20796
20797
20798
# File 'lib/eBay.rb', line 20796

def value
  @value
end

Instance Method Details

#__xmlattrObject



20803
20804
20805
# File 'lib/eBay.rb', line 20803

def __xmlattr
  @__xmlattr ||= {}
end

#set_any(elements) ⇒ Object



20799
20800
20801
# File 'lib/eBay.rb', line 20799

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_attributeIDObject



20807
20808
20809
# File 'lib/eBay.rb', line 20807

def xmlattr_attributeID
  __xmlattr[AttrAttributeID]
end

#xmlattr_attributeID=(value) ⇒ Object



20811
20812
20813
# File 'lib/eBay.rb', line 20811

def xmlattr_attributeID=(value)
  __xmlattr[AttrAttributeID] = value
end

#xmlattr_attributeLabelObject



20815
20816
20817
# File 'lib/eBay.rb', line 20815

def xmlattr_attributeLabel
  __xmlattr[AttrAttributeLabel]
end

#xmlattr_attributeLabel=(value) ⇒ Object



20819
20820
20821
# File 'lib/eBay.rb', line 20819

def xmlattr_attributeLabel=(value)
  __xmlattr[AttrAttributeLabel] = value
end