Package de.adorsys.psd2.xs2a.service.ais
Class CardAccountService
- java.lang.Object
-
- de.adorsys.psd2.xs2a.service.ais.CardAccountService
-
@Service public class CardAccountService extends Object
-
-
Constructor Summary
Constructors Constructor Description CardAccountService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseObject<Xs2aCardAccountDetailsHolder>getCardAccountDetails(String consentId, String accountId, String requestUri)Gets CardAccount details based on card account ID and provided AIS-consent, depending on AccountAccess in AIS-consent.ResponseObject<Xs2aCardAccountListHolder>getCardAccountList(String consentId, String requestUri)Gets CardAccount list based on card accounts in provided AIS-consent, depending on AccountAccess in AIS-consent Balances are passed al/AccountControllerTestong with CardAccountDetails.
-
-
-
Method Detail
-
getCardAccountList
public ResponseObject<Xs2aCardAccountListHolder> getCardAccountList(String consentId, String requestUri)
Gets CardAccount list based on card accounts in provided AIS-consent, depending on AccountAccess in AIS-consent Balances are passed al/AccountControllerTestong with CardAccountDetails.- Parameters:
consentId- String representing an AccountConsent identificationrequestUri- the URI of incoming request- Returns:
- response with
Xs2aCardAccountListHoldercontaining the List of CardAccountDetails with Balances and granted by consent
-
getCardAccountDetails
public ResponseObject<Xs2aCardAccountDetailsHolder> getCardAccountDetails(String consentId, String accountId, String requestUri)
Gets CardAccount details based on card account ID and provided AIS-consent, depending on AccountAccess in AIS-consent.- Parameters:
consentId- String representing an AccountConsent identificationaccountId- identifier of the accountrequestUri- the URI of incoming request- Returns:
- response with
Xs2aCardAccountDetailsHoldercontaining Xs2aCardAccountDetails object instance
-
-