getSellThruHistoryDetails abstract method

  1. @GET(Api.getSellThruHistoryDetails)
Future<StockDeliveryHistoryModel> getSellThruHistoryDetails({
  1. @Header("filterUserId") required String userId,
  2. @Query("perPageCount") int perPageCount = 10,
  3. @Query("filterPartnerId") required String filterPartnerID,
  4. @Query("sort") String? id,
  5. @Query("orderBy") String order = "ASC",
  6. @Query("filterFromDate") required String fromDate,
  7. @Query("filterToDate") required String toDate,
})

Implementation

@GET(Api.getSellThruHistoryDetails)
Future<StockDeliveryHistoryModel> getSellThruHistoryDetails({
  @Header("filterUserId") required String userId,
  @Query("perPageCount") int perPageCount = 10,
  @Query("filterPartnerId") required String filterPartnerID,
  @Query("sort") String? id,
  @Query("orderBy") String order = "ASC",
  @Query("filterFromDate") required String fromDate,
  @Query("filterToDate") required String toDate,
});