public static class

HitBuilders.TransactionBuilder

extends HitBuilder<HitBuilders.TransactionBuilder>
java.lang.Object
   ↳ com.google.android.gms.analytics.HitBuilders.HitBuilder<com.google.android.gms.analytics.HitBuilders.TransactionBuilder>
     ↳ com.google.android.gms.analytics.HitBuilders.TransactionBuilder

This class is 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.

Class Overview

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.

Summary

Public Constructors
HitBuilders.TransactionBuilder()
Public Methods
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)
[Expand]
Inherited Methods
From class com.google.android.gms.analytics.HitBuilders.HitBuilder
From class java.lang.Object

Public Constructors

public HitBuilders.TransactionBuilder ()

Public Methods

public HitBuilders.TransactionBuilder setAffiliation (String affiliation)

public HitBuilders.TransactionBuilder setCurrencyCode (String currencyCode)

public HitBuilders.TransactionBuilder setRevenue (double revenue)

public HitBuilders.TransactionBuilder setShipping (double shipping)

public HitBuilders.TransactionBuilder setTax (double tax)

public HitBuilders.TransactionBuilder setTransactionId (String transactionid)