Sha256: 9a50ca989d64e8394e52693a3d50aeac839a5eedec53d736b435e63413218d30

Contents?: true

Size: 902 Bytes

Versions: 3

Compression:

Stored size: 902 Bytes

Contents

module Sumsub
  module Struct
    # https://developers.sumsub.com/api-reference/#fixedinfo-and-info-attributes
    class Info < BaseStruct
      include Types

      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? :phone, Types::String     
      attribute? :addresses, Types::Array.of(Sumsub::Struct::Address)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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