Class: QuantityType
- Inherits:
-
String
- Object
- String
- QuantityType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsQuantityType
contains SOAP::SOAPDecimal
Constant Summary collapse
- @@schema_attribute =
{ XSD::QName.new(nil, "unit") => nil }
Instance Method Summary collapse
-
#initialize(*arg) ⇒ QuantityType
constructor
A new instance of QuantityType.
- #xmlattr_unit ⇒ Object
- #xmlattr_unit=(value) ⇒ Object
Constructor Details
#initialize(*arg) ⇒ QuantityType
Returns a new instance of QuantityType.
14644 14645 14646 14647 |
# File 'lib/eBay.rb', line 14644 def initialize(*arg) super @__xmlattr = {} end |
Instance Method Details
#xmlattr_unit ⇒ Object
14636 14637 14638 |
# File 'lib/eBay.rb', line 14636 def xmlattr_unit (@__xmlattr ||= {})[XSD::QName.new(nil, "unit")] end |
#xmlattr_unit=(value) ⇒ Object
14640 14641 14642 |
# File 'lib/eBay.rb', line 14640 def xmlattr_unit=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "unit")] = value end |