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")]],
["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) ⇒ BestOfferDetailsType

Returns a new instance of BestOfferDetailsType.



12339
12340
12341
12342
12343
12344
12345
# File 'lib/eBay.rb', line 12339

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



12333
12334
12335
# File 'lib/eBay.rb', line 12333

def __xmlele_any
  @__xmlele_any
end

#bestOfferObject

Returns the value of attribute bestOffer.



12331
12332
12333
# File 'lib/eBay.rb', line 12331

def bestOffer
  @bestOffer
end

#bestOfferCountObject

Returns the value of attribute bestOfferCount.



12329
12330
12331
# File 'lib/eBay.rb', line 12329

def bestOfferCount
  @bestOfferCount
end

#bestOfferEnabledObject

Returns the value of attribute bestOfferEnabled.



12330
12331
12332
# File 'lib/eBay.rb', line 12330

def bestOfferEnabled
  @bestOfferEnabled
end

#bestOfferStatusObject

Returns the value of attribute bestOfferStatus.



12332
12333
12334
# File 'lib/eBay.rb', line 12332

def bestOfferStatus
  @bestOfferStatus
end

Instance Method Details

#set_any(elements) ⇒ Object



12335
12336
12337
# File 'lib/eBay.rb', line 12335

def set_any(elements)
  @__xmlele_any = elements
end