Interface ValuationApi

All Known Implementing Classes:
ValuationController

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2025-03-05T11:55:17.433196+01:00[Europe/Berlin]") @Validated public interface ValuationApi
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.springframework.http.ResponseEntity<MarginResult>
    _legacyMargin​(@Valid MarginRequest marginRequest)
    POST /valuation/legacy/margin : Request mapping for the margin
    default org.springframework.http.ResponseEntity<MarginResult>
    _margin​(@Valid MarginRequest marginRequest)
    POST /valuation/margin : Request mapping for the value
    default org.springframework.http.ResponseEntity<ValueResult>
    _testProductValue​(org.springframework.web.multipart.MultipartFile tradeData)
    POST /valuation/legacy/test/product : Request mapping for the value of a product (using fixed market data)
    default org.springframework.http.ResponseEntity<ValueResult>
    _value​(@Valid ValueRequest valueRequest)
    POST /valuation/value : Request mapping for the value
    default org.springframework.http.ResponseEntity<ValueResult>
    _valueAtTime​(@Valid ValueRequest valueRequest)
    POST /valuation/valueAtTime : Request mapping for the value at specific evaluationTime
    default Optional<org.springframework.web.context.request.NativeWebRequest>
     
    default org.springframework.http.ResponseEntity<MarginResult>
    legacyMargin​(MarginRequest marginRequest)
     
    default org.springframework.http.ResponseEntity<MarginResult>
    margin​(MarginRequest marginRequest)
     
    default org.springframework.http.ResponseEntity<ValueResult>
    testProductValue​(org.springframework.web.multipart.MultipartFile tradeData)
     
    default org.springframework.http.ResponseEntity<ValueResult>
    value​(ValueRequest valueRequest)
     
    default org.springframework.http.ResponseEntity<ValueResult>
    valueAtTime​(ValueRequest valueRequest)
     
  • Method Details

    • getRequest

      default Optional<org.springframework.web.context.request.NativeWebRequest> getRequest()
    • _legacyMargin

      @RequestMapping(method=POST, value="/valuation/legacy/margin", produces="application/json", consumes="application/json") default org.springframework.http.ResponseEntity<MarginResult> _legacyMargin(@Valid @RequestBody(required=false) @Valid MarginRequest marginRequest)
      POST /valuation/legacy/margin : Request mapping for the margin
      Parameters:
      marginRequest - (optional)
      Returns:
      Margin was calculated (status code 200) or unexpected error (status code 200)
    • legacyMargin

      default org.springframework.http.ResponseEntity<MarginResult> legacyMargin(MarginRequest marginRequest)
    • _margin

      @RequestMapping(method=POST, value="/valuation/margin", produces="application/json", consumes="application/json") default org.springframework.http.ResponseEntity<MarginResult> _margin(@Valid @RequestBody(required=false) @Valid MarginRequest marginRequest)
      POST /valuation/margin : Request mapping for the value
      Parameters:
      marginRequest - (optional)
      Returns:
      Margin was calculated (status code 200) or unexpected error (status code 200)
    • margin

      default org.springframework.http.ResponseEntity<MarginResult> margin(MarginRequest marginRequest)
    • _testProductValue

      @RequestMapping(method=POST, value="/valuation/legacy/test/product", produces="application/json", consumes="multipart/form-data") default org.springframework.http.ResponseEntity<ValueResult> _testProductValue(@RequestPart(value="tradeData",required=true) org.springframework.web.multipart.MultipartFile tradeData)
      POST /valuation/legacy/test/product : Request mapping for the value of a product (using fixed market data)
      Parameters:
      tradeData - (required)
      Returns:
      Value was calculated (status code 200) or unexpected error (status code 200)
    • testProductValue

      default org.springframework.http.ResponseEntity<ValueResult> testProductValue(org.springframework.web.multipart.MultipartFile tradeData)
    • _value

      @RequestMapping(method=POST, value="/valuation/value", produces="application/json", consumes="application/json") default org.springframework.http.ResponseEntity<ValueResult> _value(@Valid @RequestBody(required=false) @Valid ValueRequest valueRequest)
      POST /valuation/value : Request mapping for the value
      Parameters:
      valueRequest - (optional)
      Returns:
      Value was calculated (status code 200) or unexpected error (status code 200)
    • value

      default org.springframework.http.ResponseEntity<ValueResult> value(ValueRequest valueRequest)
    • _valueAtTime

      @RequestMapping(method=POST, value="/valuation/valueAtTime", produces="application/json", consumes="application/json") default org.springframework.http.ResponseEntity<ValueResult> _valueAtTime(@Valid @RequestBody(required=false) @Valid ValueRequest valueRequest)
      POST /valuation/valueAtTime : Request mapping for the value at specific evaluationTime
      Parameters:
      valueRequest - (optional)
      Returns:
      Value was calculated (status code 200) or unexpected error (status code 200)
    • valueAtTime

      default org.springframework.http.ResponseEntity<ValueResult> valueAtTime(ValueRequest valueRequest)