Class: OfferType

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

Overview

urn:ebay:apis:eBLBaseComponentsOfferType

Constant Summary collapse

@@schema_type =
"OfferType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["action", ["BidActionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Action")]],
  ["currency", ["CurrencyCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Currency")]],
  ["itemID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemID")]],
  ["maxBid", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MaxBid")]],
  ["quantity", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Quantity")]],
  ["secondChanceEnabled", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SecondChanceEnabled")]],
  ["siteCurrency", ["CurrencyCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SiteCurrency")]],
  ["timeBid", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TimeBid")]],
  ["highestBid", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "HighestBid")]],
  ["convertedPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ConvertedPrice")]],
  ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionID")]],
  ["user", ["UserType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "User")]],
  ["userConsent", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "UserConsent")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

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) ⇒ OfferType

Returns a new instance of OfferType.



20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
# File 'lib/eBay.rb', line 20340

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



20334
20335
20336
# File 'lib/eBay.rb', line 20334

def __xmlele_any
  @__xmlele_any
end

#actionObject

Returns the value of attribute action.



20321
20322
20323
# File 'lib/eBay.rb', line 20321

def action
  @action
end

#convertedPriceObject

Returns the value of attribute convertedPrice.



20330
20331
20332
# File 'lib/eBay.rb', line 20330

def convertedPrice
  @convertedPrice
end

#currencyObject

Returns the value of attribute currency.



20322
20323
20324
# File 'lib/eBay.rb', line 20322

def currency
  @currency
end

#highestBidObject

Returns the value of attribute highestBid.



20329
20330
20331
# File 'lib/eBay.rb', line 20329

def highestBid
  @highestBid
end

#itemIDObject

Returns the value of attribute itemID.



20323
20324
20325
# File 'lib/eBay.rb', line 20323

def itemID
  @itemID
end

#maxBidObject

Returns the value of attribute maxBid.



20324
20325
20326
# File 'lib/eBay.rb', line 20324

def maxBid
  @maxBid
end

#quantityObject

Returns the value of attribute quantity.



20325
20326
20327
# File 'lib/eBay.rb', line 20325

def quantity
  @quantity
end

#secondChanceEnabledObject

Returns the value of attribute secondChanceEnabled.



20326
20327
20328
# File 'lib/eBay.rb', line 20326

def secondChanceEnabled
  @secondChanceEnabled
end

#siteCurrencyObject

Returns the value of attribute siteCurrency.



20327
20328
20329
# File 'lib/eBay.rb', line 20327

def siteCurrency
  @siteCurrency
end

#timeBidObject

Returns the value of attribute timeBid.



20328
20329
20330
# File 'lib/eBay.rb', line 20328

def timeBid
  @timeBid
end

#transactionIDObject

Returns the value of attribute transactionID.



20331
20332
20333
# File 'lib/eBay.rb', line 20331

def transactionID
  @transactionID
end

#userObject

Returns the value of attribute user.



20332
20333
20334
# File 'lib/eBay.rb', line 20332

def user
  @user
end

#userConsentObject

Returns the value of attribute userConsent.



20333
20334
20335
# File 'lib/eBay.rb', line 20333

def userConsent
  @userConsent
end

Instance Method Details

#set_any(elements) ⇒ Object



20336
20337
20338
# File 'lib/eBay.rb', line 20336

def set_any(elements)
  @__xmlele_any = elements
end