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