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-10-13T17:30:20.351194+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)AccountReferencecashAccountType(String cashAccountType)AccountReferencecurrency(String currency)booleanequals(Object o)@Pattern(regexp="[a-zA-Z0-9]{1,30}") StringgetBban()Get bbanStringgetCashAccountType()Get cashAccountType@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 msisdn@Valid OtherTypegetOther()Get other@Size(max=35) StringgetPan()Get paninthashCode()AccountReferenceiban(String iban)AccountReferencemaskedPan(String maskedPan)AccountReferencemsisdn(String msisdn)AccountReferenceother(OtherType other)AccountReferencepan(String pan)voidsetBban(String bban)voidsetCashAccountType(String cashAccountType)voidsetCurrency(String currency)voidsetIban(String iban)voidsetMaskedPan(String maskedPan)voidsetMsisdn(String msisdn)voidsetOther(OtherType other)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)
-
other
public AccountReference other(OtherType other)
-
getOther
@Valid public @Valid OtherType getOther()
Get other- Returns:
- other
-
setOther
public void setOther(OtherType other)
-
cashAccountType
public AccountReference cashAccountType(String cashAccountType)
-
getCashAccountType
public String getCashAccountType()
Get cashAccountType- Returns:
- cashAccountType
-
setCashAccountType
public void setCashAccountType(String cashAccountType)
-
-