Interface PaymentRestAPI
-
public interface PaymentRestAPI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<SCAPaymentResponseTO>executeCancelPayment(String paymentId)org.springframework.http.ResponseEntity<SCAPaymentResponseTO>executePayment(String paymentId)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<CustomPageImpl<PaymentTO>>getPendingPeriodicPaymentsPaged(int page, int size)org.springframework.http.ResponseEntity<SCAPaymentResponseTO>initiatePayment(PaymentTypeTO paymentType, PaymentTO payment)org.springframework.http.ResponseEntity<SCAPaymentResponseTO>initiatePmtCancellation(String paymentId)
-
-
-
Field Detail
-
BASE_PATH
static final String BASE_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPaymentStatusById
@GetMapping("/{paymentId}/status") org.springframework.http.ResponseEntity<TransactionStatusTO> getPaymentStatusById(@PathVariable("paymentId") String paymentId)
-
getPaymentById
@GetMapping("/{paymentId}") org.springframework.http.ResponseEntity<PaymentTO> getPaymentById(@PathVariable(name="paymentId") String paymentId)
-
getPendingPeriodicPayments
@GetMapping("/pending/periodic") org.springframework.http.ResponseEntity<List<PaymentTO>> getPendingPeriodicPayments()
-
getPendingPeriodicPaymentsPaged
@GetMapping("/pending/periodic/paged") org.springframework.http.ResponseEntity<CustomPageImpl<PaymentTO>> getPendingPeriodicPaymentsPaged(@RequestParam("page") int page, @RequestParam("size") int size)
-
initiatePayment
@PostMapping(params="paymentType") org.springframework.http.ResponseEntity<SCAPaymentResponseTO> initiatePayment(@RequestParam("paymentType") PaymentTypeTO paymentType, @RequestBody PaymentTO payment)
-
executePayment
@PostMapping("/{paymentId}/execution") org.springframework.http.ResponseEntity<SCAPaymentResponseTO> executePayment(@PathVariable("paymentId") String paymentId)
-
initiatePmtCancellation
@PostMapping("/{paymentId}/cancellation-authorisations") org.springframework.http.ResponseEntity<SCAPaymentResponseTO> initiatePmtCancellation(@PathVariable("paymentId") String paymentId)
-
executeCancelPayment
@PostMapping("/{paymentId}/cancellation-authorisations/execute") org.springframework.http.ResponseEntity<SCAPaymentResponseTO> executeCancelPayment(@PathVariable("paymentId") String paymentId)
-
-