getSellThruHistoryAssets abstract method

  1. @GET(Api.getSellThruHistoryAssets)
Future<StockDeliveryHistoryAssetModel> getSellThruHistoryAssets({
  1. @Header("filterUserId") required String userId,
  2. @Query("perPageCount") int perPageCount = 2000,
  3. @Query("sort") String? id,
  4. @Query("orderBy") String order = "ASC",
  5. @Query("filterFromDate") String? fromDate,
  6. @Query("filterToDate") String? toDate,
  7. @Query("filterProductCode") required String productCode,
  8. @Query("filterTransferOrderId") required String filterTransferOrderId,
  9. @Query("filterPartnerId") required String filterPartnerID,
})

Implementation

@GET(Api.getSellThruHistoryAssets)
Future<StockDeliveryHistoryAssetModel> getSellThruHistoryAssets({
  @Header("filterUserId") required String userId,
  @Query("perPageCount") int perPageCount = 2000,
  @Query("sort") String? id,
  @Query("orderBy") String order = "ASC",
  @Query("filterFromDate") String? fromDate,
  @Query("filterToDate") String? toDate,
  @Query("filterProductCode") required String productCode,
  @Query("filterTransferOrderId") required String filterTransferOrderId,
  @Query("filterPartnerId") required String filterPartnerID,
});