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 Campaign Manager 360 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.Flags
AbstractMap.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() |
String |
getPricingComment()
Comments for this pricing period.
|
Long |
getRateOrCostNanos()
Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000).
|
com.google.api.client.util.DateTime |
getStartDate() |
Long |
getUnits()
Units of this pricing period.
|
PricingSchedulePricingPeriod |
set(String fieldName,
Object value) |
PricingSchedulePricingPeriod |
setEndDate(com.google.api.client.util.DateTime endDate) |
PricingSchedulePricingPeriod |
setPricingComment(String pricingComment)
Comments for this pricing period.
|
PricingSchedulePricingPeriod |
setRateOrCostNanos(Long rateOrCostNanos)
Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000).
|
PricingSchedulePricingPeriod |
setStartDate(com.google.api.client.util.DateTime startDate) |
PricingSchedulePricingPeriod |
setUnits(Long units)
Units of this pricing period.
|
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 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.GenericJson
public PricingSchedulePricingPeriod clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.