Class: ModernTreasury::Models::LegalEntityListParams
Overview
Defined Under Namespace
Modules: LegalEntityType, Status
Constant Summary
Internal::Type::RequestParameters::ModernTreasury
Instance Attribute Summary collapse
#request_options
Class Method Summary
collapse
Instance Method Summary
collapse
dump_request
included
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
49
|
# File 'sig/modern_treasury/models/legal_entity_list_params.rbs', line 49
def initialize: (
|
Instance Attribute Details
#after_cursor ⇒ String?
13
|
# File 'lib/modern_treasury/models/legal_entity_list_params.rb', line 13
optional :after_cursor, String, nil?: true
|
#external_id ⇒ String?
An optional user-defined 180 character unique identifier.
19
|
# File 'lib/modern_treasury/models/legal_entity_list_params.rb', line 19
optional :external_id, String
|
#legal_entity_type ⇒ Symbol, ...
24
|
# File 'lib/modern_treasury/models/legal_entity_list_params.rb', line 24
optional :legal_entity_type, enum: -> { ModernTreasury::LegalEntityListParams::LegalEntityType }
|
For example, if you want to query for records with metadata key Type and value
Loan, the query would be metadata%5BType%5D=Loan. This encodes the query
parameters.
32
|
# File 'lib/modern_treasury/models/legal_entity_list_params.rb', line 32
optional :metadata, ModernTreasury::Internal::Type::HashOf[String]
|
#per_page ⇒ Integer?
37
|
# File 'lib/modern_treasury/models/legal_entity_list_params.rb', line 37
optional :per_page, Integer
|
#show_deleted ⇒ String?
42
|
# File 'lib/modern_treasury/models/legal_entity_list_params.rb', line 42
optional :show_deleted, String
|
#status ⇒ Symbol, ...
47
|
# File 'lib/modern_treasury/models/legal_entity_list_params.rb', line 47
optional :status, enum: -> { ModernTreasury::LegalEntityListParams::Status }
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/modern_treasury/models/legal_entity_list_params.rb', line 75
|
Instance Method Details
#to_hash ⇒ {
60
|
# File 'sig/modern_treasury/models/legal_entity_list_params.rbs', line 60
def to_hash: -> {
|