Sha256: c669508780beb0c035d87852d3983039242d9999b7ec269ff82f78b467627e46

Contents?: true

Size: 734 Bytes

Versions: 2

Compression:

Stored size: 734 Bytes

Contents

# frozen_string_literal: true

module Sumsub
  module Struct
    # https://developers.sumsub.com/api-reference/#request-metadata-body-part-fields
    class DocumentMetadata < BaseStruct
      attribute :idDocType, Types::IdDocTypes
      attribute? :idDocSubType, Types::IdDocSubTypes
      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

2 entries across 2 versions & 1 rubygems

Version Path
sumsub-ruby-sdk-0.2.1 lib/sumsub/struct/document_metadata.rb
sumsub-ruby-sdk-0.2.0 lib/sumsub/struct/document_metadata.rb