Package de.adorsys.psd2.model
Class AccountReference
- java.lang.Object
-
- de.adorsys.psd2.model.AccountReference
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2021-05-24T13:41:46.273636+03:00[Europe/Kiev]") public class AccountReference extends ObjectReference to an account by either: * IBAN, of a payment accounts, or * BBAN, for payment accounts if there is no IBAN, or * the Primary Account Number (PAN) of a card, can be tokenised by the ASPSP due to PCI DSS requirements, or * the Primary Account Number (PAN) of a card in a masked form, or * an alias to access a payment account via a registered mobile phone number (MSISDN).
-
-
Constructor Summary
Constructors Constructor Description AccountReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountReferencebban(String bban)AccountReferencecurrency(String currency)booleanequals(Object o)@Pattern(regexp="[a-zA-Z0-9]{1,30}") StringgetBban()Get bban@Pattern(regexp="[A-Z]{3}") StringgetCurrency()Get currency@Pattern(regexp="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}") StringgetIban()Get iban@Size(max=35) StringgetMaskedPan()Get maskedPan@Size(max=35) StringgetMsisdn()Get msisdnStringgetOtherAccountIdentification()Get otherAccountIdentification@Size(max=35) StringgetPan()Get paninthashCode()AccountReferenceiban(String iban)AccountReferencemaskedPan(String maskedPan)AccountReferencemsisdn(String msisdn)AccountReferenceotherAccountIdentification(String otherAccountIdentification)AccountReferencepan(String pan)voidsetBban(String bban)voidsetCurrency(String currency)voidsetIban(String iban)voidsetMaskedPan(String maskedPan)voidsetMsisdn(String msisdn)voidsetOtherAccountIdentification(String otherAccountIdentification)voidsetPan(String pan)StringtoString()
-
-
-
Method Detail
-
iban
public AccountReference iban(String iban)
-
getIban
@Pattern(regexp="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}") public @Pattern(regexp="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}") String getIban()Get iban- Returns:
- iban
-
setIban
public void setIban(String iban)
-
bban
public AccountReference bban(String bban)
-
getBban
@Pattern(regexp="[a-zA-Z0-9]{1,30}") public @Pattern(regexp="[a-zA-Z0-9]{1,30}") String getBban()Get bban- Returns:
- bban
-
setBban
public void setBban(String bban)
-
pan
public AccountReference pan(String pan)
-
getPan
@Size(max=35) public @Size(max=35) String getPan()
Get pan- Returns:
- pan
-
setPan
public void setPan(String pan)
-
maskedPan
public AccountReference maskedPan(String maskedPan)
-
getMaskedPan
@Size(max=35) public @Size(max=35) String getMaskedPan()
Get maskedPan- Returns:
- maskedPan
-
setMaskedPan
public void setMaskedPan(String maskedPan)
-
msisdn
public AccountReference msisdn(String msisdn)
-
getMsisdn
@Size(max=35) public @Size(max=35) String getMsisdn()
Get msisdn- Returns:
- msisdn
-
setMsisdn
public void setMsisdn(String msisdn)
-
currency
public AccountReference currency(String currency)
-
getCurrency
@Pattern(regexp="[A-Z]{3}") public @Pattern(regexp="[A-Z]{3}") String getCurrency()Get currency- Returns:
- currency
-
setCurrency
public void setCurrency(String currency)
-
otherAccountIdentification
public AccountReference otherAccountIdentification(String otherAccountIdentification)
-
getOtherAccountIdentification
public String getOtherAccountIdentification()
Get otherAccountIdentification- Returns:
- otherAccountIdentification
-
setOtherAccountIdentification
public void setOtherAccountIdentification(String otherAccountIdentification)
-
-