stockDeliverySellthruSubmit abstract method

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

Implementation

@POST("${Api.stockDeliverySellthruSubmit}/{cartId}")
Future<SellThruStockDeliverySubmitModel> stockDeliverySellthruSubmit(
    {@Body() required PaymentCollectionRequest body,
    @Path("cartId") required String cartId,
    @Header("X-User-Id") String xUserId = "",
    @Header("Content-Type") String type = "application/json",
    @Header("X-User-Name") String xUserName = "",
    @Header("X-Roles") String xRoles = ""});