Sha256: 60faec78d67282899720fdb47a269e216301097e2d159c31c01afbe6144427eb

Contents?: true

Size: 579 Bytes

Versions: 2

Compression:

Stored size: 579 Bytes

Contents

# frozen_string_literal: true

module Sumsub
  module Struct
    # https://developers.sumsub.com/api-reference/#request-body
    class Applicant < BaseStruct
      attribute :externalUserId, Types::Coercible::String
      attribute? :sourceKey, Types::String
      attribute? :email, Types::String
      attribute? :phone, 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

2 entries across 2 versions & 1 rubygems

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