getCollectStockHistoryProducts abstract method

  1. @GET.new("${Api.getCollectStockHistoryTransactions}/{type}/products")
Future<CollectStockHistoryDetailsModel> getCollectStockHistoryProducts({
  1. @Query.new("assetsTransactionId") required String assetsTransactionId,
  2. @Query.new("offset") required String offset,
  3. @Query.new("limit") required String limit,
  4. @Path.new("type") required String type,
  5. @Header.new("X-UserId") String xUserId = "",
  6. @Header.new("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",
});