Module: MethodRuby::Models::EntityCreateParams::Body

Extended by:
Internal::Type::Union
Defined in:
lib/method_ruby/models/entity_create_params.rb

Overview

Request body for creating an entity.

Defined Under Namespace

Classes: Corporation, Individual

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(dob: nil, email: nil, first_name: nil, last_name: nil, phone: nil, ssn: nil, ssn_4: nil) ⇒ Object

Parameters:

  • dob (Date) (defaults to: nil)

    Date of birth of the individual (YYYY-MM-DD).

  • email (String) (defaults to: nil)

    Email address of the individual.

  • first_name (String) (defaults to: nil)

    First name of the individual.

  • last_name (String) (defaults to: nil)

    Last name of the individual.

  • phone (String) (defaults to: nil)

    Phone number of the individual.

  • ssn (String) (defaults to: nil)

    Social security number (9 digits). Mutually exclusive with ssn_4.

  • ssn_4 (String) (defaults to: nil)

    Last 4 digits of SSN. Mutually exclusive with ssn.



# File 'lib/method_ruby/models/entity_create_params.rb', line 124