StockTransactionRequest

public class StockTransactionRequest extends Request

Stores all possible query parameters that might be used while fetching stock transactions from the CommCareHQ server.

Methods

setCaseId

public void setCaseId(String caseId)

Sets the ID of the case to caseId.

Parameters:
  • caseId – the ID of the case

setEndDate

public void setEndDate(String endDate)

Sets the finish of the allowed period for transaction dates.

Parameters:
  • endDate – the finish of the allowed period for transaction dates

setSectionId

public void setSectionId(String sectionId)

Sets the ID of the section to sectionId.

Parameters:
  • sectionId – the ID of the section

setStartDate

public void setStartDate(String startDate)

Sets the beginning of the allowed period for transaction dates.

Parameters:
  • startDate – the beginning of the allowed period for transaction dates

toQueryString

public String toQueryString()