StockTransactionAdapter

public final class StockTransactionAdapter

Class responsible for deserializing stock transactions from JSON.

Methods

readListJson

public static CommcareStockTransactionList readListJson(String json)

Deserializes the given JSON string into an instance of the CommcareStockTransactionList class.

Parameters:
  • json – the JSON representation of the list of stock transaction
Returns:

the deserialized list of stock transactions