Class: EBay::LineItemType

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

Overview

urn:ebay:apis:eBLBaseComponentsLineItemType

quantity - SOAP::SOAPInt
countryOfOrigin - SOAP::SOAPString
description - SOAP::SOAPString
itemID - (any)
transactionID - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(quantity = nil, countryOfOrigin = nil, description = nil, itemID = nil, transactionID = nil) ⇒ LineItemType

Returns a new instance of LineItemType.



25931
25932
25933
25934
25935
25936
25937
25938
# File 'lib/eBay.rb', line 25931

def initialize(quantity = nil, countryOfOrigin = nil, description = nil, itemID = nil, transactionID = nil)
  @quantity = quantity
  @countryOfOrigin = countryOfOrigin
  @description = description
  @itemID = itemID
  @transactionID = transactionID
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



25925
25926
25927
# File 'lib/eBay.rb', line 25925

def __xmlele_any
  @__xmlele_any
end

#countryOfOriginObject

Returns the value of attribute countryOfOrigin.



25921
25922
25923
# File 'lib/eBay.rb', line 25921

def countryOfOrigin
  @countryOfOrigin
end

#descriptionObject

Returns the value of attribute description.



25922
25923
25924
# File 'lib/eBay.rb', line 25922

def description
  @description
end

#itemIDObject

Returns the value of attribute itemID.



25923
25924
25925
# File 'lib/eBay.rb', line 25923

def itemID
  @itemID
end

#quantityObject

Returns the value of attribute quantity.



25920
25921
25922
# File 'lib/eBay.rb', line 25920

def quantity
  @quantity
end

#transactionIDObject

Returns the value of attribute transactionID.



25924
25925
25926
# File 'lib/eBay.rb', line 25924

def transactionID
  @transactionID
end

Instance Method Details

#set_any(elements) ⇒ Object



25927
25928
25929
# File 'lib/eBay.rb', line 25927

def set_any(elements)
  @__xmlele_any = elements
end