Class: Increase::Models::Simulations::EntityUpdateValidationParams::Issue

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/simulations/entity_update_validation_params.rb,
sig/increase/models/simulations/entity_update_validation_params.rbs

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:

  • The type of issue.



34
35
36
37
38
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
# File 'lib/increase/models/simulations/entity_update_validation_params.rb', line 34

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

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

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

    # The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity).
    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).
    ENTITY_ADDRESS = :entity_address

    # The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity).
    ENTITY_IDENTITY = :entity_identity

    # 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::EntityUpdateValidationParams::Issue::Category

The type of issue.

Parameters:

Returns:



39
# File 'lib/increase/models/simulations/entity_update_validation_params.rb', line 39

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

Instance Method Details

#to_hash{

Returns:



43
# File 'sig/increase/models/simulations/entity_update_validation_params.rbs', line 43

def to_hash: -> {