public final class GoogleCloudDiscoveryengineV1TransactionInfo
extends com.google.api.client.json.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 Discovery Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudDiscoveryengineV1TransactionInfo() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1TransactionInfo |
clone() |
Float |
getCost()
All the costs associated with the products.
|
String |
getCurrency()
Required.
|
Float |
getDiscountValue()
The total discount(s) value applied to this transaction.
|
Float |
getTax()
All the taxes associated with the transaction.
|
String |
getTransactionId()
The transaction ID with a length limit of 128 characters.
|
Float |
getValue()
Required.
|
GoogleCloudDiscoveryengineV1TransactionInfo |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1TransactionInfo |
setCost(Float cost)
All the costs associated with the products.
|
GoogleCloudDiscoveryengineV1TransactionInfo |
setCurrency(String currency)
Required.
|
GoogleCloudDiscoveryengineV1TransactionInfo |
setDiscountValue(Float discountValue)
The total discount(s) value applied to this transaction.
|
GoogleCloudDiscoveryengineV1TransactionInfo |
setTax(Float tax)
All the taxes associated with the transaction.
|
GoogleCloudDiscoveryengineV1TransactionInfo |
setTransactionId(String transactionId)
The transaction ID with a length limit of 128 characters.
|
GoogleCloudDiscoveryengineV1TransactionInfo |
setValue(Float value)
Required.
|
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 GoogleCloudDiscoveryengineV1TransactionInfo()
public Float getCost()
null for nonepublic GoogleCloudDiscoveryengineV1TransactionInfo setCost(Float cost)
cost - cost or null for nonepublic String getCurrency()
null for nonepublic GoogleCloudDiscoveryengineV1TransactionInfo setCurrency(String currency)
currency - currency or null for nonepublic Float getDiscountValue()
null for nonepublic GoogleCloudDiscoveryengineV1TransactionInfo setDiscountValue(Float discountValue)
discountValue - discountValue or null for nonepublic Float getTax()
null for nonepublic GoogleCloudDiscoveryengineV1TransactionInfo setTax(Float tax)
tax - tax or null for nonepublic String getTransactionId()
null for nonepublic GoogleCloudDiscoveryengineV1TransactionInfo setTransactionId(String transactionId)
transactionId - transactionId or null for nonepublic Float getValue()
null for nonepublic GoogleCloudDiscoveryengineV1TransactionInfo setValue(Float value)
value - value or null for nonepublic GoogleCloudDiscoveryengineV1TransactionInfo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1TransactionInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.