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.



13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
# File 'lib/eBay.rb', line 13534

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.



13528
13529
13530
# File 'lib/eBay.rb', line 13528

def __xmlele_any
  @__xmlele_any
end

#buyerUserIDObject

Returns the value of attribute buyerUserID.



13515
13516
13517
# File 'lib/eBay.rb', line 13515

def buyerUserID
  @buyerUserID
end

#disputeCreatedTimeObject

Returns the value of attribute disputeCreatedTime.



13522
13523
13524
# File 'lib/eBay.rb', line 13522

def disputeCreatedTime
  @disputeCreatedTime
end

#disputeCreditEligibilityObject

Returns the value of attribute disputeCreditEligibility.



13521
13522
13523
# File 'lib/eBay.rb', line 13521

def disputeCreditEligibility
  @disputeCreditEligibility
end

#disputeExplanationObject

Returns the value of attribute disputeExplanation.



13520
13521
13522
# File 'lib/eBay.rb', line 13520

def disputeExplanation
  @disputeExplanation
end

#disputeIDObject

Returns the value of attribute disputeID.



13508
13509
13510
# File 'lib/eBay.rb', line 13508

def disputeID
  @disputeID
end

#disputeMessageObject

Returns the value of attribute disputeMessage.



13525
13526
13527
# File 'lib/eBay.rb', line 13525

def disputeMessage
  @disputeMessage
end

#disputeModifiedTimeObject

Returns the value of attribute disputeModifiedTime.



13523
13524
13525
# File 'lib/eBay.rb', line 13523

def disputeModifiedTime
  @disputeModifiedTime
end

#disputeReasonObject

Returns the value of attribute disputeReason.



13519
13520
13521
# File 'lib/eBay.rb', line 13519

def disputeReason
  @disputeReason
end

#disputeRecordTypeObject

Returns the value of attribute disputeRecordType.



13509
13510
13511
# File 'lib/eBay.rb', line 13509

def disputeRecordType
  @disputeRecordType
end

#disputeResolutionObject

Returns the value of attribute disputeResolution.



13524
13525
13526
# File 'lib/eBay.rb', line 13524

def disputeResolution
  @disputeResolution
end

#disputeStateObject

Returns the value of attribute disputeState.



13510
13511
13512
# File 'lib/eBay.rb', line 13510

def disputeState
  @disputeState
end

#disputeStatusObject

Returns the value of attribute disputeStatus.



13511
13512
13513
# File 'lib/eBay.rb', line 13511

def disputeStatus
  @disputeStatus
end

#escalationObject

Returns the value of attribute escalation.



13526
13527
13528
# File 'lib/eBay.rb', line 13526

def escalation
  @escalation
end

#itemObject

Returns the value of attribute item.



13518
13519
13520
# File 'lib/eBay.rb', line 13518

def item
  @item
end

#otherPartyNameObject

Returns the value of attribute otherPartyName.



13513
13514
13515
# File 'lib/eBay.rb', line 13513

def otherPartyName
  @otherPartyName
end

#otherPartyRoleObject

Returns the value of attribute otherPartyRole.



13512
13513
13514
# File 'lib/eBay.rb', line 13512

def otherPartyRole
  @otherPartyRole
end

#purchaseProtectionObject

Returns the value of attribute purchaseProtection.



13527
13528
13529
# File 'lib/eBay.rb', line 13527

def purchaseProtection
  @purchaseProtection
end

#sellerUserIDObject

Returns the value of attribute sellerUserID.



13516
13517
13518
# File 'lib/eBay.rb', line 13516

def sellerUserID
  @sellerUserID
end

#transactionIDObject

Returns the value of attribute transactionID.



13517
13518
13519
# File 'lib/eBay.rb', line 13517

def transactionID
  @transactionID
end

#userRoleObject

Returns the value of attribute userRole.



13514
13515
13516
# File 'lib/eBay.rb', line 13514

def userRole
  @userRole
end

Instance Method Details

#set_any(elements) ⇒ Object



13530
13531
13532
# File 'lib/eBay.rb', line 13530

def set_any(elements)
  @__xmlele_any = elements
end