Class: Increase::Models::Transaction::Source::InboundCheckAdjustment

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/transaction.rb

Overview

Defined Under Namespace

Modules: Reason

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(adjusted_transaction_id: , amount: , reason: ) ⇒ Object

An Inbound Check Adjustment object. This field will be present in the JSON response if and only if ‘category` is equal to `inbound_check_adjustment`. An Inbound Check Adjustment is created when Increase receives an adjustment for a check or return deposited through Check21.

Parameters:



# File 'lib/increase/models/transaction.rb', line 6051


Instance Attribute Details

#adjusted_transaction_idString

The ID of the transaction that was adjusted.

Returns:

  • (String)


6037
# File 'lib/increase/models/transaction.rb', line 6037

required :adjusted_transaction_id, String

#amountInteger

The amount of the check adjustment.

Returns:

  • (Integer)


6043
# File 'lib/increase/models/transaction.rb', line 6043

required :amount, Integer

#reasonSymbol, Increase::Models::Transaction::Source::InboundCheckAdjustment::Reason

The reason for the adjustment.



6049
# File 'lib/increase/models/transaction.rb', line 6049

required :reason, enum: -> { Increase::Transaction::Source::InboundCheckAdjustment::Reason }