getCollectStockHistoryProducts abstract method

  1. @GET("${Api.getCollectStockHistoryTransactions}/{type}/products")
Future<CollectStockHistoryDetailsModel> getCollectStockHistoryProducts({
  1. @Query("assetsTransactionId") required String assetsTransactionId,
  2. @Query("offset") required String offset,
  3. @Query("limit") required String limit,
  4. @Path("type") required String type,
  5. @Header("X-UserId") String xUserId = "",
  6. @Header("content-type") String contentType = "application/json",
})

Implementation

@GET("${Api.getCollectStockHistoryTransactions}/{type}/products")
Future<CollectStockHistoryDetailsModel> getCollectStockHistoryProducts({
  @Query("assetsTransactionId") required String assetsTransactionId,
  @Query("offset") required String offset,
  @Query("limit") required String limit,
  @Path("type") required String type,
  @Header("X-UserId") String xUserId = "",
  @Header("content-type") String contentType = "application/json",
});