Package de.adorsys.psd2.model
Class Balance
- java.lang.Object
-
- de.adorsys.psd2.model.Balance
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2021-05-24T13:41:46.273636+03:00[Europe/Kiev]") public class Balance extends ObjectA single balance element.
-
-
Constructor Summary
Constructors Constructor Description Balance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BalancebalanceAmount(Amount balanceAmount)BalancebalanceType(BalanceType balanceType)BalancecreditLimitIncluded(Boolean creditLimitIncluded)booleanequals(Object o)@NotNull @Valid AmountgetBalanceAmount()Get balanceAmount@NotNull @Valid BalanceTypegetBalanceType()Get balanceType@Valid OffsetDateTimegetLastChangeDateTime()This data element might be used to indicate e.g.@Size(max=35) StringgetLastCommittedTransaction()\"entryReference\" of the last commited transaction to support the TPP in identifying whether all PSU transactions are already known.@Valid LocalDategetReferenceDate()Indicates the date of the balance.inthashCode()BooleanisCreditLimitIncluded()A flag indicating if the credit limit of the corresponding account is included in the calculation of the balance, where applicable.BalancelastChangeDateTime(OffsetDateTime lastChangeDateTime)BalancelastCommittedTransaction(String lastCommittedTransaction)BalancereferenceDate(LocalDate referenceDate)voidsetBalanceAmount(Amount balanceAmount)voidsetBalanceType(BalanceType balanceType)voidsetCreditLimitIncluded(Boolean creditLimitIncluded)voidsetLastChangeDateTime(OffsetDateTime lastChangeDateTime)voidsetLastCommittedTransaction(String lastCommittedTransaction)voidsetReferenceDate(LocalDate referenceDate)StringtoString()
-
-
-
Method Detail
-
getBalanceAmount
@NotNull @Valid public @NotNull @Valid Amount getBalanceAmount()
Get balanceAmount- Returns:
- balanceAmount
-
setBalanceAmount
public void setBalanceAmount(Amount balanceAmount)
-
balanceType
public Balance balanceType(BalanceType balanceType)
-
getBalanceType
@NotNull @Valid public @NotNull @Valid BalanceType getBalanceType()
Get balanceType- Returns:
- balanceType
-
setBalanceType
public void setBalanceType(BalanceType balanceType)
-
isCreditLimitIncluded
public Boolean isCreditLimitIncluded()
A flag indicating if the credit limit of the corresponding account is included in the calculation of the balance, where applicable.- Returns:
- creditLimitIncluded
-
setCreditLimitIncluded
public void setCreditLimitIncluded(Boolean creditLimitIncluded)
-
lastChangeDateTime
public Balance lastChangeDateTime(OffsetDateTime lastChangeDateTime)
-
getLastChangeDateTime
@Valid public @Valid OffsetDateTime getLastChangeDateTime()
This data element might be used to indicate e.g. with the expected or booked balance that no action is known on the account, which is not yet booked.- Returns:
- lastChangeDateTime
-
setLastChangeDateTime
public void setLastChangeDateTime(OffsetDateTime lastChangeDateTime)
-
getReferenceDate
@Valid public @Valid LocalDate getReferenceDate()
Indicates the date of the balance.- Returns:
- referenceDate
-
setReferenceDate
public void setReferenceDate(LocalDate referenceDate)
-
getLastCommittedTransaction
@Size(max=35) public @Size(max=35) String getLastCommittedTransaction()
\"entryReference\" of the last commited transaction to support the TPP in identifying whether all PSU transactions are already known.- Returns:
- lastCommittedTransaction
-
setLastCommittedTransaction
public void setLastCommittedTransaction(String lastCommittedTransaction)
-
-