Class: EBay::OfferType

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

Overview

urn:ebay:apis:eBLBaseComponentsOfferType

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

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, myMaxBid = nil) ⇒ OfferType

Returns a new instance of OfferType.



28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
# File 'lib/eBay.rb', line 28108

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, myMaxBid = 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
  @myMaxBid = myMaxBid
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



28102
28103
28104
# File 'lib/eBay.rb', line 28102

def __xmlele_any
  @__xmlele_any
end

#actionObject

Returns the value of attribute action.



28085
28086
28087
# File 'lib/eBay.rb', line 28085

def action
  @action
end

#bestOfferIDObject

Returns the value of attribute bestOfferID.



28100
28101
28102
# File 'lib/eBay.rb', line 28100

def bestOfferID
  @bestOfferID
end

#bidCountObject

Returns the value of attribute bidCount.



28098
28099
28100
# File 'lib/eBay.rb', line 28098

def bidCount
  @bidCount
end

#convertedPriceObject

Returns the value of attribute convertedPrice.



28094
28095
28096
# File 'lib/eBay.rb', line 28094

def convertedPrice
  @convertedPrice
end

#currencyObject

Returns the value of attribute currency.



28086
28087
28088
# File 'lib/eBay.rb', line 28086

def currency
  @currency
end

#highestBidObject

Returns the value of attribute highestBid.



28093
28094
28095
# File 'lib/eBay.rb', line 28093

def highestBid
  @highestBid
end

#itemIDObject

Returns the value of attribute itemID.



28087
28088
28089
# File 'lib/eBay.rb', line 28087

def itemID
  @itemID
end

#maxBidObject

Returns the value of attribute maxBid.



28088
28089
28090
# File 'lib/eBay.rb', line 28088

def maxBid
  @maxBid
end

#messageObject

Returns the value of attribute message.



28099
28100
28101
# File 'lib/eBay.rb', line 28099

def message
  @message
end

#myMaxBidObject

Returns the value of attribute myMaxBid.



28101
28102
28103
# File 'lib/eBay.rb', line 28101

def myMaxBid
  @myMaxBid
end

#quantityObject

Returns the value of attribute quantity.



28089
28090
28091
# File 'lib/eBay.rb', line 28089

def quantity
  @quantity
end

#secondChanceEnabledObject

Returns the value of attribute secondChanceEnabled.



28090
28091
28092
# File 'lib/eBay.rb', line 28090

def secondChanceEnabled
  @secondChanceEnabled
end

#siteCurrencyObject

Returns the value of attribute siteCurrency.



28091
28092
28093
# File 'lib/eBay.rb', line 28091

def siteCurrency
  @siteCurrency
end

#timeBidObject

Returns the value of attribute timeBid.



28092
28093
28094
# File 'lib/eBay.rb', line 28092

def timeBid
  @timeBid
end

#transactionIDObject

Returns the value of attribute transactionID.



28095
28096
28097
# File 'lib/eBay.rb', line 28095

def transactionID
  @transactionID
end

#userObject

Returns the value of attribute user.



28096
28097
28098
# File 'lib/eBay.rb', line 28096

def user
  @user
end

#userConsentObject

Returns the value of attribute userConsent.



28097
28098
28099
# File 'lib/eBay.rb', line 28097

def userConsent
  @userConsent
end

Instance Method Details

#set_any(elements) ⇒ Object



28104
28105
28106
# File 'lib/eBay.rb', line 28104

def set_any(elements)
  @__xmlele_any = elements
end