Class: Increase::Models::CheckDeposit::DepositAdjustment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CheckDeposit::DepositAdjustment
- Defined in:
- lib/increase/models/check_deposit.rb
Defined Under Namespace
Modules: Reason
Instance Attribute Summary collapse
-
#adjusted_at ⇒ Time
The time at which the adjustment was received.
-
#amount ⇒ Integer
The amount of the adjustment.
-
#reason ⇒ Symbol, Increase::Models::CheckDeposit::DepositAdjustment::Reason
The reason for the adjustment.
-
#transaction_id ⇒ String
The id of the transaction for the adjustment.
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(adjusted_at:, amount:, reason:, transaction_id:) ⇒ Object
|
|
# File 'lib/increase/models/check_deposit.rb', line 289
|
Instance Attribute Details
#adjusted_at ⇒ Time
The time at which the adjustment was received.
269 |
# File 'lib/increase/models/check_deposit.rb', line 269 required :adjusted_at, Time |
#amount ⇒ Integer
The amount of the adjustment.
275 |
# File 'lib/increase/models/check_deposit.rb', line 275 required :amount, Integer |
#reason ⇒ Symbol, Increase::Models::CheckDeposit::DepositAdjustment::Reason
The reason for the adjustment.
281 |
# File 'lib/increase/models/check_deposit.rb', line 281 required :reason, enum: -> { Increase::CheckDeposit::DepositAdjustment::Reason } |
#transaction_id ⇒ String
The id of the transaction for the adjustment.
287 |
# File 'lib/increase/models/check_deposit.rb', line 287 required :transaction_id, String |