public final class PricingInfo 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 Cloud Billing API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public PricingInfo clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.