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", ["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")]],
  ["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, warningLevel = nil, disputeExplanation = nil, disputeReason = nil, itemID = nil, transactionID = nil) ⇒ AddDisputeRequestType

Returns a new instance of AddDisputeRequestType.



39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/eBay.rb', line 39

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, warningLevel = nil, disputeExplanation = nil, disputeReason = nil, itemID = nil, transactionID = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @errorHandling = errorHandling
  @invocationID = invocationID
  @warningLevel = warningLevel
  @__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.



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

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



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

def detailLevel
  @detailLevel
end

#disputeExplanationObject

Returns the value of attribute disputeExplanation.



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

def disputeExplanation
  @disputeExplanation
end

#disputeReasonObject

Returns the value of attribute disputeReason.



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

def disputeReason
  @disputeReason
end

#errorHandlingObject

Returns the value of attribute errorHandling.



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

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



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

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



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

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



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

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



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

def messageID
  @messageID
end

#transactionIDObject

Returns the value of attribute transactionID.



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

def transactionID
  @transactionID
end

#versionObject

Returns the value of attribute version.



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

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



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

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



35
36
37
# File 'lib/eBay.rb', line 35

def set_any(elements)
  @__xmlele_any = elements
end