getGrnTransactions abstract method

  1. @GET(Api.grnTransactions)
Future<GrnTransactionResponse> getGrnTransactions({
  1. @Query("filterStatus") required String filterStatus,
  2. @Query("filterPartnerId") required String filterPartnerId,
  3. @Query("filterExternalReferenceId") String? filterExternalReferenceId,
  4. @Header("X-User-Id") String xUserId = "",
  5. @Header("content-type") String type = "applicatin/json",
  6. @Query("sort") required String sort,
  7. @Query("orderBy") required String orderBy,
  8. @Query("pageNo") required int pageNo,
  9. @Query("perPageCount") required int perPageCount,
})

Implementation

@GET(Api.grnTransactions)
Future<GrnTransactionResponse> getGrnTransactions({
  @Query("filterStatus") required String filterStatus,
  @Query("filterPartnerId") required String filterPartnerId,
  @Query("filterExternalReferenceId") String? filterExternalReferenceId,
  @Header("X-User-Id") String xUserId = "",
  @Header("content-type") String type = "applicatin/json",
  @Query("sort") required String sort,
  @Query("orderBy") required String orderBy,
  @Query("pageNo") required int pageNo,
  @Query("perPageCount") required int perPageCount,
});