Class: OfferType

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

Overview

urn:ebay:apis:eBLBaseComponentsOfferType

action - BidActionCodeType
currency - CurrencyCodeType
itemID - (any)
maxBid - AmountType
quantity - SOAP::SOAPInt
secondChanceEnabled - SOAP::SOAPBoolean
siteCurrency - CurrencyCodeType
timeBid - SOAP::SOAPDateTime
highestBid - AmountType
convertedPrice - AmountType
transactionID - SOAP::SOAPString
user - UserType
userConsent - SOAP::SOAPBoolean
bidCount - SOAP::SOAPInt
message - SOAP::SOAPString
bestOfferID - (any)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(action = nil, currency = nil, itemID = nil, maxBid = nil, quantity = nil, secondChanceEnabled = nil, siteCurrency = nil, timeBid = nil, highestBid = nil, convertedPrice = nil, transactionID = nil, user = nil, userConsent = nil, bidCount = nil, message = nil, bestOfferID = nil) ⇒ OfferType

Returns a new instance of OfferType.



21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
# File 'lib/eBay.rb', line 21855

def initialize(action = nil, currency = nil, itemID = nil, maxBid = nil, quantity = nil, secondChanceEnabled = nil, siteCurrency = nil, timeBid = nil, highestBid = nil, convertedPrice = nil, transactionID = nil, user = nil, userConsent = nil, bidCount = nil, message = nil, bestOfferID = nil)
  @action = action
  @currency = currency
  @itemID = itemID
  @maxBid = maxBid
  @quantity = quantity
  @secondChanceEnabled = secondChanceEnabled
  @siteCurrency = siteCurrency
  @timeBid = timeBid
  @highestBid = highestBid
  @convertedPrice = convertedPrice
  @transactionID = transactionID
  @user = user
  @userConsent = userConsent
  @bidCount = bidCount
  @message = message
  @bestOfferID = bestOfferID
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



21849
21850
21851
# File 'lib/eBay.rb', line 21849

def __xmlele_any
  @__xmlele_any
end

#actionObject

Returns the value of attribute action.



21833
21834
21835
# File 'lib/eBay.rb', line 21833

def action
  @action
end

#bestOfferIDObject

Returns the value of attribute bestOfferID.



21848
21849
21850
# File 'lib/eBay.rb', line 21848

def bestOfferID
  @bestOfferID
end

#bidCountObject

Returns the value of attribute bidCount.



21846
21847
21848
# File 'lib/eBay.rb', line 21846

def bidCount
  @bidCount
end

#convertedPriceObject

Returns the value of attribute convertedPrice.



21842
21843
21844
# File 'lib/eBay.rb', line 21842

def convertedPrice
  @convertedPrice
end

#currencyObject

Returns the value of attribute currency.



21834
21835
21836
# File 'lib/eBay.rb', line 21834

def currency
  @currency
end

#highestBidObject

Returns the value of attribute highestBid.



21841
21842
21843
# File 'lib/eBay.rb', line 21841

def highestBid
  @highestBid
end

#itemIDObject

Returns the value of attribute itemID.



21835
21836
21837
# File 'lib/eBay.rb', line 21835

def itemID
  @itemID
end

#maxBidObject

Returns the value of attribute maxBid.



21836
21837
21838
# File 'lib/eBay.rb', line 21836

def maxBid
  @maxBid
end

#messageObject

Returns the value of attribute message.



21847
21848
21849
# File 'lib/eBay.rb', line 21847

def message
  @message
end

#quantityObject

Returns the value of attribute quantity.



21837
21838
21839
# File 'lib/eBay.rb', line 21837

def quantity
  @quantity
end

#secondChanceEnabledObject

Returns the value of attribute secondChanceEnabled.



21838
21839
21840
# File 'lib/eBay.rb', line 21838

def secondChanceEnabled
  @secondChanceEnabled
end

#siteCurrencyObject

Returns the value of attribute siteCurrency.



21839
21840
21841
# File 'lib/eBay.rb', line 21839

def siteCurrency
  @siteCurrency
end

#timeBidObject

Returns the value of attribute timeBid.



21840
21841
21842
# File 'lib/eBay.rb', line 21840

def timeBid
  @timeBid
end

#transactionIDObject

Returns the value of attribute transactionID.



21843
21844
21845
# File 'lib/eBay.rb', line 21843

def transactionID
  @transactionID
end

#userObject

Returns the value of attribute user.



21844
21845
21846
# File 'lib/eBay.rb', line 21844

def user
  @user
end

#userConsentObject

Returns the value of attribute userConsent.



21845
21846
21847
# File 'lib/eBay.rb', line 21845

def userConsent
  @userConsent
end

Instance Method Details

#set_any(elements) ⇒ Object



21851
21852
21853
# File 'lib/eBay.rb', line 21851

def set_any(elements)
  @__xmlele_any = elements
end