public final class PricingInfo
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 |
|---|
PricingInfo() |
| Modifier and Type | Method and Description |
|---|---|
PricingInfo |
clone() |
AggregationInfo |
getAggregationInfo()
Aggregation Info.
|
Double |
getCurrencyConversionRate()
Conversion rate used for currency conversion, from USD to the currency specified in the
request.
|
String |
getEffectiveTime()
The timestamp from which this pricing was effective within the requested time range.
|
PricingExpression |
getPricingExpression()
Expresses the pricing formula.
|
String |
getSummary()
An optional human readable summary of the pricing information, has a maximum length of 256
characters.
|
PricingInfo |
set(String fieldName,
Object value) |
PricingInfo |
setAggregationInfo(AggregationInfo aggregationInfo)
Aggregation Info.
|
PricingInfo |
setCurrencyConversionRate(Double currencyConversionRate)
Conversion rate used for currency conversion, from USD to the currency specified in the
request.
|
PricingInfo |
setEffectiveTime(String effectiveTime)
The timestamp from which this pricing was effective within the requested time range.
|
PricingInfo |
setPricingExpression(PricingExpression pricingExpression)
Expresses the pricing formula.
|
PricingInfo |
setSummary(String summary)
An optional human readable summary of the pricing information, has a maximum length of 256
characters.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic AggregationInfo getAggregationInfo()
null for nonepublic PricingInfo setAggregationInfo(AggregationInfo aggregationInfo)
aggregationInfo - aggregationInfo or null for nonepublic Double getCurrencyConversionRate()
null for nonepublic PricingInfo setCurrencyConversionRate(Double currencyConversionRate)
currencyConversionRate - currencyConversionRate or null for nonepublic String getEffectiveTime()
null for nonepublic PricingInfo setEffectiveTime(String effectiveTime)
effectiveTime - effectiveTime or null for nonepublic PricingExpression getPricingExpression()
null for nonepublic PricingInfo setPricingExpression(PricingExpression pricingExpression)
pricingExpression - pricingExpression or null for nonepublic String getSummary()
null for nonepublic PricingInfo setSummary(String summary)
summary - summary or null for nonepublic PricingInfo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PricingInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.