Class: ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb

Overview

Defined Under Namespace

Modules: BalanceReportType Classes: Balance

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(as_of_date: , as_of_time: , balance_report_type: , balances: , request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams for more details.

Parameters:



# File 'lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb', line 38


Instance Attribute Details

#as_of_dateDate

The date of the balance report in local time.

Returns:

  • (Date)


15
# File 'lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb', line 15

required :as_of_date, Date

#as_of_timeString

The time (24-hour clock) of the balance report in local time.

Returns:

  • (String)


21
# File 'lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb', line 21

required :as_of_time, String

#balance_report_typeSymbol, ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams::BalanceReportType

The specific type of balance report. One of ‘intraday`, `previous_day`, `real_time`, or `other`.



28
29
# File 'lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb', line 28

required :balance_report_type,
enum: -> { ModernTreasury::InternalAccounts::BalanceReportCreateParams::BalanceReportType }

#balancesArray<ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams::Balance>

An array of ‘Balance` objects.



35
36
# File 'lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb', line 35

required :balances,
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::InternalAccounts::BalanceReportCreateParams::Balance] }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb', line 63