Class AccountReference
- java.lang.Object
-
- de.adorsys.psd2.xs2a.core.profile.AccountReference
-
public class AccountReference extends Object
-
-
Constructor Summary
Constructors Constructor Description AccountReference()AccountReference(AccountReferenceType accountReferenceType, String accountReferenceValue, Currency currency)This constructor should be used for storing initial accounts data (as it was requested by TPP)AccountReference(AccountReferenceType accountReferenceType, String accountReferenceValue, Currency currency, String resourceId, String aspspAccountId)This constructor should be used for storing accounts data received from aspspAccountReference(String aspspAccountId, String resourceId, String iban, String bban, String pan, String maskedPan, String msisdn, Currency currency, String otherAccountIdentification)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)AccountReferenceTypegetAccountReferenceType()StringgetAspspAccountId()StringgetBban()CurrencygetCurrency()StringgetIban()StringgetMaskedPan()StringgetMsisdn()StringgetOtherAccountIdentification()StringgetPan()StringgetResourceId()Set<AccountReferenceType>getUsedAccountReferenceFields()AccountReferenceSelectorgetUsedAccountReferenceSelector()inthashCode()booleanisNotCardAccount()booleanisNotIbanAccount()voidsetAspspAccountId(String aspspAccountId)voidsetBban(String bban)voidsetCurrency(Currency currency)voidsetIban(String iban)voidsetMaskedPan(String maskedPan)voidsetMsisdn(String msisdn)voidsetOtherAccountIdentification(String otherAccountIdentification)voidsetPan(String pan)voidsetResourceId(String resourceId)StringtoString()
-
-
-
Constructor Detail
-
AccountReference
public AccountReference(AccountReferenceType accountReferenceType, String accountReferenceValue, Currency currency)
This constructor should be used for storing initial accounts data (as it was requested by TPP)- Parameters:
accountReferenceType- Account identifier typeaccountReferenceValue- Account identifier valuecurrency- Currency Type
-
AccountReference
public AccountReference(AccountReferenceType accountReferenceType, String accountReferenceValue, Currency currency, String resourceId, String aspspAccountId)
This constructor should be used for storing accounts data received from aspsp- Parameters:
accountReferenceType- Account identifier typeaccountReferenceValue- Account identifier valuecurrency- Currency TyperesourceId- The identification that denotes the addressed accountaspspAccountId- Bank specific account ID
-
AccountReference
@ConstructorProperties({"aspspAccountId","resourceId","iban","bban","pan","maskedPan","msisdn","currency","otherAccountIdentification"}) public AccountReference(String aspspAccountId, String resourceId, String iban, String bban, String pan, String maskedPan, String msisdn, Currency currency, String otherAccountIdentification)
-
AccountReference
public AccountReference()
-
-
Method Detail
-
getAccountReferenceType
public AccountReferenceType getAccountReferenceType()
-
getUsedAccountReferenceSelector
public AccountReferenceSelector getUsedAccountReferenceSelector()
-
getUsedAccountReferenceFields
public Set<AccountReferenceType> getUsedAccountReferenceFields()
-
isNotCardAccount
public boolean isNotCardAccount()
-
isNotIbanAccount
public boolean isNotIbanAccount()
-
getAspspAccountId
public String getAspspAccountId()
-
getResourceId
public String getResourceId()
-
getIban
public String getIban()
-
getBban
public String getBban()
-
getPan
public String getPan()
-
getMaskedPan
public String getMaskedPan()
-
getMsisdn
public String getMsisdn()
-
getCurrency
public Currency getCurrency()
-
getOtherAccountIdentification
public String getOtherAccountIdentification()
-
setAspspAccountId
public void setAspspAccountId(String aspspAccountId)
-
setResourceId
public void setResourceId(String resourceId)
-
setIban
public void setIban(String iban)
-
setBban
public void setBban(String bban)
-
setPan
public void setPan(String pan)
-
setMaskedPan
public void setMaskedPan(String maskedPan)
-
setMsisdn
public void setMsisdn(String msisdn)
-
setCurrency
public void setCurrency(Currency currency)
-
setOtherAccountIdentification
public void setOtherAccountIdentification(String otherAccountIdentification)
-
canEqual
protected boolean canEqual(Object other)
-
-