public final class EcommerceData extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Analytics Reporting API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
EcommerceData() |
| Modifier and Type | Method and Description |
|---|---|
EcommerceData |
clone() |
String |
getActionType()
Action associated with this e-commerce action.
|
String |
getEcommerceType()
The type of this e-commerce activity.
|
List<ProductData> |
getProducts()
Details of the products in this transaction.
|
TransactionData |
getTransaction()
Transaction details of this e-commerce action.
|
EcommerceData |
set(String fieldName,
Object value) |
EcommerceData |
setActionType(String actionType)
Action associated with this e-commerce action.
|
EcommerceData |
setEcommerceType(String ecommerceType)
The type of this e-commerce activity.
|
EcommerceData |
setProducts(List<ProductData> products)
Details of the products in this transaction.
|
EcommerceData |
setTransaction(TransactionData transaction)
Transaction details of this e-commerce action.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getActionType()
null for nonepublic EcommerceData setActionType(String actionType)
actionType - actionType or null for nonepublic String getEcommerceType()
null for nonepublic EcommerceData setEcommerceType(String ecommerceType)
ecommerceType - ecommerceType or null for nonepublic List<ProductData> getProducts()
null for nonepublic EcommerceData setProducts(List<ProductData> products)
products - products or null for nonepublic TransactionData getTransaction()
null for nonepublic EcommerceData setTransaction(TransactionData transaction)
transaction - transaction or null for nonepublic EcommerceData set(String fieldName, Object value)
set in class GenericJsonpublic EcommerceData clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.