This class was deprecated.
This class has been deprecated in favor of a richer set of APIs on all the HitBuilder
classes. With the new approach, simply use addProduct, addImpression, addPromo and setAction
to add ecommerce data to any of the hits.
Transaction hit builder allows you to send in-app purchases and sales to Google Analytics. Transaction Id, affiliation and revenue are required for meaningful reports on transaction data.
Public Constructor Summary
Public Method Summary
HitBuilders.TransactionBuilder |
setAffiliation(String affiliation)
|
HitBuilders.TransactionBuilder |
setCurrencyCode(String
currencyCode)
|
HitBuilders.TransactionBuilder |
setRevenue(double revenue)
|
HitBuilders.TransactionBuilder |
setShipping(double shipping)
|
HitBuilders.TransactionBuilder |
setTax(double tax)
|
HitBuilders.TransactionBuilder |
setTransactionId(String
transactionid)
|