Class: Increase::Models::Simulations::InterestPaymentCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::Simulations::InterestPaymentCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/increase/models/simulations/interest_payment_create_params.rb
Overview
Instance Attribute Summary collapse
-
#account_id ⇒ String
The identifier of the Account the Interest Payment should be paid to is for.
-
#accrued_on_account_id ⇒ String?
The identifier of the Account the Interest accrued on.
-
#amount ⇒ Integer
The interest amount in cents.
-
#period_end ⇒ Time?
The end of the interest period.
-
#period_start ⇒ Time?
The start of the interest period.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(account_id: , amount: , accrued_on_account_id: nil, period_end: nil, period_start: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see InterestPaymentCreateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(account_id: , amount: , accrued_on_account_id: nil, period_end: nil, period_start: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::Simulations::InterestPaymentCreateParams for more details.
|
|
# File 'lib/increase/models/simulations/interest_payment_create_params.rb', line 41
|
Instance Attribute Details
#account_id ⇒ String
The identifier of the Account the Interest Payment should be paid to is for.
15 |
# File 'lib/increase/models/simulations/interest_payment_create_params.rb', line 15 required :account_id, String |
#accrued_on_account_id ⇒ String?
The identifier of the Account the Interest accrued on. Defaults to ‘account_id`.
27 |
# File 'lib/increase/models/simulations/interest_payment_create_params.rb', line 27 optional :accrued_on_account_id, String |
#amount ⇒ Integer
The interest amount in cents. Must be positive.
21 |
# File 'lib/increase/models/simulations/interest_payment_create_params.rb', line 21 required :amount, Integer |
#period_end ⇒ Time?
The end of the interest period. If not provided, defaults to the current time.
33 |
# File 'lib/increase/models/simulations/interest_payment_create_params.rb', line 33 optional :period_end, Time |
#period_start ⇒ Time?
The start of the interest period. If not provided, defaults to the current time.
39 |
# File 'lib/increase/models/simulations/interest_payment_create_params.rb', line 39 optional :period_start, Time |