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.



15500
15501
15502
15503
15504
15505
15506
15507
# File 'lib/eBay.rb', line 15500

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.



15494
15495
15496
# File 'lib/eBay.rb', line 15494

def __xmlele_any
  @__xmlele_any
end

#bestOfferObject

Returns the value of attribute bestOffer.



15491
15492
15493
# File 'lib/eBay.rb', line 15491

def bestOffer
  @bestOffer
end

#bestOfferCountObject

Returns the value of attribute bestOfferCount.



15489
15490
15491
# File 'lib/eBay.rb', line 15489

def bestOfferCount
  @bestOfferCount
end

#bestOfferEnabledObject

Returns the value of attribute bestOfferEnabled.



15490
15491
15492
# File 'lib/eBay.rb', line 15490

def bestOfferEnabled
  @bestOfferEnabled
end

#bestOfferStatusObject

Returns the value of attribute bestOfferStatus.



15492
15493
15494
# File 'lib/eBay.rb', line 15492

def bestOfferStatus
  @bestOfferStatus
end

#bestOfferTypeObject

Returns the value of attribute bestOfferType.



15493
15494
15495
# File 'lib/eBay.rb', line 15493

def bestOfferType
  @bestOfferType
end

Instance Method Details

#set_any(elements) ⇒ Object



15496
15497
15498
# File 'lib/eBay.rb', line 15496

def set_any(elements)
  @__xmlele_any = elements
end