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

    The person’s legal name.



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


Instance Attribute Details

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

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



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

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.



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

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

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

The category of the government authority.



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

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

#nameString

The legal name of the government authority.

Returns:

  • (String)


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

required :name, String

#tax_identifierString

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

Returns:

  • (String)


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

required :tax_identifier, String

#websiteString?

The website of the government authority.

Returns:

  • (String, nil)


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

optional :website, String