Class: ModernTreasury::Models::BulkRequestCreateParams::Resource::TransactionUpdateRequestWithID

Inherits:
Internal::Type::BaseModel 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

#initializeObject



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

def initialize: (

Instance Attribute Details

#idString?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :id, String

#metadataHash{Symbol=>String}?

Additional data in the form of key-value pairs. Pairs can be removed by passing an empty string or null as the value.

Parameters:

  • (::Hash[Symbol, String])

Returns:

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


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

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

Instance Method Details

#to_hash{ id: String, metadata: ::Hash[Symbol, String] }

Returns:

  • ({ id: String, metadata: ::Hash[Symbol, String] })


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

def to_hash: -> { id: String, metadata: ::Hash[Symbol, String] }