CommcareStockTransactionService¶
-
public interface
CommcareStockTransactionService
¶ A service to perform queries against CommCareHQ stock transaction APIs.
Methods¶
getStockTransactions¶
-
CommcareStockTransactionList
getStockTransactions
(StockTransactionRequest request)¶ Retrieves a list of stock transactions, based on provided query parameters. It uses the default configuration.
Parameters: - request – the request query parameters
Returns: the list of stock transactions
getStockTransactions¶
-
CommcareStockTransactionList
getStockTransactions
(StockTransactionRequest request, String configName)¶ Retrieves a list of stock transactions, based on provided query parameters and configuration name.
Parameters: - request – the request query parameters
- configName – the name of the configuration
Returns: the list of stock transactions