Class: FinchAPI::Models::Sandbox::CompanyUpdateParams::Entity

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/sandbox/company_update_params.rb

Defined Under Namespace

Modules: Subtype, Type

Instance Attribute Summary collapse

Class Method 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_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!

Constructor Details

#initialize(subtype: nil, type: nil) ⇒ Object

The entity type object.

Parameters:

  • subtype (Symbol, FinchAPI::Sandbox::CompanyUpdateParams::Entity::Subtype, nil) (defaults to: nil)

    The tax payer subtype of the company.

  • type (Symbol, FinchAPI::Sandbox::CompanyUpdateParams::Entity::Type, nil) (defaults to: nil)

    The tax payer type of the company.



# File 'lib/finch_api/models/sandbox/company_update_params.rb', line 200

Instance Attribute Details

#subtypeSymbol, ...

The tax payer subtype of the company.

Returns:

  • (Symbol, FinchAPI::Sandbox::CompanyUpdateParams::Entity::Subtype, nil)


192
# File 'lib/finch_api/models/sandbox/company_update_params.rb', line 192

optional :subtype, enum: -> { FinchAPI::Sandbox::CompanyUpdateParams::Entity::Subtype }, nil?: true

#typeSymbol, ...

The tax payer type of the company.

Returns:

  • (Symbol, FinchAPI::Sandbox::CompanyUpdateParams::Entity::Type, nil)


198
# File 'lib/finch_api/models/sandbox/company_update_params.rb', line 198

optional :type, enum: -> { FinchAPI::Sandbox::CompanyUpdateParams::Entity::Type }, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/finch_api/models/sandbox/company_update_params.rb', line 217