Class: Increase::Models::EntityUpdateParams::GovernmentAuthority

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

Defined Under Namespace

Classes: Address

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(address: nil, name: nil) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::EntityUpdateParams::GovernmentAuthority for more details.

Details of the government authority entity to update. If you specify this parameter and the entity is not a government authority, the request will fail.

Parameters:



# File 'lib/increase/models/entity_update_params.rb', line 183

Instance Attribute Details

#addressIncrease::Models::EntityUpdateParams::GovernmentAuthority::Address?

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



175
# File 'lib/increase/models/entity_update_params.rb', line 175

optional :address, -> { Increase::EntityUpdateParams::GovernmentAuthority::Address }

#nameString?

The legal name of the government authority.

Returns:

  • (String, nil)


181
# File 'lib/increase/models/entity_update_params.rb', line 181

optional :name, String