Class AccountDetails
- java.lang.Object
-
- de.adorsys.opba.tppbankingapi.ais.model.generated.AccountDetails
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2020-11-17T19:48:11.090052Z[Etc/UTC]") 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(LinksAccountDetails _links)AccountDetailsaddBalancesItem(Balance balancesItem)AccountDetailsbalances(List<Balance> balances)AccountDetailsbban(String bban)AccountDetailsbic(String bic)AccountDetailscashAccountType(String cashAccountType)AccountDetailscurrency(String currency)AccountDetailsdetails(String details)booleanequals(Object o)@Valid List<Balance>getBalances()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=140) StringgetDetails()Specifications that might be provided by the ASPSP: - characteristics of the account - characteristics of the relevant card@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 LinksAccountDetailsgetLinks()Get _links@Size(max=35) StringgetMaskedPan()Get maskedPan@Size(max=35) StringgetMsisdn()Get msisdn@Size(max=35) StringgetName()Name of the account given by the bank or the PSU in online-banking.@Valid AddressgetOwnerAddress()Get ownerAddress@Size(max=70) StringgetOwnerName()Name of the legal account owner.@Size(max=35) StringgetPan()Get pan@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)AccountDetailsmaskedPan(String maskedPan)AccountDetailsmsisdn(String msisdn)AccountDetailsname(String name)AccountDetailsownerAddress(Address ownerAddress)AccountDetailsownerName(String ownerName)AccountDetailspan(String pan)AccountDetailsproduct(String product)AccountDetailsresourceId(String resourceId)voidsetBalances(List<Balance> balances)voidsetBban(String bban)voidsetBic(String bic)voidsetCashAccountType(String cashAccountType)voidsetCurrency(String currency)voidsetDetails(String details)voidsetIban(String iban)voidsetLinkedAccounts(String linkedAccounts)voidsetLinks(LinksAccountDetails _links)voidsetMaskedPan(String maskedPan)voidsetMsisdn(String msisdn)voidsetName(String name)voidsetOwnerAddress(Address ownerAddress)voidsetOwnerName(String ownerName)voidsetPan(String pan)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)
-
pan
public AccountDetails 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 AccountDetails 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 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=35) public @Size(max=35) String getName()
Name of the account given by the bank or the PSU in online-banking.- Returns:
- name
-
setName
public void setName(String name)
-
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=140) public @Size(max=140) 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)
-
_links
public AccountDetails _links(LinksAccountDetails _links)
-
getLinks
@Valid public @Valid LinksAccountDetails getLinks()
Get _links- Returns:
- _links
-
setLinks
public void setLinks(LinksAccountDetails _links)
-
ownerName
public AccountDetails ownerName(String ownerName)
-
getOwnerName
@Size(max=70) public @Size(max=70) String getOwnerName()
Name of the legal account owner. If there is more than one owner, then e.g. two names might be noted here.- Returns:
- ownerName
-
setOwnerName
public void setOwnerName(String ownerName)
-
ownerAddress
public AccountDetails ownerAddress(Address ownerAddress)
-
getOwnerAddress
@Valid public @Valid Address getOwnerAddress()
Get ownerAddress- Returns:
- ownerAddress
-
setOwnerAddress
public void setOwnerAddress(Address ownerAddress)
-
balances
public AccountDetails balances(List<Balance> balances)
-
addBalancesItem
public AccountDetails addBalancesItem(Balance balancesItem)
-
-