@Service @Transactional public class MiddlewarePaymentServiceImpl extends Object implements MiddlewarePaymentService
| Constructor and Description |
|---|
MiddlewarePaymentServiceImpl(DepositAccountPaymentService paymentService,
SCAOperationService scaOperationService,
DepositAccountService accountService,
PaymentConverter paymentConverter,
AccessTokenTO accessTokenTO,
BearerTokenMapper bearerTokenMapper,
AccessTokenMapper accessTokenMapper,
UserService userService,
SCAUtils scaUtils,
PaymentCancelPolicy cancelPolicy,
PaymentCoreDataPolicy coreDataPolicy,
AccessService accessService) |
| Modifier and Type | Method and Description |
|---|---|
SCAPaymentResponseTO |
authorizeCancelPayment(String paymentId,
String cancellationId,
String authCode) |
SCAPaymentResponseTO |
authorizePayment(String paymentId,
String authorisationId,
String authCode) |
Object |
getPaymentById(String paymentId) |
TransactionStatusTO |
getPaymentStatusById(String paymentId) |
String |
iban(String paymentId) |
<T> SCAPaymentResponseTO |
initiatePayment(T payment,
PaymentTypeTO paymentType) |
SCAPaymentResponseTO |
initiatePaymentCancellation(String paymentId) |
SCAPaymentResponseTO |
loadSCAForCancelPaymentData(String paymentId,
String cancellationId) |
SCAPaymentResponseTO |
loadSCAForPaymentData(String paymentId,
String authorisationId) |
SCAPaymentResponseTO |
selectSCAMethodForCancelPayment(String paymentId,
String cancellationId,
String scaMethodId) |
SCAPaymentResponseTO |
selectSCAMethodForPayment(String paymentId,
String authorisationId,
String scaMethodId) |
public MiddlewarePaymentServiceImpl(DepositAccountPaymentService paymentService, SCAOperationService scaOperationService, DepositAccountService accountService, PaymentConverter paymentConverter, AccessTokenTO accessTokenTO, BearerTokenMapper bearerTokenMapper, AccessTokenMapper accessTokenMapper, UserService userService, SCAUtils scaUtils, PaymentCancelPolicy cancelPolicy, PaymentCoreDataPolicy coreDataPolicy, AccessService accessService)
public TransactionStatusTO getPaymentStatusById(String paymentId) throws PaymentNotFoundMiddlewareException
getPaymentStatusById in interface MiddlewarePaymentServicePaymentNotFoundMiddlewareExceptionpublic SCAPaymentResponseTO initiatePaymentCancellation(String paymentId) throws PaymentNotFoundMiddlewareException, PaymentProcessingMiddlewareException
initiatePaymentCancellation in interface MiddlewarePaymentServicePaymentNotFoundMiddlewareExceptionPaymentProcessingMiddlewareExceptionpublic <T> SCAPaymentResponseTO initiatePayment(T payment, PaymentTypeTO paymentType) throws AccountNotFoundMiddlewareException, PaymentWithIdMiddlewareException
initiatePayment in interface MiddlewarePaymentServiceAccountNotFoundMiddlewareExceptionPaymentWithIdMiddlewareExceptionpublic Object getPaymentById(String paymentId) throws PaymentNotFoundMiddlewareException
getPaymentById in interface MiddlewarePaymentServicePaymentNotFoundMiddlewareExceptionpublic String iban(String paymentId)
iban in interface MiddlewarePaymentServicepublic SCAPaymentResponseTO authorizePayment(String paymentId, String authorisationId, String authCode) throws SCAOperationNotFoundMiddlewareException, SCAOperationValidationMiddlewareException, SCAOperationExpiredMiddlewareException, SCAOperationUsedOrStolenMiddlewareException, PaymentNotFoundMiddlewareException
public SCAPaymentResponseTO loadSCAForPaymentData(String paymentId, String authorisationId) throws PaymentNotFoundMiddlewareException, SCAOperationExpiredMiddlewareException
loadSCAForPaymentData in interface MiddlewarePaymentServicePaymentNotFoundMiddlewareExceptionSCAOperationExpiredMiddlewareExceptionpublic SCAPaymentResponseTO selectSCAMethodForPayment(String paymentId, String authorisationId, String scaMethodId) throws PaymentNotFoundMiddlewareException, SCAMethodNotSupportedMiddleException, UserScaDataNotFoundMiddlewareException, SCAOperationValidationMiddlewareException, SCAOperationNotFoundMiddlewareException
public SCAPaymentResponseTO loadSCAForCancelPaymentData(String paymentId, String cancellationId) throws PaymentNotFoundMiddlewareException, SCAOperationExpiredMiddlewareException
loadSCAForCancelPaymentData in interface MiddlewarePaymentServicePaymentNotFoundMiddlewareExceptionSCAOperationExpiredMiddlewareExceptionpublic SCAPaymentResponseTO selectSCAMethodForCancelPayment(String paymentId, String cancellationId, String scaMethodId) throws PaymentNotFoundMiddlewareException, SCAMethodNotSupportedMiddleException, UserScaDataNotFoundMiddlewareException, SCAOperationValidationMiddlewareException, SCAOperationNotFoundMiddlewareException
public SCAPaymentResponseTO authorizeCancelPayment(String paymentId, String cancellationId, String authCode) throws SCAOperationNotFoundMiddlewareException, SCAOperationValidationMiddlewareException, SCAOperationExpiredMiddlewareException, SCAOperationUsedOrStolenMiddlewareException, PaymentNotFoundMiddlewareException
Copyright © 2019. All rights reserved.