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")]],
["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, callStatus = nil) ⇒ BestOfferType

Returns a new instance of BestOfferType.



12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
# File 'lib/eBay.rb', line 12397

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



12391
12392
12393
# File 'lib/eBay.rb', line 12391

def __xmlele_any
  @__xmlele_any
end

#bestOfferIDObject

Returns the value of attribute bestOfferID.



12382
12383
12384
# File 'lib/eBay.rb', line 12382

def bestOfferID
  @bestOfferID
end

#buyerObject

Returns the value of attribute buyer.



12384
12385
12386
# File 'lib/eBay.rb', line 12384

def buyer
  @buyer
end

#buyerMessageObject

Returns the value of attribute buyerMessage.



12388
12389
12390
# File 'lib/eBay.rb', line 12388

def buyerMessage
  @buyerMessage
end

#callStatusObject

Returns the value of attribute callStatus.



12390
12391
12392
# File 'lib/eBay.rb', line 12390

def callStatus
  @callStatus
end

#expirationTimeObject

Returns the value of attribute expirationTime.



12383
12384
12385
# File 'lib/eBay.rb', line 12383

def expirationTime
  @expirationTime
end

#priceObject

Returns the value of attribute price.



12385
12386
12387
# File 'lib/eBay.rb', line 12385

def price
  @price
end

#quantityObject

Returns the value of attribute quantity.



12387
12388
12389
# File 'lib/eBay.rb', line 12387

def quantity
  @quantity
end

#sellerMessageObject

Returns the value of attribute sellerMessage.



12389
12390
12391
# File 'lib/eBay.rb', line 12389

def sellerMessage
  @sellerMessage
end

#statusObject

Returns the value of attribute status.



12386
12387
12388
# File 'lib/eBay.rb', line 12386

def status
  @status
end

Instance Method Details

#set_any(elements) ⇒ Object



12393
12394
12395
# File 'lib/eBay.rb', line 12393

def set_any(elements)
  @__xmlele_any = elements
end