Class: ModernTreasury::Models::LegalEntityIndustryClassification

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/modern_treasury/models/legal_entity_industry_classification.rb

Defined Under Namespace

Modules: ClassificationType

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(id: , classification_codes: , classification_type: , created_at: , discarded_at: , live_mode: , object: , updated_at: ) ⇒ Object

Some parameter documentations has been truncated, see ModernTreasury::Models::LegalEntityIndustryClassification for more details.

Parameters:

  • id (String) (defaults to: )
  • classification_codes (Array<String>) (defaults to: )

    The industry classification codes for the legal entity.

  • classification_type (Symbol, ModernTreasury::Models::LegalEntityIndustryClassification::ClassificationType) (defaults to: )

    The classification system of the classification codes.

  • created_at (Time) (defaults to: )
  • discarded_at (Time, nil) (defaults to: )
  • live_mode (Boolean) (defaults to: )

    This field will be true if this object exists in the live environment or false i

  • object (String) (defaults to: )
  • updated_at (Time) (defaults to: )


# File 'lib/modern_treasury/models/legal_entity_industry_classification.rb', line 51


Instance Attribute Details

#classification_codesArray<String>

The industry classification codes for the legal entity.

Returns:

  • (Array<String>)


15
# File 'lib/modern_treasury/models/legal_entity_industry_classification.rb', line 15

required :classification_codes, ModernTreasury::Internal::Type::ArrayOf[String]

#classification_typeSymbol, ModernTreasury::Models::LegalEntityIndustryClassification::ClassificationType

The classification system of the classification codes.



21
22
# File 'lib/modern_treasury/models/legal_entity_industry_classification.rb', line 21

required :classification_type,
enum: -> { ModernTreasury::LegalEntityIndustryClassification::ClassificationType }

#created_atTime

Returns:

  • (Time)


27
# File 'lib/modern_treasury/models/legal_entity_industry_classification.rb', line 27

required :created_at, Time

#discarded_atTime?

Returns:

  • (Time, nil)


32
# File 'lib/modern_treasury/models/legal_entity_industry_classification.rb', line 32

required :discarded_at, Time, nil?: true

#idString

Returns:

  • (String)


9
# File 'lib/modern_treasury/models/legal_entity_industry_classification.rb', line 9

required :id, String

#live_modeBoolean

This field will be true if this object exists in the live environment or false if it exists in the test environment.

Returns:

  • (Boolean)


39
# File 'lib/modern_treasury/models/legal_entity_industry_classification.rb', line 39

required :live_mode, ModernTreasury::Internal::Type::Boolean

#objectString

Returns:

  • (String)


44
# File 'lib/modern_treasury/models/legal_entity_industry_classification.rb', line 44

required :object, String

#updated_atTime

Returns:

  • (Time)


49
# File 'lib/modern_treasury/models/legal_entity_industry_classification.rb', line 49

required :updated_at, Time