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.



15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
# File 'lib/eBay.rb', line 15639

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.



15633
15634
15635
# File 'lib/eBay.rb', line 15633

def __xmlele_any
  @__xmlele_any
end

#actionObject

Returns the value of attribute action.



15620
15621
15622
# File 'lib/eBay.rb', line 15620

def action
  @action
end

#convertedPriceObject

Returns the value of attribute convertedPrice.



15629
15630
15631
# File 'lib/eBay.rb', line 15629

def convertedPrice
  @convertedPrice
end

#currencyObject

Returns the value of attribute currency.



15621
15622
15623
# File 'lib/eBay.rb', line 15621

def currency
  @currency
end

#highestBidObject

Returns the value of attribute highestBid.



15628
15629
15630
# File 'lib/eBay.rb', line 15628

def highestBid
  @highestBid
end

#itemIDObject

Returns the value of attribute itemID.



15622
15623
15624
# File 'lib/eBay.rb', line 15622

def itemID
  @itemID
end

#maxBidObject

Returns the value of attribute maxBid.



15623
15624
15625
# File 'lib/eBay.rb', line 15623

def maxBid
  @maxBid
end

#quantityObject

Returns the value of attribute quantity.



15624
15625
15626
# File 'lib/eBay.rb', line 15624

def quantity
  @quantity
end

#secondChanceEnabledObject

Returns the value of attribute secondChanceEnabled.



15625
15626
15627
# File 'lib/eBay.rb', line 15625

def secondChanceEnabled
  @secondChanceEnabled
end

#siteCurrencyObject

Returns the value of attribute siteCurrency.



15626
15627
15628
# File 'lib/eBay.rb', line 15626

def siteCurrency
  @siteCurrency
end

#timeBidObject

Returns the value of attribute timeBid.



15627
15628
15629
# File 'lib/eBay.rb', line 15627

def timeBid
  @timeBid
end

#transactionIDObject

Returns the value of attribute transactionID.



15630
15631
15632
# File 'lib/eBay.rb', line 15630

def transactionID
  @transactionID
end

#userObject

Returns the value of attribute user.



15631
15632
15633
# File 'lib/eBay.rb', line 15631

def user
  @user
end

#userConsentObject

Returns the value of attribute userConsent.



15632
15633
15634
# File 'lib/eBay.rb', line 15632

def userConsent
  @userConsent
end

Instance Method Details

#set_any(elements) ⇒ Object



15635
15636
15637
# File 'lib/eBay.rb', line 15635

def set_any(elements)
  @__xmlele_any = elements
end