Package de.adorsys.psd2.model
Enum TransactionStatus
- java.lang.Object
-
- java.lang.Enum<TransactionStatus>
-
- de.adorsys.psd2.model.TransactionStatus
-
- All Implemented Interfaces:
Serializable,Comparable<TransactionStatus>
public enum TransactionStatus extends Enum<TransactionStatus>
The transaction status is filled with codes of the ISO 20022 data table: - 'ACCC': 'AcceptedSettlementCompleted' - Settlement on the creditor's account has been completed. - 'ACCP': 'AcceptedCustomerProfile' - Preceding check of technical validation was successful. Customer profile check was also successful. - 'ACSC': 'AcceptedSettlementCompleted' - Settlement on the debtor�s account has been completed. **Usage:** this can be used by the first agent to report to the debtor that the transaction has been completed. **Warning:** this status is provided for transaction status reasons, not for financial information. It can only be used after bilateral agreement. - 'ACSP': 'AcceptedSettlementInProcess' - All preceding checks such as technical validation and customer profile were successful and therefore the payment initiation has been accepted for execution. - 'ACTC': 'AcceptedTechnicalValidation' - Authentication and syntactical and semantical validation are successful. - 'ACWC': 'AcceptedWithChange' - Instruction is accepted but a change will be made, such as date or remittance not sent. - 'ACWP': 'AcceptedWithoutPosting' - Payment instruction included in the credit transfer is accepted without being posted to the creditor customer�s account. - 'RCVD': 'Received' - Payment initiation has been received by the receiving agent. - 'PDNG': 'Pending' - Payment initiation or individual transaction included in the payment initiation is pending. Further checks and status update will be performed. - 'RJCT': 'Rejected' - Payment initiation or individual transaction included in the payment initiation has been rejected. - 'CANC': 'Cancelled' Payment initiation has been cancelled before execution Remark: This codeis accepted as new code by ISO20022. - 'ACFC': 'AcceptedFundsChecked' - Preceding check of technical validation and customer profile was successful and an automatic funds check was positive . Remark: This code is accepted as new code by ISO20022. - 'PATC': 'PartiallyAcceptedTechnical' Correct The payment initiation needs multiple authentications, where some but not yet all have been performed. Syntactical and semantical validations are successful. Remark: This code is accepted as new code by ISO20022. - 'PART': 'PartiallyAccepted' - A number of transactions have been accepted, whereas another number of transactions have not yet achieved 'accepted' status. Remark: This code may be used only in case of bulk payments. It is only used in a situation where all mandated authorisations have been applied, but some payments have been rejected.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactionStatusfromValue(String text)StringtoString()static TransactionStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static TransactionStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCC
public static final TransactionStatus ACCC
-
ACCP
public static final TransactionStatus ACCP
-
ACSC
public static final TransactionStatus ACSC
-
ACSP
public static final TransactionStatus ACSP
-
ACTC
public static final TransactionStatus ACTC
-
ACWC
public static final TransactionStatus ACWC
-
ACWP
public static final TransactionStatus ACWP
-
RCVD
public static final TransactionStatus RCVD
-
PDNG
public static final TransactionStatus PDNG
-
RJCT
public static final TransactionStatus RJCT
-
CANC
public static final TransactionStatus CANC
-
ACFC
public static final TransactionStatus ACFC
-
PATC
public static final TransactionStatus PATC
-
PART
public static final TransactionStatus PART
-
-
Method Detail
-
values
public static TransactionStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TransactionStatus c : TransactionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<TransactionStatus>
-
fromValue
public static TransactionStatus fromValue(String text)
-
-