Class: MangoModel::KycDocument

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

Overview

KYC Document entity The KYC Document object is a request to validate a required document.

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

#processed_dateObject

Integer

Time when the document was processed (UNIX timestamp)



26
27
28
# File 'lib/mangopay/model/entity/kyc_document.rb', line 26

def processed_date
  @processed_date
end

#refused_reason_messageObject

String

The message accompanying a refusal



20
21
22
# File 'lib/mangopay/model/entity/kyc_document.rb', line 20

def refused_reason_message
  @refused_reason_message
end

#refused_reason_typeObject

KycDocRefusedReasonType

Reason of refusal



23
24
25
# File 'lib/mangopay/model/entity/kyc_document.rb', line 23

def refused_reason_type
  @refused_reason_type
end

#statusObject

DocumentStatus

Its processing status



17
18
19
# File 'lib/mangopay/model/entity/kyc_document.rb', line 17

def status
  @status
end

#typeObject

KycDocumentType

Its type



11
12
13
# File 'lib/mangopay/model/entity/kyc_document.rb', line 11

def type
  @type
end

#user_idObject

String

ID of its owner



14
15
16
# File 'lib/mangopay/model/entity/kyc_document.rb', line 14

def user_id
  @user_id
end