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, 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) (defaults to: )

    The person’s legal name.



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

Instance Attribute Details

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

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



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

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.



680
681
682
683
# File 'lib/increase/models/entity_create_params.rb', line 680

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

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

The category of the government authority.



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

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

#nameString

The legal name of the government authority.

Returns:

  • (String)


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

required :name, String

#tax_identifierString

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

Returns:

  • (String)


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

required :tax_identifier, String

#websiteString?

The website of the government authority.

Returns:

  • (String, nil)


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

optional :website, String