Sha256: 02366f4e356669f76368ee0cf8e3b45cf29b8eaeed1ebd6c0bfbcb6b0eae2444

Contents?: true

Size: 711 Bytes

Versions: 3

Compression:

Stored size: 711 Bytes

Contents

require_relative '../../common/jsonifier'

module MangoModel

  # KYC Document entity
  # The KYC Document object is a request to validate a required document.
  class KycDocument < EntityBase
    include MangoPay::Jsonifier

    # [KycDocumentType] Its type
    attr_accessor :type

    # [String] ID of its owner
    attr_accessor :user_id

    # [DocumentStatus] Its processing status
    attr_accessor :status

    # [String] The message accompanying a refusal
    attr_accessor :refused_reason_message

    # [KycDocRefusedReasonType] Reason of refusal
    attr_accessor :refused_reason_type

    # [Integer] Time when the document was processed (UNIX timestamp)
    attr_accessor :processed_date
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mangopay-v4-4.1.0 lib/mangopay/model/entity/kyc_document.rb
mangopay-v4-4.0.2 lib/mangopay/model/entity/kyc_document.rb
mangopay-v4-4.0.1 lib/mangopay/model/entity/kyc_document.rb