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.



13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
# File 'lib/eBay.rb', line 13909

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.



13903
13904
13905
# File 'lib/eBay.rb', line 13903

def __xmlele_any
  @__xmlele_any
end

#bestOfferCodeTypeObject

Returns the value of attribute bestOfferCodeType.



13901
13902
13903
# File 'lib/eBay.rb', line 13901

def bestOfferCodeType
  @bestOfferCodeType
end

#bestOfferIDObject

Returns the value of attribute bestOfferID.



13893
13894
13895
# File 'lib/eBay.rb', line 13893

def bestOfferID
  @bestOfferID
end

#buyerObject

Returns the value of attribute buyer.



13895
13896
13897
# File 'lib/eBay.rb', line 13895

def buyer
  @buyer
end

#buyerMessageObject

Returns the value of attribute buyerMessage.



13899
13900
13901
# File 'lib/eBay.rb', line 13899

def buyerMessage
  @buyerMessage
end

#callStatusObject

Returns the value of attribute callStatus.



13902
13903
13904
# File 'lib/eBay.rb', line 13902

def callStatus
  @callStatus
end

#expirationTimeObject

Returns the value of attribute expirationTime.



13894
13895
13896
# File 'lib/eBay.rb', line 13894

def expirationTime
  @expirationTime
end

#priceObject

Returns the value of attribute price.



13896
13897
13898
# File 'lib/eBay.rb', line 13896

def price
  @price
end

#quantityObject

Returns the value of attribute quantity.



13898
13899
13900
# File 'lib/eBay.rb', line 13898

def quantity
  @quantity
end

#sellerMessageObject

Returns the value of attribute sellerMessage.



13900
13901
13902
# File 'lib/eBay.rb', line 13900

def sellerMessage
  @sellerMessage
end

#statusObject

Returns the value of attribute status.



13897
13898
13899
# File 'lib/eBay.rb', line 13897

def status
  @status
end

Instance Method Details

#set_any(elements) ⇒ Object



13905
13906
13907
# File 'lib/eBay.rb', line 13905

def set_any(elements)
  @__xmlele_any = elements
end