Class: MeasureType
- Inherits:
-
String
- Object
- String
- MeasureType
- Defined in:
- lib/paypal-business/default.rb
Overview
urn:ebay:apis:CoreComponentTypesMeasureType
contains SOAP::SOAPDouble
Constant Summary collapse
- @@schema_attribute =
{ XSD::QName.new(nil, "unit") => nil }
Instance Method Summary collapse
-
#initialize(*arg) ⇒ MeasureType
constructor
A new instance of MeasureType.
- #xmlattr_unit ⇒ Object
- #xmlattr_unit=(value) ⇒ Object
Constructor Details
#initialize(*arg) ⇒ MeasureType
Returns a new instance of MeasureType.
1737 1738 1739 1740 |
# File 'lib/paypal-business/default.rb', line 1737 def initialize(*arg) super @__xmlattr = {} end |
Instance Method Details
#xmlattr_unit ⇒ Object
1729 1730 1731 |
# File 'lib/paypal-business/default.rb', line 1729 def xmlattr_unit (@__xmlattr ||= {})[XSD::QName.new(nil, "unit")] end |
#xmlattr_unit=(value) ⇒ Object
1733 1734 1735 |
# File 'lib/paypal-business/default.rb', line 1733 def xmlattr_unit=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "unit")] = value end |