spotSellthruSubmit abstract method

  1. @POST("${Api.spotSellthruSubmit}/{transactionType}/carts/{cartId}")
Future<SpotSellThruSubmitModel> spotSellthruSubmit({
  1. @Body() required SpotSellThruSubmitRequest body,
  2. @Path("transactionType") required String transactionType,
  3. @Header("X-User-Id") String xUserId = "",
  4. @Header("Content-Type") String type = "application/json",
  5. @Header("X-User-Name") String xUserName = "",
  6. @Path("cartId") required String cartId,
})

Implementation

@POST("${Api.spotSellthruSubmit}/{transactionType}/carts/{cartId}")
Future<SpotSellThruSubmitModel> spotSellthruSubmit(
    {@Body() required SpotSellThruSubmitRequest body,
    @Path("transactionType") required String transactionType,
    @Header("X-User-Id") String xUserId = "",
    @Header("Content-Type") String type = "application/json",
    @Header("X-User-Name") String xUserName = "",
    @Path("cartId") required String cartId});