Package de.adorsys.psd2.model
Enum BalanceType
- java.lang.Object
-
- java.lang.Enum<BalanceType>
-
- de.adorsys.psd2.model.BalanceType
-
- All Implemented Interfaces:
Serializable,Comparable<BalanceType>
public enum BalanceType extends Enum<BalanceType>
The following balance types are defined: - \"closingBooked\": Balance of the account at the end of the pre-agreed account reporting period. It is the sum of the opening booked balance at the beginning of the period and all entries booked to the account during the pre-agreed account reporting period. For card-accounts, this is composed of - invoiced, but not yet paid entries - \"expected\": Balance composed of booked entries and pending items known at the time of calculation, which projects the end of day balance if everything is booked on the account and no other entry is posted. For card accounts, this is composed of: - invoiced, but not yet paid entries - not yet invoiced but already booked entries and - pending items (not yet booked) For card-accounts: \"money to spend with the value of a pre-approved credit limit on the card account\" - \"openingBooked\": Book balance of the account at the beginning of the account reporting period. It always equals the closing book balance from the previous report. - \"interimAvailable\": Available balance calculated in the course of the account ?servicer?s business day, at the time specified, and subject to further changes during the business day. The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified. For card-accounts, this is composed of: - invoiced, but not yet paid entries - not yet invoiced but already booked entries - \"interimBooked\": Balance calculated in the course of the account servicer's business day, at the time specified, and subject to further changes during the business day. The interim balance is calculated on the basis of booked credit and debit items during the calculation time/period specified. - \"forwardAvailable\": Forward available balance of money that is at the disposal of the account owner on the date specified. - \"nonInvoiced\": Only for card accounts, to be checked yet.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSINGBOOKEDEXPECTEDFORWARDAVAILABLEINTERIMAVAILABLEINTERIMBOOKEDNONINVOICEDOPENINGBOOKED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BalanceTypefromValue(String text)StringtoString()static BalanceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BalanceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOSINGBOOKED
public static final BalanceType CLOSINGBOOKED
-
EXPECTED
public static final BalanceType EXPECTED
-
OPENINGBOOKED
public static final BalanceType OPENINGBOOKED
-
INTERIMAVAILABLE
public static final BalanceType INTERIMAVAILABLE
-
INTERIMBOOKED
public static final BalanceType INTERIMBOOKED
-
FORWARDAVAILABLE
public static final BalanceType FORWARDAVAILABLE
-
NONINVOICED
public static final BalanceType NONINVOICED
-
-
Method Detail
-
values
public static BalanceType[] 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 (BalanceType c : BalanceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BalanceType 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<BalanceType>
-
fromValue
public static BalanceType fromValue(String text)
-
-