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.



11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
# File 'lib/eBay.rb', line 11065

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.



11056
11057
11058
# File 'lib/eBay.rb', line 11056

def __xmlele_any
  @__xmlele_any
end

#blockOnWarningObject

Returns the value of attribute blockOnWarning.



11059
11060
11061
# File 'lib/eBay.rb', line 11059

def blockOnWarning
  @blockOnWarning
end

#detailLevelObject

Returns the value of attribute detailLevel.



11049
11050
11051
# File 'lib/eBay.rb', line 11049

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



11053
11054
11055
# File 'lib/eBay.rb', line 11053

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



11050
11051
11052
# File 'lib/eBay.rb', line 11050

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



11054
11055
11056
# File 'lib/eBay.rb', line 11054

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



11058
11059
11060
# File 'lib/eBay.rb', line 11058

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



11051
11052
11053
# File 'lib/eBay.rb', line 11051

def messageID
  @messageID
end

#offerObject

Returns the value of attribute offer.



11057
11058
11059
# File 'lib/eBay.rb', line 11057

def offer
  @offer
end

#versionObject

Returns the value of attribute version.



11052
11053
11054
# File 'lib/eBay.rb', line 11052

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



11055
11056
11057
# File 'lib/eBay.rb', line 11055

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



11061
11062
11063
# File 'lib/eBay.rb', line 11061

def set_any(elements)
  @__xmlele_any = elements
end