@RestController @RequestMapping(path="/payments/common") public class CommonPaymentController extends Object
| Constructor and Description |
|---|
CommonPaymentController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<AspspPaymentInfo> |
createPayment(AspspPaymentInfo aspspPaymentInfo) |
org.springframework.http.ResponseEntity<AspspPaymentInfo> |
getPaymentById(String paymentId) |
org.springframework.http.ResponseEntity<AspspTransactionStatus> |
getPaymentStatusById(String paymentId) |
@PostMapping public org.springframework.http.ResponseEntity<AspspPaymentInfo> createPayment(@RequestBody AspspPaymentInfo aspspPaymentInfo)
@GetMapping(path="/{paymentId}")
public org.springframework.http.ResponseEntity<AspspPaymentInfo> getPaymentById(@PathVariable(value="paymentId")
String paymentId)
@GetMapping(path="/{paymentId}/status")
public org.springframework.http.ResponseEntity<AspspTransactionStatus> getPaymentStatusById(@PathVariable(value="paymentId")
String paymentId)
Copyright © 2019. All rights reserved.