Sha256: eeb449fea4a3d10362414b707cdfba6e57fee0645d008cdd9d90174d74964c67

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

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

      attribute :externalUserId, Types::Coercible::String
      attribute? :sourceKey, Types::String
      attribute? :email, Types::String
      attribute? :lang, Types::String
      attribute? :metadata, Types::Array.of(Types::Hash)
      attribute? :info, Types::Instance(Sumsub::Struct::Info)
      attribute? :fixedInfo, Types::Instance(Sumsub::Struct::Info)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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