Class: QuantityType

Inherits:
String
  • Object
show all
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

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_unitObject



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