Class: CheckoutSdk::Issuing::IdentificationDocument

Inherits:
Object
  • Object
show all
Defined in:
lib/checkout_sdk/issuing/identification_document.rb

Overview

Identification document attached to a cardholder. Matches swagger ‘IdentificationDocument`. `type` and `front_document_id` are required.

Instance Attribute Summary collapse

Instance Attribute Details

#back_document_idString

Returns File id of the back-side scan (when applicable).

Returns:

  • (String)

    File id of the back-side scan (when applicable).



14
15
16
# File 'lib/checkout_sdk/issuing/identification_document.rb', line 14

class IdentificationDocument
  attr_accessor :type, :front_document_id, :back_document_id
end

#front_document_idString

Returns File id of the front-side scan. [Required].

Returns:

  • (String)

    File id of the front-side scan. [Required]



14
15
16
# File 'lib/checkout_sdk/issuing/identification_document.rb', line 14

class IdentificationDocument
  attr_accessor :type, :front_document_id, :back_document_id
end

#typeString

Returns Document type (e.g. “passport”). [Required].

Returns:

  • (String)

    Document type (e.g. “passport”). [Required]



14
15
16
# File 'lib/checkout_sdk/issuing/identification_document.rb', line 14

class IdentificationDocument
  attr_accessor :type, :front_document_id, :back_document_id
end