public final class PricingSchedulePricingPeriod
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 DCM/DFA Reporting And Trafficking 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 |
|---|
PricingSchedulePricingPeriod() |
| Modifier and Type | Method and Description |
|---|---|
PricingSchedulePricingPeriod |
clone() |
com.google.api.client.util.DateTime |
getEndDate()
Pricing period end date.
|
String |
getPricingComment()
Comments for this pricing period.
|
Long |
getRateOrCostNanos()
Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000).
|
com.google.api.client.util.DateTime |
getStartDate()
Pricing period start date.
|
Long |
getUnits()
Units of this pricing period.
|
PricingSchedulePricingPeriod |
set(String fieldName,
Object value) |
PricingSchedulePricingPeriod |
setEndDate(com.google.api.client.util.DateTime endDate)
Pricing period end date.
|
PricingSchedulePricingPeriod |
setPricingComment(String pricingComment)
Comments for this pricing period.
|
PricingSchedulePricingPeriod |
setRateOrCostNanos(Long rateOrCostNanos)
Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000).
|
PricingSchedulePricingPeriod |
setStartDate(com.google.api.client.util.DateTime startDate)
Pricing period start date.
|
PricingSchedulePricingPeriod |
setUnits(Long units)
Units of this pricing period.
|
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 com.google.api.client.util.DateTime getEndDate()
null for nonepublic PricingSchedulePricingPeriod setEndDate(com.google.api.client.util.DateTime endDate)
endDate - endDate or null for nonepublic String getPricingComment()
null for nonepublic PricingSchedulePricingPeriod setPricingComment(String pricingComment)
pricingComment - pricingComment or null for nonepublic Long getRateOrCostNanos()
null for nonepublic PricingSchedulePricingPeriod setRateOrCostNanos(Long rateOrCostNanos)
rateOrCostNanos - rateOrCostNanos or null for nonepublic com.google.api.client.util.DateTime getStartDate()
null for nonepublic PricingSchedulePricingPeriod setStartDate(com.google.api.client.util.DateTime startDate)
startDate - startDate or null for nonepublic Long getUnits()
null for nonepublic PricingSchedulePricingPeriod setUnits(Long units)
units - units or null for nonepublic PricingSchedulePricingPeriod set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PricingSchedulePricingPeriod clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.