Sha256: af2f2b4dc04c6eb38eb48b199f488a4a1a6d6fad7efad518aeb5ff7343e3f0ac

Contents?: true

Size: 868 Bytes

Versions: 2

Compression:

Stored size: 868 Bytes

Contents

# frozen_string_literal: true

module Sumsub
  module Struct
    # https://developers.sumsub.com/api-reference/#fixedinfo-and-info-attributes
    class Info < BaseStruct
      attribute? :firstName, Types::String
      attribute? :lastName, Types::String
      attribute? :middleName, Types::String
      attribute? :firstNameEn, Types::String
      attribute? :lastNameEn, Types::String
      attribute? :middleNameEn, Types::String
      attribute? :legalName, Types::String
      attribute? :gender, Types::String
      attribute? :dob, Types::String
      attribute? :placeOfBirth, Types::String
      attribute? :countryOfBirth, Types::String
      attribute? :stateOfBirth, Types::String
      attribute? :country, Types::String
      attribute? :nationality, Types::String
      attribute? :addresses, Types::Array.of(Sumsub::Struct::Address)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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