Class: Increase::Models::EntityCreateParams::GovernmentAuthority

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/entity_create_params.rb

Defined Under Namespace

Modules: Category Classes: Address, AuthorizedPerson

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

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

Constructor Details

#initialize(name:) ⇒ Object

Parameters:

  • name (String)

    The person’s legal name.



# File 'lib/increase/models/entity_create_params.rb', line 777

Instance Attribute Details

#addressIncrease::Models::EntityCreateParams::GovernmentAuthority::Address

The entity’s physical address. Mail receiving locations like PO Boxes and PMB’s are disallowed.



744
# File 'lib/increase/models/entity_create_params.rb', line 744

required :address, -> { Increase::EntityCreateParams::GovernmentAuthority::Address }

#authorized_personsArray<Increase::Models::EntityCreateParams::GovernmentAuthority::AuthorizedPerson>

The identifying details of authorized officials acting on the entity’s behalf.



750
751
# File 'lib/increase/models/entity_create_params.rb', line 750

required :authorized_persons,
-> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::GovernmentAuthority::AuthorizedPerson] }

#categorySymbol, Increase::Models::EntityCreateParams::GovernmentAuthority::Category

The category of the government authority.



757
# File 'lib/increase/models/entity_create_params.rb', line 757

required :category, enum: -> { Increase::EntityCreateParams::GovernmentAuthority::Category }

#nameString

The legal name of the government authority.

Returns:

  • (String)


763
# File 'lib/increase/models/entity_create_params.rb', line 763

required :name, String

#tax_identifierString

The Employer Identification Number (EIN) for the government authority.

Returns:

  • (String)


769
# File 'lib/increase/models/entity_create_params.rb', line 769

required :tax_identifier, String

#websiteString?

The website of the government authority.

Returns:

  • (String, nil)


775
# File 'lib/increase/models/entity_create_params.rb', line 775

optional :website, String