Transactions

This is a convenient class to be used with Tracker.trackGameTransaction().

Example

User buys a scratch using ten coins:

Tracker.trackGameTransaction("Buy", "Scratch store",
                             withTransactions("scratch", 1).and("coins", 10));

Public methods

and(String item, int quantity, int balance)

Append a new transaction with the specified item, quantity and balance


and(String item, int value)

Append a new transaction with the specified item and quantity

See also

Tracker