|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.analytics.tracking.android.Transaction
public class Transaction
A simple class to hold the transaction data for transaction hits. Users can create an object of this class using the Builder subclass. To track a transaction, call SessionTracker.trackTransaction.
Nested Class Summary | |
---|---|
static class |
Transaction.Builder
Builder for Transaction. |
Method Summary | |
---|---|
void |
addItem(Item item)
Add the item in question. |
java.lang.String |
getAffiliation()
|
java.util.List<Item> |
getItems()
Get the items of this transaction as a list. |
long |
getShippingCostInMicros()
|
long |
getTotalCostInMicros()
|
long |
getTotalTaxInMicros()
|
java.lang.String |
getTransactionId()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getTransactionId()
public java.lang.String getAffiliation()
public long getTotalCostInMicros()
public long getTotalTaxInMicros()
public long getShippingCostInMicros()
public void addItem(Item item)
item
- the Item to addpublic java.util.List<Item> getItems()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |