public final class RateTier
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 |
|---|
RateTier() |
| Modifier and Type | Method and Description |
|---|---|
RateTier |
clone() |
Money |
getPrice()
The price for this tier.
|
Double |
getStartAmount()
The magnitude of usage in which the tier interval begins.
|
RateTier |
set(String fieldName,
Object value) |
RateTier |
setPrice(Money price)
The price for this tier.
|
RateTier |
setStartAmount(Double startAmount)
The magnitude of usage in which the tier interval begins.
|
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 Money getPrice()
null for nonepublic RateTier setPrice(Money price)
price - price or null for nonepublic Double getStartAmount()
null for nonepublic RateTier setStartAmount(Double startAmount)
startAmount - startAmount or null for nonepublic RateTier set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RateTier clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.