getSellThruHistoryDetails abstract method

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