Class BankAccountException
- java.lang.Object
-
- io.moov.sdk.models.components.BankAccountException
-
public class BankAccountException extends java.lang.ObjectBankAccountExceptionReason for, and details related to, an `errored` or `verificationFailed` bank account status.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBankAccountException.Builder
-
Constructor Summary
Constructors Constructor Description BankAccountException(java.lang.String description)BankAccountException(java.util.Optional<? extends ACHReturnCode> achReturnCode, java.util.Optional<? extends RTPRejectionCode> rtpRejectionCode, java.lang.String description)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<ACHReturnCode>achReturnCode()The return code of an ACH transaction that caused the bank account status to change.static BankAccountException.Builderbuilder()java.lang.Stringdescription()Details related to an `errored` or `verificationFailed` bank account status.booleanequals(java.lang.Object o)inthashCode()java.util.Optional<RTPRejectionCode>rtpRejectionCode()The rejection code of an RTP transaction that caused the bank account status to change.java.lang.StringtoString()BankAccountExceptionwithAchReturnCode(ACHReturnCode achReturnCode)The return code of an ACH transaction that caused the bank account status to change.BankAccountExceptionwithAchReturnCode(java.util.Optional<? extends ACHReturnCode> achReturnCode)The return code of an ACH transaction that caused the bank account status to change.BankAccountExceptionwithDescription(java.lang.String description)Details related to an `errored` or `verificationFailed` bank account status.BankAccountExceptionwithRtpRejectionCode(RTPRejectionCode rtpRejectionCode)The rejection code of an RTP transaction that caused the bank account status to change.BankAccountExceptionwithRtpRejectionCode(java.util.Optional<? extends RTPRejectionCode> rtpRejectionCode)The rejection code of an RTP transaction that caused the bank account status to change.
-
-
-
Constructor Detail
-
BankAccountException
public BankAccountException(java.util.Optional<? extends ACHReturnCode> achReturnCode, java.util.Optional<? extends RTPRejectionCode> rtpRejectionCode, java.lang.String description)
-
BankAccountException
public BankAccountException(java.lang.String description)
-
-
Method Detail
-
achReturnCode
public java.util.Optional<ACHReturnCode> achReturnCode()
The return code of an ACH transaction that caused the bank account status to change.- R02: Account Closed - R03: No Account/Unable to Locate Account - R04: Invalid Account Number - R05: Improper Debit to Consumer Account - R07: Authorization Revoked by Customer - R08: Payment Stopped - R10: Customer Advises Originator is Not Known or Authorized to Receiver - R11: Customer Advises Entry Not in Accordance with the Terms of the Authorization - R12: Branch Sold to Another DFI - R13: RDFI not qualified to participate - R14: Representative payee deceased or unable to continue in that capacity - R15: Beneficiary or bank account holder - R16: Bank account frozen - R17: Entry with Invalid Account Number Initiated Under Questionable Circumstances - R20: Non-payment bank account - R23: Credit entry refused by receiver - R29: Corporate customer advises not authorized - R34: Limited participation RDFI - R38: Stop Payment on Source Document (Adjustment Entry) - R39: Improper Source Document
-
rtpRejectionCode
public java.util.Optional<RTPRejectionCode> rtpRejectionCode()
The rejection code of an RTP transaction that caused the bank account status to change.- AC03: Account Invalid - AC04: Account Closed - AC06: Account Blocked - AC14: Creditor Account Type Invalid - AG01: Transactions Forbidden On Account - AG03: Transaction Type Not Supported - MD07: Customer Deceased
-
description
public java.lang.String description()
Details related to an `errored` or `verificationFailed` bank account status.
-
builder
public static final BankAccountException.Builder builder()
-
withAchReturnCode
public BankAccountException withAchReturnCode(ACHReturnCode achReturnCode)
The return code of an ACH transaction that caused the bank account status to change.- R02: Account Closed - R03: No Account/Unable to Locate Account - R04: Invalid Account Number - R05: Improper Debit to Consumer Account - R07: Authorization Revoked by Customer - R08: Payment Stopped - R10: Customer Advises Originator is Not Known or Authorized to Receiver - R11: Customer Advises Entry Not in Accordance with the Terms of the Authorization - R12: Branch Sold to Another DFI - R13: RDFI not qualified to participate - R14: Representative payee deceased or unable to continue in that capacity - R15: Beneficiary or bank account holder - R16: Bank account frozen - R17: Entry with Invalid Account Number Initiated Under Questionable Circumstances - R20: Non-payment bank account - R23: Credit entry refused by receiver - R29: Corporate customer advises not authorized - R34: Limited participation RDFI - R38: Stop Payment on Source Document (Adjustment Entry) - R39: Improper Source Document
-
withAchReturnCode
public BankAccountException withAchReturnCode(java.util.Optional<? extends ACHReturnCode> achReturnCode)
The return code of an ACH transaction that caused the bank account status to change.- R02: Account Closed - R03: No Account/Unable to Locate Account - R04: Invalid Account Number - R05: Improper Debit to Consumer Account - R07: Authorization Revoked by Customer - R08: Payment Stopped - R10: Customer Advises Originator is Not Known or Authorized to Receiver - R11: Customer Advises Entry Not in Accordance with the Terms of the Authorization - R12: Branch Sold to Another DFI - R13: RDFI not qualified to participate - R14: Representative payee deceased or unable to continue in that capacity - R15: Beneficiary or bank account holder - R16: Bank account frozen - R17: Entry with Invalid Account Number Initiated Under Questionable Circumstances - R20: Non-payment bank account - R23: Credit entry refused by receiver - R29: Corporate customer advises not authorized - R34: Limited participation RDFI - R38: Stop Payment on Source Document (Adjustment Entry) - R39: Improper Source Document
-
withRtpRejectionCode
public BankAccountException withRtpRejectionCode(RTPRejectionCode rtpRejectionCode)
The rejection code of an RTP transaction that caused the bank account status to change.- AC03: Account Invalid - AC04: Account Closed - AC06: Account Blocked - AC14: Creditor Account Type Invalid - AG01: Transactions Forbidden On Account - AG03: Transaction Type Not Supported - MD07: Customer Deceased
-
withRtpRejectionCode
public BankAccountException withRtpRejectionCode(java.util.Optional<? extends RTPRejectionCode> rtpRejectionCode)
The rejection code of an RTP transaction that caused the bank account status to change.- AC03: Account Invalid - AC04: Account Closed - AC06: Account Blocked - AC14: Creditor Account Type Invalid - AG01: Transactions Forbidden On Account - AG03: Transaction Type Not Supported - MD07: Customer Deceased
-
withDescription
public BankAccountException withDescription(java.lang.String description)
Details related to an `errored` or `verificationFailed` bank account status.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-