Class: BestOfferDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsBestOfferDetailsType

Constant Summary collapse

@@schema_type =
"BestOfferDetailsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["bestOfferCount", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BestOfferCount")]],
  ["bestOfferEnabled", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BestOfferEnabled")]],
  ["bestOffer", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BestOffer")]],
  ["bestOfferStatus", ["BestOfferStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BestOfferStatus")]],
  ["bestOfferType", ["BestOfferTypeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BestOfferType")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bestOfferCount = nil, bestOfferEnabled = nil, bestOffer = nil, bestOfferStatus = nil, bestOfferType = nil) ⇒ BestOfferDetailsType

Returns a new instance of BestOfferDetailsType.



13846
13847
13848
13849
13850
13851
13852
13853
# File 'lib/eBay.rb', line 13846

def initialize(bestOfferCount = nil, bestOfferEnabled = nil, bestOffer = nil, bestOfferStatus = nil, bestOfferType = nil)
  @bestOfferCount = bestOfferCount
  @bestOfferEnabled = bestOfferEnabled
  @bestOffer = bestOffer
  @bestOfferStatus = bestOfferStatus
  @bestOfferType = bestOfferType
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



13840
13841
13842
# File 'lib/eBay.rb', line 13840

def __xmlele_any
  @__xmlele_any
end

#bestOfferObject

Returns the value of attribute bestOffer.



13837
13838
13839
# File 'lib/eBay.rb', line 13837

def bestOffer
  @bestOffer
end

#bestOfferCountObject

Returns the value of attribute bestOfferCount.



13835
13836
13837
# File 'lib/eBay.rb', line 13835

def bestOfferCount
  @bestOfferCount
end

#bestOfferEnabledObject

Returns the value of attribute bestOfferEnabled.



13836
13837
13838
# File 'lib/eBay.rb', line 13836

def bestOfferEnabled
  @bestOfferEnabled
end

#bestOfferStatusObject

Returns the value of attribute bestOfferStatus.



13838
13839
13840
# File 'lib/eBay.rb', line 13838

def bestOfferStatus
  @bestOfferStatus
end

#bestOfferTypeObject

Returns the value of attribute bestOfferType.



13839
13840
13841
# File 'lib/eBay.rb', line 13839

def bestOfferType
  @bestOfferType
end

Instance Method Details

#set_any(elements) ⇒ Object



13842
13843
13844
# File 'lib/eBay.rb', line 13842

def set_any(elements)
  @__xmlele_any = elements
end