Class: PlaceOfferRequestType

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

Overview

urn:ebay:apis:eBLBaseComponentsPlaceOfferRequestType

Constant Summary collapse

@@schema_type =
"PlaceOfferRequestType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["detailLevel", ["DetailLevelCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DetailLevel")]],
  ["errorLanguage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorLanguage")]],
  ["messageID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MessageID")]],
  ["version", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Version")]],
  ["errorHandling", ["ErrorHandlingCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorHandling")]],
  ["invocationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InvocationID")]],
  ["warningLevel", ["WarningLevelCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "WarningLevel")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]],
  ["offer", ["OfferType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Offer")]],
  ["itemID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemID")]],
  ["blockOnWarning", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BlockOnWarning")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, warningLevel = nil, offer = nil, itemID = nil, blockOnWarning = nil) ⇒ PlaceOfferRequestType

Returns a new instance of PlaceOfferRequestType.



9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
# File 'lib/eBay.rb', line 9816

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, warningLevel = nil, offer = nil, itemID = nil, blockOnWarning = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @errorHandling = errorHandling
  @invocationID = invocationID
  @warningLevel = warningLevel
  @__xmlele_any = nil
  @offer = offer
  @itemID = itemID
  @blockOnWarning = blockOnWarning
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



9807
9808
9809
# File 'lib/eBay.rb', line 9807

def __xmlele_any
  @__xmlele_any
end

#blockOnWarningObject

Returns the value of attribute blockOnWarning.



9810
9811
9812
# File 'lib/eBay.rb', line 9810

def blockOnWarning
  @blockOnWarning
end

#detailLevelObject

Returns the value of attribute detailLevel.



9800
9801
9802
# File 'lib/eBay.rb', line 9800

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



9804
9805
9806
# File 'lib/eBay.rb', line 9804

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



9801
9802
9803
# File 'lib/eBay.rb', line 9801

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



9805
9806
9807
# File 'lib/eBay.rb', line 9805

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



9809
9810
9811
# File 'lib/eBay.rb', line 9809

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



9802
9803
9804
# File 'lib/eBay.rb', line 9802

def messageID
  @messageID
end

#offerObject

Returns the value of attribute offer.



9808
9809
9810
# File 'lib/eBay.rb', line 9808

def offer
  @offer
end

#versionObject

Returns the value of attribute version.



9803
9804
9805
# File 'lib/eBay.rb', line 9803

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



9806
9807
9808
# File 'lib/eBay.rb', line 9806

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



9812
9813
9814
# File 'lib/eBay.rb', line 9812

def set_any(elements)
  @__xmlele_any = elements
end