Class: ModernTreasury::Models::BulkRequestCreateParams::Resource::LedgerAccountUpdateRequestWithID

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/modern_treasury/models/bulk_request_create_params.rb,
sig/modern_treasury/models/bulk_request_create_params.rbs

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: nil, description: nil, external_id: nil, metadata: nil, name: nil) ⇒ Object

Some parameter documentations has been truncated, see ModernTreasury::Models::BulkRequestCreateParams::Resource::LedgerAccountUpdateRequestWithID for more details.

Parameters:

  • id (String) (defaults to: nil)
  • description (String, nil) (defaults to: nil)

    The description of the ledger account.

  • external_id (String, nil) (defaults to: nil)

    An optional user-defined 180 character unique identifier.

  • metadata (Hash{Symbol=>String}) (defaults to: nil)

    Additional data represented as key-value pairs. Both the key and value must be s

  • name (String) (defaults to: nil)

    The name of the ledger account.



# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2619

Instance Attribute Details

#descriptionString?

The description of the ledger account.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


2598
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2598

optional :description, String, nil?: true

#external_idString?

An optional user-defined 180 character unique identifier.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


2604
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2604

optional :external_id, String, nil?: true

#idString?

Parameters:

  • (String)

Returns:

  • (String, nil)


2592
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2592

optional :id, String

#metadataHash{Symbol=>String}?

Additional data represented as key-value pairs. Both the key and value must be strings.

Parameters:

  • (::Hash[Symbol, String])

Returns:

  • (Hash{Symbol=>String}, nil)


2611
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2611

optional :metadata, ModernTreasury::Internal::Type::HashOf[String]

#nameString?

The name of the ledger account.

Parameters:

  • (String)

Returns:

  • (String, nil)


2617
# File 'lib/modern_treasury/models/bulk_request_create_params.rb', line 2617

optional :name, String

Instance Method Details

#to_hash{

Returns:

  • ({)


2130
# File 'sig/modern_treasury/models/bulk_request_create_params.rbs', line 2130

def to_hash: -> {