Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 254
openapi_spec_hash: 5d50337962510042a8732c09ecc39eb4
openapi_spec_hash: b502688710d2e1e332c41ca7adc8aabf
config_hash: f0e1844d06c76a9e145f7986d993dda6
2 changes: 1 addition & 1 deletion lib/increase/models/account_number.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ module DebitStatus
# ACH Debits are allowed.
ALLOWED = :allowed

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED = :blocked

# @!method self.values
Expand Down
2 changes: 1 addition & 1 deletion lib/increase/models/account_number_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module DebitStatus
# ACH Debits are allowed.
ALLOWED = :allowed

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED = :blocked

# @!method self.values
Expand Down
2 changes: 1 addition & 1 deletion lib/increase/models/account_number_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ module In
# ACH Debits are allowed.
ALLOWED = :allowed

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED = :blocked

# @!method self.values
Expand Down
2 changes: 1 addition & 1 deletion lib/increase/models/account_number_update_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module DebitStatus
# ACH Debits are allowed.
ALLOWED = :allowed

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED = :blocked

# @!method self.values
Expand Down
3 changes: 3 additions & 0 deletions lib/increase/models/check_deposit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ class DepositAdjustment < Increase::Internal::Type::BaseModel
module Reason
extend Increase::Internal::Type::Enum

# The check was deposited to the wrong payee and the depositing institution has reimbursed the funds with a Wrong Payee Credit.
WRONG_PAYEE_CREDIT = :wrong_payee_credit

# The check was deposited with a different amount than what was written on the check.
ADJUSTED_AMOUNT = :adjusted_amount

Expand Down
2 changes: 1 addition & 1 deletion rbi/increase/models/account_number.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ module Increase
Increase::AccountNumber::InboundACH::DebitStatus::TaggedSymbol
)

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED =
T.let(
:blocked,
Expand Down
2 changes: 1 addition & 1 deletion rbi/increase/models/account_number_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ module Increase
Increase::AccountNumberCreateParams::InboundACH::DebitStatus::TaggedSymbol
)

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED =
T.let(
:blocked,
Expand Down
2 changes: 1 addition & 1 deletion rbi/increase/models/account_number_list_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ module Increase
Increase::AccountNumberListParams::ACHDebitStatus::In::TaggedSymbol
)

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED =
T.let(
:blocked,
Expand Down
2 changes: 1 addition & 1 deletion rbi/increase/models/account_number_update_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ module Increase
Increase::AccountNumberUpdateParams::InboundACH::DebitStatus::TaggedSymbol
)

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED =
T.let(
:blocked,
Expand Down
7 changes: 7 additions & 0 deletions rbi/increase/models/check_deposit.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,13 @@ module Increase
end
OrSymbol = T.type_alias { T.any(Symbol, String) }

# The check was deposited to the wrong payee and the depositing institution has reimbursed the funds with a Wrong Payee Credit.
WRONG_PAYEE_CREDIT =
T.let(
:wrong_payee_credit,
Increase::CheckDeposit::DepositAdjustment::Reason::TaggedSymbol
)

# The check was deposited with a different amount than what was written on the check.
ADJUSTED_AMOUNT =
T.let(
Expand Down
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sig/increase/models/account_number.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module Increase
# ACH Debits are allowed.
ALLOWED: :allowed

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED: :blocked

def self?.values: -> ::Array[Increase::Models::AccountNumber::InboundACH::debit_status]
Expand Down
2 changes: 1 addition & 1 deletion sig/increase/models/account_number_create_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module Increase
# ACH Debits are allowed.
ALLOWED: :allowed

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED: :blocked

def self?.values: -> ::Array[Increase::Models::AccountNumberCreateParams::InboundACH::debit_status]
Expand Down
2 changes: 1 addition & 1 deletion sig/increase/models/account_number_list_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ module Increase
# ACH Debits are allowed.
ALLOWED: :allowed

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED: :blocked

def self?.values: -> ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_]
Expand Down
2 changes: 1 addition & 1 deletion sig/increase/models/account_number_update_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module Increase
# ACH Debits are allowed.
ALLOWED: :allowed

# ACH Debits are blocked.
# ACH Debits are blocked. Received debits will be declined and returned with code `R20` (non-transaction account).
BLOCKED: :blocked

def self?.values: -> ::Array[Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status]
Expand Down
6 changes: 5 additions & 1 deletion sig/increase/models/check_deposit.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,15 @@ module Increase
transaction_id: String
}

type reason = :adjusted_amount | :non_conforming_item | :paid
type reason =
:wrong_payee_credit | :adjusted_amount | :non_conforming_item | :paid

module Reason
extend Increase::Internal::Type::Enum

# The check was deposited to the wrong payee and the depositing institution has reimbursed the funds with a Wrong Payee Credit.
WRONG_PAYEE_CREDIT: :wrong_payee_credit

# The check was deposited with a different amount than what was written on the check.
ADJUSTED_AMOUNT: :adjusted_amount

Expand Down
Loading