Class: Increase::Models::Simulations::EntityValidationParams::Issue

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

Defined Under Namespace

Modules: Category

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(category:) ⇒ Object

Parameters:



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# File 'lib/increase/models/simulations/entity_validation_params.rb', line 39

class Issue < Increase::Internal::Type::BaseModel
  # @!attribute category
  #   The category of the issue.
  #
  #   @return [Symbol, Increase::Models::Simulations::EntityValidationParams::Issue::Category]
  required :category, enum: -> { Increase::Simulations::EntityValidationParams::Issue::Category }

  # @!method initialize(category:)
  #   @param category [Symbol, Increase::Models::Simulations::EntityValidationParams::Issue::Category] The category of the issue.

  # The category of the issue.
  #
  # @see Increase::Models::Simulations::EntityValidationParams::Issue#category
  module Category
    extend Increase::Internal::Type::Enum

    # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
    ENTITY_TAX_IDENTIFIER = :entity_tax_identifier

    # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
    ENTITY_ADDRESS = :entity_address

    # A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
    BENEFICIAL_OWNER_IDENTITY = :beneficial_owner_identity

    # A beneficial owner's address could not be validated. Update the address with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
    BENEFICIAL_OWNER_ADDRESS = :beneficial_owner_address

    # @!method self.values
    #   @return [Array<Symbol>]
  end
end

Instance Attribute Details

#categorySymbol, Increase::Models::Simulations::EntityValidationParams::Issue::Category

The category of the issue.



44
# File 'lib/increase/models/simulations/entity_validation_params.rb', line 44

required :category, enum: -> { Increase::Simulations::EntityValidationParams::Issue::Category }