Class: AddDisputeRequestType

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

Overview

urn:ebay:apis:eBLBaseComponentsAddDisputeRequestType

Constant Summary collapse

@@schema_type =
"AddDisputeRequestType"
@@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", ["UUIDType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InvocationID")]],
["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]],
["disputeExplanation", ["DisputeExplanationCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeExplanation")]],
["disputeReason", ["DisputeReasonCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeReason")]],
["itemID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemID")]],
["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionID")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, disputeExplanation = nil, disputeReason = nil, itemID = nil, transactionID = nil) ⇒ AddDisputeRequestType

Returns a new instance of AddDisputeRequestType.



36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/eBay.rb', line 36

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, disputeExplanation = nil, disputeReason = nil, itemID = nil, transactionID = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @errorHandling = errorHandling
  @invocationID = invocationID
  @__xmlele_any = nil
  @disputeExplanation = disputeExplanation
  @disputeReason = disputeReason
  @itemID = itemID
  @transactionID = transactionID
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



26
27
28
# File 'lib/eBay.rb', line 26

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



20
21
22
# File 'lib/eBay.rb', line 20

def detailLevel
  @detailLevel
end

#disputeExplanationObject

Returns the value of attribute disputeExplanation.



27
28
29
# File 'lib/eBay.rb', line 27

def disputeExplanation
  @disputeExplanation
end

#disputeReasonObject

Returns the value of attribute disputeReason.



28
29
30
# File 'lib/eBay.rb', line 28

def disputeReason
  @disputeReason
end

#errorHandlingObject

Returns the value of attribute errorHandling.



24
25
26
# File 'lib/eBay.rb', line 24

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



21
22
23
# File 'lib/eBay.rb', line 21

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



25
26
27
# File 'lib/eBay.rb', line 25

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



29
30
31
# File 'lib/eBay.rb', line 29

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



22
23
24
# File 'lib/eBay.rb', line 22

def messageID
  @messageID
end

#transactionIDObject

Returns the value of attribute transactionID.



30
31
32
# File 'lib/eBay.rb', line 30

def transactionID
  @transactionID
end

#versionObject

Returns the value of attribute version.



23
24
25
# File 'lib/eBay.rb', line 23

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



32
33
34
# File 'lib/eBay.rb', line 32

def set_any(elements)
  @__xmlele_any = elements
end