Class: MangoModel::DisputeDocument

Inherits:
EntityBase show all
Includes:
MangoPay::Jsonifier
Defined in:
lib/mangopay/model/entity/dispute_document.rb

Overview

Dispute Document entity A Dispute Document must be created in order to upload pages of a document pertaining to a certain dispute.

Constant Summary

Constants included from MangoPay::Jsonifier

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

Attributes inherited from EntityBase

#creation_date, #id, #tag

Method Summary

Methods included from MangoPay::Jsonifier

#dejsonify, #jsonify!

Methods included from NonInstantiable

#initialize

Instance Attribute Details

#dispute_idObject

String

ID of the corresponding dispute



12
13
14
# File 'lib/mangopay/model/entity/dispute_document.rb', line 12

def dispute_id
  @dispute_id
end

#processed_dateObject

Integer

Time when the document was processed (UNIX timestamp)



27
28
29
# File 'lib/mangopay/model/entity/dispute_document.rb', line 27

def processed_date
  @processed_date
end

#refused_reason_messageObject

String

Explanation of its refusal



24
25
26
# File 'lib/mangopay/model/entity/dispute_document.rb', line 24

def refused_reason_message
  @refused_reason_message
end

#refused_reason_typeObject

DisputeDocRefusedReasonType

Type of its refusal reason



21
22
23
# File 'lib/mangopay/model/entity/dispute_document.rb', line 21

def refused_reason_type
  @refused_reason_type
end

#statusObject

DocumentStatus

Its status



15
16
17
# File 'lib/mangopay/model/entity/dispute_document.rb', line 15

def status
  @status
end

#typeObject

DisputeDocumentType

Its type



18
19
20
# File 'lib/mangopay/model/entity/dispute_document.rb', line 18

def type
  @type
end