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.



17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
# File 'lib/eBay.rb', line 17876

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.



17870
17871
17872
# File 'lib/eBay.rb', line 17870

def __xmlele_any
  @__xmlele_any
end

#actionObject

Returns the value of attribute action.



17857
17858
17859
# File 'lib/eBay.rb', line 17857

def action
  @action
end

#convertedPriceObject

Returns the value of attribute convertedPrice.



17866
17867
17868
# File 'lib/eBay.rb', line 17866

def convertedPrice
  @convertedPrice
end

#currencyObject

Returns the value of attribute currency.



17858
17859
17860
# File 'lib/eBay.rb', line 17858

def currency
  @currency
end

#highestBidObject

Returns the value of attribute highestBid.



17865
17866
17867
# File 'lib/eBay.rb', line 17865

def highestBid
  @highestBid
end

#itemIDObject

Returns the value of attribute itemID.



17859
17860
17861
# File 'lib/eBay.rb', line 17859

def itemID
  @itemID
end

#maxBidObject

Returns the value of attribute maxBid.



17860
17861
17862
# File 'lib/eBay.rb', line 17860

def maxBid
  @maxBid
end

#quantityObject

Returns the value of attribute quantity.



17861
17862
17863
# File 'lib/eBay.rb', line 17861

def quantity
  @quantity
end

#secondChanceEnabledObject

Returns the value of attribute secondChanceEnabled.



17862
17863
17864
# File 'lib/eBay.rb', line 17862

def secondChanceEnabled
  @secondChanceEnabled
end

#siteCurrencyObject

Returns the value of attribute siteCurrency.



17863
17864
17865
# File 'lib/eBay.rb', line 17863

def siteCurrency
  @siteCurrency
end

#timeBidObject

Returns the value of attribute timeBid.



17864
17865
17866
# File 'lib/eBay.rb', line 17864

def timeBid
  @timeBid
end

#transactionIDObject

Returns the value of attribute transactionID.



17867
17868
17869
# File 'lib/eBay.rb', line 17867

def transactionID
  @transactionID
end

#userObject

Returns the value of attribute user.



17868
17869
17870
# File 'lib/eBay.rb', line 17868

def user
  @user
end

#userConsentObject

Returns the value of attribute userConsent.



17869
17870
17871
# File 'lib/eBay.rb', line 17869

def userConsent
  @userConsent
end

Instance Method Details

#set_any(elements) ⇒ Object



17872
17873
17874
# File 'lib/eBay.rb', line 17872

def set_any(elements)
  @__xmlele_any = elements
end