class CardAccountAspectService extends BaseAspectService<CardAccountController> {

    public ResponseObject<Xs2aCardAccountDetailsHolder> getCardAccountDetails(ResponseObject<Xs2aCardAccountDetailsHolder> result) {
        if (!result.hasError()) {
            Xs2aCardAccountDetailsHolder body = result.getBody();
            setLinksForCardAccountDetails(body.getCardAccountDetails(), body.getAisConsent());
        }
        return result;
    }

    @Autowired public  CardAccountAspectService(AspspProfileServiceWrapper aspspProfileServiceWrapper);

}