Class: QuantityType

Inherits:
String
  • Object
show all
Defined in:
lib/v_paypal/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.



1578
1579
1580
1581
# File 'lib/v_paypal/default.rb', line 1578

def initialize(*arg)
  super
  @__xmlattr = {}
end

Instance Method Details

#xmlattr_unitObject



1570
1571
1572
# File 'lib/v_paypal/default.rb', line 1570

def xmlattr_unit
  (@__xmlattr ||= {})[XSD::QName.new(nil, "unit")]
end

#xmlattr_unit=(value) ⇒ Object



1574
1575
1576
# File 'lib/v_paypal/default.rb', line 1574

def xmlattr_unit=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "unit")] = value
end