TradeController

@RestController
@RequestMapping(value = ["/api/trade"])
class TradeController(tradeService: TradeService, authContextService: AuthContextService)

Constructors

Link copied to clipboard
constructor(tradeService: TradeService, authContextService: AuthContextService)

Functions

Link copied to clipboard
@PostMapping(value = ["/checkout"])
fun checkout(@RequestBody tradeRequest: TradeRequest): ResponseEntity<OperationSuccessfulResponse>