Sha256: 5fc710f99d186d30ed01ed3e5b18faa7265d7a3341593d7f331d622dc65e2db4

Contents?: true

Size: 723 Bytes

Versions: 3

Compression:

Stored size: 723 Bytes

Contents

module Sumsub
  module Struct
    # https://developers.sumsub.com/api-reference/#request-metadata-body-part-fields
    class DocumentMetadata < BaseStruct
      include Types

      attribute :idDocType, Types::IdDocTypes
      attribute? :idDocSubType, Types::IdDocSubType
      attribute :country, Types::String # https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3
      attribute? :firstName, Types::String
      attribute? :middleName, Types::String
      attribute? :lastName, Types::String
      attribute? :issuedDate, Types::String
      attribute? :validUntil, Types::String
      attribute? :number, Types::String
      attribute? :dob, Types::String
      attribute? :placeOfBirth, Types::String
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sumsub-ruby-sdk-0.1.3 lib/sumsub/struct/document_metadata.rb
sumsub-ruby-sdk-0.1.2 lib/sumsub/struct/document_metadata.rb
sumsub-ruby-sdk-0.1.1 lib/sumsub/struct/document_metadata.rb