Class: Increase::Models::Entity::GovernmentAuthority

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/entity.rb

Defined Under Namespace

Classes: Address, AuthorizedPerson

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#addressIncrease::Models::Entity::GovernmentAuthority::Address

The government authority's address.



238
# File 'lib/increase/models/entity.rb', line 238

required :address, -> { Increase::Models::Entity::GovernmentAuthority::Address }

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

The identifying details of authorized persons of the government authority.



243
244
# File 'lib/increase/models/entity.rb', line 243

required :authorized_persons,
Increase::ArrayOf.new(-> { Increase::Models::Entity::GovernmentAuthority::AuthorizedPerson })

#categorySymbol

The category of the government authority.

Returns:

  • (Symbol)


249
# File 'lib/increase/models/entity.rb', line 249

required :category, Increase::Enum.new(:municipality)

#name_String

The government authority's name.

Returns:

  • (String)


254
# File 'lib/increase/models/entity.rb', line 254

required :name_, String

#tax_identifierString

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

Returns:

  • (String)


259
# File 'lib/increase/models/entity.rb', line 259

required :tax_identifier, String

#websiteString

The government authority's website.

Returns:

  • (String)


264
# File 'lib/increase/models/entity.rb', line 264

required :website, String