@RestController @RequestMapping(path="api/v1/") public class PaymentController extends Object
| Constructor and Description |
|---|
PaymentController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity |
getPaymentById(PaymentType paymentType,
String paymentProduct,
String paymentId) |
@GetMapping(path="/{payment-service}/{payment-product}/{paymentId}")
public org.springframework.http.ResponseEntity getPaymentById(@PathVariable(value="payment-service")
PaymentType paymentType,
@PathVariable(value="payment-product")
String paymentProduct,
@PathVariable(value="paymentId")
String paymentId)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.