Package de.adorsys.psd2.model
Class CardAccountDetails
- java.lang.Object
-
- de.adorsys.psd2.model.CardAccountDetails
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2020-11-12T17:35:11.808068+02:00[Europe/Kiev]") public class CardAccountDetails extends ObjectCard account details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardAccountDetails.UsageEnumSpecifies the usage of the account: * PRIV: private personal account * ORGA: professional account
-
Constructor Summary
Constructors Constructor Description CardAccountDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CardAccountDetails_links(Map _links)CardAccountDetailsbalances(BalanceList balances)CardAccountDetailscreditLimit(Amount creditLimit)CardAccountDetailscurrency(String currency)CardAccountDetailsdetails(String details)CardAccountDetailsdisplayName(String displayName)booleanequals(Object o)@Valid BalanceListgetBalances()Get balances@Valid AmountgetCreditLimit()Get creditLimit@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@Valid MapgetLinks()Get _links@NotNull @Size(max=35) StringgetMaskedPan()Get maskedPan@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 is the data element to be used in the path when retrieving data from a dedicated account.@Valid AccountStatusgetStatus()Get status@Size(max=4) CardAccountDetails.UsageEnumgetUsage()Specifies the usage of the account: * PRIV: private personal account * ORGA: professional accountinthashCode()CardAccountDetailsmaskedPan(String maskedPan)CardAccountDetailsname(String name)CardAccountDetailsownerName(String ownerName)CardAccountDetailsproduct(String product)CardAccountDetailsresourceId(String resourceId)voidsetBalances(BalanceList balances)voidsetCreditLimit(Amount creditLimit)voidsetCurrency(String currency)voidsetDetails(String details)voidsetDisplayName(String displayName)voidsetLinks(Map _links)voidsetMaskedPan(String maskedPan)voidsetName(String name)voidsetOwnerName(String ownerName)voidsetProduct(String product)voidsetResourceId(String resourceId)voidsetStatus(AccountStatus status)voidsetUsage(CardAccountDetails.UsageEnum usage)CardAccountDetailsstatus(AccountStatus status)StringtoString()CardAccountDetailsusage(CardAccountDetails.UsageEnum usage)
-
-
-
Method Detail
-
resourceId
public CardAccountDetails resourceId(String resourceId)
-
getResourceId
public String getResourceId()
This is the data element to be used in the path when retrieving data from a dedicated account. This shall be filled, if addressable resource are created by the ASPSP on the /card-accounts endpoint.- Returns:
- resourceId
-
setResourceId
public void setResourceId(String resourceId)
-
maskedPan
public CardAccountDetails maskedPan(String maskedPan)
-
getMaskedPan
@NotNull @Size(max=35) public @NotNull @Size(max=35) String getMaskedPan()
Get maskedPan- Returns:
- maskedPan
-
setMaskedPan
public void setMaskedPan(String maskedPan)
-
currency
public CardAccountDetails 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)
-
ownerName
public CardAccountDetails ownerName(String ownerName)
-
getOwnerName
@Size(max=140) public @Size(max=140) String getOwnerName()
Get ownerName- Returns:
- ownerName
-
setOwnerName
public void setOwnerName(String ownerName)
-
name
public CardAccountDetails 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 CardAccountDetails 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 CardAccountDetails 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)
-
status
public CardAccountDetails status(AccountStatus status)
-
getStatus
@Valid public @Valid AccountStatus getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(AccountStatus status)
-
usage
public CardAccountDetails usage(CardAccountDetails.UsageEnum usage)
-
getUsage
@Size(max=4) public @Size(max=4) CardAccountDetails.UsageEnum getUsage()
Specifies the usage of the account: * PRIV: private personal account * ORGA: professional account- Returns:
- usage
-
setUsage
public void setUsage(CardAccountDetails.UsageEnum usage)
-
details
public CardAccountDetails 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)
-
creditLimit
public CardAccountDetails creditLimit(Amount creditLimit)
-
getCreditLimit
@Valid public @Valid Amount getCreditLimit()
Get creditLimit- Returns:
- creditLimit
-
setCreditLimit
public void setCreditLimit(Amount creditLimit)
-
balances
public CardAccountDetails balances(BalanceList balances)
-
getBalances
@Valid public @Valid BalanceList getBalances()
Get balances- Returns:
- balances
-
setBalances
public void setBalances(BalanceList balances)
-
_links
public CardAccountDetails _links(Map _links)
-
getLinks
@Valid public @Valid Map getLinks()
Get _links- Returns:
- _links
-
setLinks
public void setLinks(Map _links)
-
-