getScanInTransactionsAsset abstract method

  1. @GET(Api.getScanInTransactions)
Future<CheckStockAssetModel> getScanInTransactionsAsset({
  1. @Query("pageNo") int pageNo = 1,
  2. @Query("perPageCount") int perPageCount = 10,
  3. @Query("filterStatus") required String filterStatus,
  4. @Query("productCode") required String productCode,
  5. @Query("userId") required String userId,
  6. @Query("orderBy") String orderBy = "ASC",
  7. @Query("sort") String sort = "id",
  8. @Header("X-User-Id") String xUserId = "",
  9. @Header("content-type") String type = "application/json",
})

Implementation

@GET(Api.getScanInTransactions)
Future<CheckStockAssetModel> getScanInTransactionsAsset({
  @Query("pageNo") int pageNo = 1,
  @Query("perPageCount") int perPageCount = 10,
  @Query("filterStatus") required String filterStatus,
  @Query("productCode") required String productCode,
  @Query("userId") required String userId,
  @Query("orderBy") String orderBy = "ASC",
  @Query("sort") String sort = "id",
  @Header("X-User-Id") String xUserId = "",
  @Header("content-type") String type = "application/json",
});