Package de.adorsys.psd2.model
Class AccountDetails
- java.lang.Object
-
- de.adorsys.psd2.model.AccountDetails
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2020-11-12T17:35:11.808068+02:00[Europe/Kiev]") public class AccountDetails extends ObjectThe ASPSP shall give at least one of the account reference identifiers: - iban - bban - pan - maskedPan - msisdn If the account is a multicurrency account currency code in \"currency\" is set to \"XXX\".
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountDetails.UsageEnumSpecifies the usage of the account: * PRIV: private personal account * ORGA: professional account
-
Constructor Summary
Constructors Constructor Description AccountDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountDetails_links(Map _links)AccountDetailsbalances(BalanceList balances)AccountDetailsbban(String bban)AccountDetailsbic(String bic)AccountDetailscashAccountType(String cashAccountType)AccountDetailscurrency(String currency)AccountDetailsdetails(String details)AccountDetailsdisplayName(String displayName)booleanequals(Object o)@Valid BalanceListgetBalances()Get balances@Pattern(regexp="[a-zA-Z0-9]{1,30}") StringgetBban()Get bban@Pattern(regexp="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}") StringgetBic()Get bicStringgetCashAccountType()Get cashAccountType@NotNull @Pattern(regexp="[A-Z]{3}") StringgetCurrency()Get currency@Size(max=500) StringgetDetails()Specifications that might be provided by the ASPSP: - characteristics of the account - characteristics of the relevant card@Size(max=70) StringgetDisplayName()Get displayName@Pattern(regexp="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}") StringgetIban()Get iban@Size(max=70) StringgetLinkedAccounts()Case of a set of pending card transactions, the APSP will provide the relevant cash account the card is set up on.@Valid MapgetLinks()Get _links@Size(max=35) StringgetMsisdn()Get msisdn@Size(max=70) StringgetName()Name of the account, as assigned by the ASPSP, in agreement with the account owner in order to provide an additional means of identification of the account.@Size(max=140) StringgetOwnerName()Get ownerName@Size(max=35) StringgetProduct()Product name of the bank for this account, proprietary definition.StringgetResourceId()This shall be filled, if addressable resource are created by the ASPSP on the /accounts or /card-accounts endpoint.@Valid AccountStatusgetStatus()Get status@Size(max=4) AccountDetails.UsageEnumgetUsage()Specifies the usage of the account: * PRIV: private personal account * ORGA: professional accountinthashCode()AccountDetailsiban(String iban)AccountDetailslinkedAccounts(String linkedAccounts)AccountDetailsmsisdn(String msisdn)AccountDetailsname(String name)AccountDetailsownerName(String ownerName)AccountDetailsproduct(String product)AccountDetailsresourceId(String resourceId)voidsetBalances(BalanceList balances)voidsetBban(String bban)voidsetBic(String bic)voidsetCashAccountType(String cashAccountType)voidsetCurrency(String currency)voidsetDetails(String details)voidsetDisplayName(String displayName)voidsetIban(String iban)voidsetLinkedAccounts(String linkedAccounts)voidsetLinks(Map _links)voidsetMsisdn(String msisdn)voidsetName(String name)voidsetOwnerName(String ownerName)voidsetProduct(String product)voidsetResourceId(String resourceId)voidsetStatus(AccountStatus status)voidsetUsage(AccountDetails.UsageEnum usage)AccountDetailsstatus(AccountStatus status)StringtoString()AccountDetailsusage(AccountDetails.UsageEnum usage)
-
-
-
Method Detail
-
resourceId
public AccountDetails resourceId(String resourceId)
-
getResourceId
public String getResourceId()
This shall be filled, if addressable resource are created by the ASPSP on the /accounts or /card-accounts endpoint.- Returns:
- resourceId
-
setResourceId
public void setResourceId(String resourceId)
-
iban
public AccountDetails 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 AccountDetails 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)
-
msisdn
public AccountDetails 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 AccountDetails currency(String currency)
-
getCurrency
@NotNull @Pattern(regexp="[A-Z]{3}") public @NotNull @Pattern(regexp="[A-Z]{3}") String getCurrency()Get currency- Returns:
- currency
-
setCurrency
public void setCurrency(String currency)
-
name
public AccountDetails name(String name)
-
getName
@Size(max=70) public @Size(max=70) String getName()
Name of the account, as assigned by the ASPSP, in agreement with the account owner in order to provide an additional means of identification of the account.- Returns:
- name
-
setName
public void setName(String name)
-
displayName
public AccountDetails displayName(String displayName)
-
getDisplayName
@Size(max=70) public @Size(max=70) String getDisplayName()
Get displayName- Returns:
- displayName
-
setDisplayName
public void setDisplayName(String displayName)
-
product
public AccountDetails product(String product)
-
getProduct
@Size(max=35) public @Size(max=35) String getProduct()
Product name of the bank for this account, proprietary definition.- Returns:
- product
-
setProduct
public void setProduct(String product)
-
cashAccountType
public AccountDetails cashAccountType(String cashAccountType)
-
getCashAccountType
public String getCashAccountType()
Get cashAccountType- Returns:
- cashAccountType
-
setCashAccountType
public void setCashAccountType(String cashAccountType)
-
status
public AccountDetails status(AccountStatus status)
-
getStatus
@Valid public @Valid AccountStatus getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(AccountStatus status)
-
bic
public AccountDetails bic(String bic)
-
getBic
@Pattern(regexp="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}") public @Pattern(regexp="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}") String getBic()Get bic- Returns:
- bic
-
setBic
public void setBic(String bic)
-
linkedAccounts
public AccountDetails linkedAccounts(String linkedAccounts)
-
getLinkedAccounts
@Size(max=70) public @Size(max=70) String getLinkedAccounts()
Case of a set of pending card transactions, the APSP will provide the relevant cash account the card is set up on.- Returns:
- linkedAccounts
-
setLinkedAccounts
public void setLinkedAccounts(String linkedAccounts)
-
usage
public AccountDetails usage(AccountDetails.UsageEnum usage)
-
getUsage
@Size(max=4) public @Size(max=4) AccountDetails.UsageEnum getUsage()
Specifies the usage of the account: * PRIV: private personal account * ORGA: professional account- Returns:
- usage
-
setUsage
public void setUsage(AccountDetails.UsageEnum usage)
-
details
public AccountDetails details(String details)
-
getDetails
@Size(max=500) public @Size(max=500) String getDetails()
Specifications that might be provided by the ASPSP: - characteristics of the account - characteristics of the relevant card- Returns:
- details
-
setDetails
public void setDetails(String details)
-
balances
public AccountDetails balances(BalanceList balances)
-
getBalances
@Valid public @Valid BalanceList getBalances()
Get balances- Returns:
- balances
-
setBalances
public void setBalances(BalanceList balances)
-
_links
public AccountDetails _links(Map _links)
-
getLinks
@Valid public @Valid Map getLinks()
Get _links- Returns:
- _links
-
setLinks
public void setLinks(Map _links)
-
ownerName
public AccountDetails ownerName(String ownerName)
-
getOwnerName
@Size(max=140) public @Size(max=140) String getOwnerName()
Get ownerName- Returns:
- ownerName
-
setOwnerName
public void setOwnerName(String ownerName)
-
-