Class: DisputeType

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

Overview

urn:ebay:apis:eBLBaseComponentsDisputeType

Constant Summary collapse

@@schema_type =
"DisputeType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["disputeID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeID")]],
  ["disputeRecordType", ["DisputeRecordTypeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeRecordType")]],
  ["disputeState", ["DisputeStateCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeState")]],
  ["disputeStatus", ["DisputeStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeStatus")]],
  ["otherPartyRole", ["TradingRoleCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "OtherPartyRole")]],
  ["otherPartyName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "OtherPartyName")]],
  ["userRole", ["TradingRoleCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "UserRole")]],
  ["buyerUserID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BuyerUserID")]],
  ["sellerUserID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SellerUserID")]],
  ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionID")]],
  ["item", ["ItemType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Item")]],
  ["disputeReason", ["DisputeReasonCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeReason")]],
  ["disputeExplanation", ["DisputeExplanationCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeExplanation")]],
  ["disputeCreditEligibility", ["DisputeCreditEligibilityCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeCreditEligibility")]],
  ["disputeCreatedTime", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeCreatedTime")]],
  ["disputeModifiedTime", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeModifiedTime")]],
  ["disputeResolution", ["DisputeResolutionType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeResolution")]],
  ["disputeMessage", ["DisputeMessageType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisputeMessage")]],
  ["escalation", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Escalation")]],
  ["purchaseProtection", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PurchaseProtection")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(disputeID = nil, disputeRecordType = nil, disputeState = nil, disputeStatus = nil, otherPartyRole = nil, otherPartyName = nil, userRole = nil, buyerUserID = nil, sellerUserID = nil, transactionID = nil, item = nil, disputeReason = nil, disputeExplanation = nil, disputeCreditEligibility = nil, disputeCreatedTime = nil, disputeModifiedTime = nil, disputeResolution = [], disputeMessage = [], escalation = nil, purchaseProtection = nil) ⇒ DisputeType

Returns a new instance of DisputeType.



15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
# File 'lib/eBay.rb', line 15334

def initialize(disputeID = nil, disputeRecordType = nil, disputeState = nil, disputeStatus = nil, otherPartyRole = nil, otherPartyName = nil, userRole = nil, buyerUserID = nil, sellerUserID = nil, transactionID = nil, item = nil, disputeReason = nil, disputeExplanation = nil, disputeCreditEligibility = nil, disputeCreatedTime = nil, disputeModifiedTime = nil, disputeResolution = [], disputeMessage = [], escalation = nil, purchaseProtection = nil)
  @disputeID = disputeID
  @disputeRecordType = disputeRecordType
  @disputeState = disputeState
  @disputeStatus = disputeStatus
  @otherPartyRole = otherPartyRole
  @otherPartyName = otherPartyName
  @userRole = userRole
  @buyerUserID = buyerUserID
  @sellerUserID = sellerUserID
  @transactionID = transactionID
  @item = item
  @disputeReason = disputeReason
  @disputeExplanation = disputeExplanation
  @disputeCreditEligibility = disputeCreditEligibility
  @disputeCreatedTime = disputeCreatedTime
  @disputeModifiedTime = disputeModifiedTime
  @disputeResolution = disputeResolution
  @disputeMessage = disputeMessage
  @escalation = escalation
  @purchaseProtection = purchaseProtection
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



15328
15329
15330
# File 'lib/eBay.rb', line 15328

def __xmlele_any
  @__xmlele_any
end

#buyerUserIDObject

Returns the value of attribute buyerUserID.



15315
15316
15317
# File 'lib/eBay.rb', line 15315

def buyerUserID
  @buyerUserID
end

#disputeCreatedTimeObject

Returns the value of attribute disputeCreatedTime.



15322
15323
15324
# File 'lib/eBay.rb', line 15322

def disputeCreatedTime
  @disputeCreatedTime
end

#disputeCreditEligibilityObject

Returns the value of attribute disputeCreditEligibility.



15321
15322
15323
# File 'lib/eBay.rb', line 15321

def disputeCreditEligibility
  @disputeCreditEligibility
end

#disputeExplanationObject

Returns the value of attribute disputeExplanation.



15320
15321
15322
# File 'lib/eBay.rb', line 15320

def disputeExplanation
  @disputeExplanation
end

#disputeIDObject

Returns the value of attribute disputeID.



15308
15309
15310
# File 'lib/eBay.rb', line 15308

def disputeID
  @disputeID
end

#disputeMessageObject

Returns the value of attribute disputeMessage.



15325
15326
15327
# File 'lib/eBay.rb', line 15325

def disputeMessage
  @disputeMessage
end

#disputeModifiedTimeObject

Returns the value of attribute disputeModifiedTime.



15323
15324
15325
# File 'lib/eBay.rb', line 15323

def disputeModifiedTime
  @disputeModifiedTime
end

#disputeReasonObject

Returns the value of attribute disputeReason.



15319
15320
15321
# File 'lib/eBay.rb', line 15319

def disputeReason
  @disputeReason
end

#disputeRecordTypeObject

Returns the value of attribute disputeRecordType.



15309
15310
15311
# File 'lib/eBay.rb', line 15309

def disputeRecordType
  @disputeRecordType
end

#disputeResolutionObject

Returns the value of attribute disputeResolution.



15324
15325
15326
# File 'lib/eBay.rb', line 15324

def disputeResolution
  @disputeResolution
end

#disputeStateObject

Returns the value of attribute disputeState.



15310
15311
15312
# File 'lib/eBay.rb', line 15310

def disputeState
  @disputeState
end

#disputeStatusObject

Returns the value of attribute disputeStatus.



15311
15312
15313
# File 'lib/eBay.rb', line 15311

def disputeStatus
  @disputeStatus
end

#escalationObject

Returns the value of attribute escalation.



15326
15327
15328
# File 'lib/eBay.rb', line 15326

def escalation
  @escalation
end

#itemObject

Returns the value of attribute item.



15318
15319
15320
# File 'lib/eBay.rb', line 15318

def item
  @item
end

#otherPartyNameObject

Returns the value of attribute otherPartyName.



15313
15314
15315
# File 'lib/eBay.rb', line 15313

def otherPartyName
  @otherPartyName
end

#otherPartyRoleObject

Returns the value of attribute otherPartyRole.



15312
15313
15314
# File 'lib/eBay.rb', line 15312

def otherPartyRole
  @otherPartyRole
end

#purchaseProtectionObject

Returns the value of attribute purchaseProtection.



15327
15328
15329
# File 'lib/eBay.rb', line 15327

def purchaseProtection
  @purchaseProtection
end

#sellerUserIDObject

Returns the value of attribute sellerUserID.



15316
15317
15318
# File 'lib/eBay.rb', line 15316

def sellerUserID
  @sellerUserID
end

#transactionIDObject

Returns the value of attribute transactionID.



15317
15318
15319
# File 'lib/eBay.rb', line 15317

def transactionID
  @transactionID
end

#userRoleObject

Returns the value of attribute userRole.



15314
15315
15316
# File 'lib/eBay.rb', line 15314

def userRole
  @userRole
end

Instance Method Details

#set_any(elements) ⇒ Object



15330
15331
15332
# File 'lib/eBay.rb', line 15330

def set_any(elements)
  @__xmlele_any = elements
end