Class: Increase::Models::Entity::GovernmentAuthority
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::Entity::GovernmentAuthority
- Defined in:
- lib/increase/models/entity.rb
Overview
Defined Under Namespace
Modules: Category Classes: Address, AuthorizedPerson
Instance Attribute Summary collapse
-
#address ⇒ Increase::Models::Entity::GovernmentAuthority::Address
The government authority’s address.
-
#authorized_persons ⇒ Array<Increase::Models::Entity::GovernmentAuthority::AuthorizedPerson>
The identifying details of authorized persons of the government authority.
-
#category ⇒ Symbol, Increase::Models::Entity::GovernmentAuthority::Category
The category of the government authority.
-
#name ⇒ String
The government authority’s name.
-
#tax_identifier ⇒ String?
The Employer Identification Number (EIN) of the government authority.
-
#website ⇒ String?
The government authority’s website.
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(authorized_person_id: , name: ) ⇒ Object
|
|
# File 'lib/increase/models/entity.rb', line 520
|
Instance Attribute Details
#address ⇒ Increase::Models::Entity::GovernmentAuthority::Address
The government authority’s address.
487 |
# File 'lib/increase/models/entity.rb', line 487 required :address, -> { Increase::Entity::GovernmentAuthority::Address } |
#authorized_persons ⇒ Array<Increase::Models::Entity::GovernmentAuthority::AuthorizedPerson>
The identifying details of authorized persons of the government authority.
493 494 |
# File 'lib/increase/models/entity.rb', line 493 required :authorized_persons, -> { Increase::Internal::Type::ArrayOf[Increase::Entity::GovernmentAuthority::AuthorizedPerson] } |
#category ⇒ Symbol, Increase::Models::Entity::GovernmentAuthority::Category
The category of the government authority.
500 |
# File 'lib/increase/models/entity.rb', line 500 required :category, enum: -> { Increase::Entity::GovernmentAuthority::Category } |
#name ⇒ String
The government authority’s name.
506 |
# File 'lib/increase/models/entity.rb', line 506 required :name, String |
#tax_identifier ⇒ String?
The Employer Identification Number (EIN) of the government authority.
512 |
# File 'lib/increase/models/entity.rb', line 512 required :tax_identifier, String, nil?: true |
#website ⇒ String?
The government authority’s website.
518 |
# File 'lib/increase/models/entity.rb', line 518 required :website, String, nil?: true |