Class: QuantityType
- Inherits:
-
String
- Object
- String
- QuantityType
- Defined in:
- lib/paypal-business/default.rb
Overview
urn:ebay:apis:CoreComponentTypesQuantityType
contains SOAP::SOAPDouble
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.
1758 1759 1760 1761 |
# File 'lib/paypal-business/default.rb', line 1758 def initialize(*arg) super @__xmlattr = {} end |
Instance Method Details
#xmlattr_unit ⇒ Object
1750 1751 1752 |
# File 'lib/paypal-business/default.rb', line 1750 def xmlattr_unit (@__xmlattr ||= {})[XSD::QName.new(nil, "unit")] end |
#xmlattr_unit=(value) ⇒ Object
1754 1755 1756 |
# File 'lib/paypal-business/default.rb', line 1754 def xmlattr_unit=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "unit")] = value end |