Class: ItemTotalsType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsItemTotalsType

Constant Summary collapse

@@schema_type =
"ItemTotalsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["totalQuantity", ["SOAP::SOAPLong", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TotalQuantity")]],
  ["totalValue", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TotalValue")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalQuantity = nil, totalValue = nil) ⇒ ItemTotalsType

Returns a new instance of ItemTotalsType.



18273
18274
18275
18276
# File 'lib/eBay.rb', line 18273

def initialize(totalQuantity = nil, totalValue = nil)
  @totalQuantity = totalQuantity
  @totalValue = totalValue
end

Instance Attribute Details

#totalQuantityObject

Returns the value of attribute totalQuantity.



18270
18271
18272
# File 'lib/eBay.rb', line 18270

def totalQuantity
  @totalQuantity
end

#totalValueObject

Returns the value of attribute totalValue.



18271
18272
18273
# File 'lib/eBay.rb', line 18271

def totalValue
  @totalValue
end