Class: BestOfferType

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

Overview

urn:ebay:apis:eBLBaseComponentsBestOfferType

Constant Summary collapse

@@schema_type =
"BestOfferType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["bestOfferID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BestOfferID")]],
  ["expirationTime", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExpirationTime")]],
  ["buyer", ["UserType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Buyer")]],
  ["price", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Price")]],
  ["status", ["BestOfferStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Status")]],
  ["quantity", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Quantity")]],
  ["buyerMessage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BuyerMessage")]],
  ["sellerMessage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SellerMessage")]],
  ["bestOfferCodeType", ["BestOfferTypeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BestOfferCodeType")]],
  ["callStatus", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CallStatus")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bestOfferID = nil, expirationTime = nil, buyer = nil, price = nil, status = nil, quantity = nil, buyerMessage = nil, sellerMessage = nil, bestOfferCodeType = nil, callStatus = nil) ⇒ BestOfferType

Returns a new instance of BestOfferType.



15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
# File 'lib/eBay.rb', line 15563

def initialize(bestOfferID = nil, expirationTime = nil, buyer = nil, price = nil, status = nil, quantity = nil, buyerMessage = nil, sellerMessage = nil, bestOfferCodeType = nil, callStatus = nil)
  @bestOfferID = bestOfferID
  @expirationTime = expirationTime
  @buyer = buyer
  @price = price
  @status = status
  @quantity = quantity
  @buyerMessage = buyerMessage
  @sellerMessage = sellerMessage
  @bestOfferCodeType = bestOfferCodeType
  @callStatus = callStatus
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



15557
15558
15559
# File 'lib/eBay.rb', line 15557

def __xmlele_any
  @__xmlele_any
end

#bestOfferCodeTypeObject

Returns the value of attribute bestOfferCodeType.



15555
15556
15557
# File 'lib/eBay.rb', line 15555

def bestOfferCodeType
  @bestOfferCodeType
end

#bestOfferIDObject

Returns the value of attribute bestOfferID.



15547
15548
15549
# File 'lib/eBay.rb', line 15547

def bestOfferID
  @bestOfferID
end

#buyerObject

Returns the value of attribute buyer.



15549
15550
15551
# File 'lib/eBay.rb', line 15549

def buyer
  @buyer
end

#buyerMessageObject

Returns the value of attribute buyerMessage.



15553
15554
15555
# File 'lib/eBay.rb', line 15553

def buyerMessage
  @buyerMessage
end

#callStatusObject

Returns the value of attribute callStatus.



15556
15557
15558
# File 'lib/eBay.rb', line 15556

def callStatus
  @callStatus
end

#expirationTimeObject

Returns the value of attribute expirationTime.



15548
15549
15550
# File 'lib/eBay.rb', line 15548

def expirationTime
  @expirationTime
end

#priceObject

Returns the value of attribute price.



15550
15551
15552
# File 'lib/eBay.rb', line 15550

def price
  @price
end

#quantityObject

Returns the value of attribute quantity.



15552
15553
15554
# File 'lib/eBay.rb', line 15552

def quantity
  @quantity
end

#sellerMessageObject

Returns the value of attribute sellerMessage.



15554
15555
15556
# File 'lib/eBay.rb', line 15554

def sellerMessage
  @sellerMessage
end

#statusObject

Returns the value of attribute status.



15551
15552
15553
# File 'lib/eBay.rb', line 15551

def status
  @status
end

Instance Method Details

#set_any(elements) ⇒ Object



15559
15560
15561
# File 'lib/eBay.rb', line 15559

def set_any(elements)
  @__xmlele_any = elements
end