public final class GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount
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 Cloud Billing 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 |
|---|
GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount |
clone() |
Decimal |
getDiscountPercent()
Percentage of the floating discount.
|
String |
getDiscountScopeType()
Type of the floating discount scope which indicates the source of the discount.
|
String |
getSkuGroup()
SKU group where the floating discount comes from.
|
GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount |
set(String fieldName,
Object value) |
GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount |
setDiscountPercent(Decimal discountPercent)
Percentage of the floating discount.
|
GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount |
setDiscountScopeType(String discountScopeType)
Type of the floating discount scope which indicates the source of the discount.
|
GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount |
setSkuGroup(String skuGroup)
SKU group where the floating discount comes from.
|
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 GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount()
public Decimal getDiscountPercent()
null for nonepublic GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount setDiscountPercent(Decimal discountPercent)
discountPercent - discountPercent or null for nonepublic String getDiscountScopeType()
null for nonepublic GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount setDiscountScopeType(String discountScopeType)
discountScopeType - discountScopeType or null for nonepublic String getSkuGroup()
null for nonepublic GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount setSkuGroup(String skuGroup)
skuGroup - skuGroup or null for nonepublic GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudBillingBillingaccountpricesV1betaFloatingDiscount clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.