@RestController @MiddlewareUserResource @RequestMapping(value="/payments") public class PaymentResource extends Object implements PaymentRestAPI
BASE_PATH| Constructor and Description |
|---|
PaymentResource() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
authorizeCancelPayment(String paymentId,
String cancellationId,
String authCode) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
authorizePayment(String paymentId,
String authorisationId,
String authCode) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
executePayment(PaymentTO payment) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
getCancelSCA(String paymentId,
String cancellationId) |
org.springframework.http.ResponseEntity<PaymentTO> |
getPaymentById(String paymentId) |
org.springframework.http.ResponseEntity<TransactionStatusTO> |
getPaymentStatusById(String paymentId) |
org.springframework.http.ResponseEntity<List<PaymentTO>> |
getPendingPeriodicPayments() |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
getSCA(String paymentId,
String authorisationId) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
initiatePayment(PaymentTypeTO paymentType,
PaymentTO payment) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
initiatePmtCancellation(String paymentId) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
selecCancelPaymentSCAtMethod(String paymentId,
String cancellationId,
String scaMethodId) |
org.springframework.http.ResponseEntity<SCAPaymentResponseTO> |
selectMethod(String paymentId,
String authorisationId,
String scaMethodId) |
@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<TransactionStatusTO> getPaymentStatusById(String paymentId)
getPaymentStatusById in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<PaymentTO> getPaymentById(String paymentId)
getPaymentById in interface PaymentRestAPIpublic org.springframework.http.ResponseEntity<List<PaymentTO>> getPendingPeriodicPayments()
getPendingPeriodicPayments in interface PaymentRestAPIpublic org.springframework.http.ResponseEntity<SCAPaymentResponseTO> initiatePayment(PaymentTypeTO paymentType, PaymentTO payment)
initiatePayment in interface PaymentRestAPIpublic org.springframework.http.ResponseEntity<SCAPaymentResponseTO> executePayment(PaymentTO payment)
executePayment in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> getSCA(String paymentId, String authorisationId)
getSCA in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> selectMethod(String paymentId, String authorisationId, String scaMethodId)
selectMethod in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> authorizePayment(String paymentId, String authorisationId, String authCode)
authorizePayment in interface PaymentRestAPI@PreAuthorize(value="paymentInitById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> initiatePmtCancellation(String paymentId)
initiatePmtCancellation in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> getCancelSCA(String paymentId, String cancellationId)
getCancelSCA in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> selecCancelPaymentSCAtMethod(String paymentId, String cancellationId, String scaMethodId)
selecCancelPaymentSCAtMethod in interface PaymentRestAPI@PreAuthorize(value="paymentInfoById(#paymentId)") public org.springframework.http.ResponseEntity<SCAPaymentResponseTO> authorizeCancelPayment(String paymentId, String cancellationId, String authCode)
authorizeCancelPayment in interface PaymentRestAPICopyright © 2021. All rights reserved.