public final class BillingRate
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 |
---|
BillingRate() |
Modifier and Type | Method and Description |
---|---|
BillingRate |
clone() |
String |
getCurrencyCode()
Billing currency code in ISO 4217 format.
|
String |
getEndDate()
End date of this billing rate.
|
Long |
getId()
ID of this billing rate.
|
String |
getName()
Name of this billing rate.
|
Long |
getRateInMicros()
Flat rate in micros of this billing rate.
|
String |
getStartDate()
Start date of this billing rate.
|
List<BillingRateTieredRate> |
getTieredRates()
Tiered rate of this billing rate.
|
String |
getType()
Type of this billing rate.
|
String |
getUnitOfMeasure()
Unit of measure for this billing rate.
|
BillingRate |
set(String fieldName,
Object value) |
BillingRate |
setCurrencyCode(String currencyCode)
Billing currency code in ISO 4217 format.
|
BillingRate |
setEndDate(String endDate)
End date of this billing rate.
|
BillingRate |
setId(Long id)
ID of this billing rate.
|
BillingRate |
setName(String name)
Name of this billing rate.
|
BillingRate |
setRateInMicros(Long rateInMicros)
Flat rate in micros of this billing rate.
|
BillingRate |
setStartDate(String startDate)
Start date of this billing rate.
|
BillingRate |
setTieredRates(List<BillingRateTieredRate> tieredRates)
Tiered rate of this billing rate.
|
BillingRate |
setType(String type)
Type of this billing rate.
|
BillingRate |
setUnitOfMeasure(String unitOfMeasure)
Unit of measure for this billing rate.
|
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 String getCurrencyCode()
null
for nonepublic BillingRate setCurrencyCode(String currencyCode)
currencyCode
- currencyCode or null
for nonepublic String getEndDate()
null
for nonepublic BillingRate setEndDate(String endDate)
endDate
- endDate or null
for nonepublic Long getId()
null
for nonepublic BillingRate setId(Long id)
id
- id or null
for nonepublic String getName()
null
for nonepublic BillingRate setName(String name)
name
- name or null
for nonepublic Long getRateInMicros()
null
for nonepublic BillingRate setRateInMicros(Long rateInMicros)
rateInMicros
- rateInMicros or null
for nonepublic String getStartDate()
null
for nonepublic BillingRate setStartDate(String startDate)
startDate
- startDate or null
for nonepublic List<BillingRateTieredRate> getTieredRates()
null
for nonepublic BillingRate setTieredRates(List<BillingRateTieredRate> tieredRates)
tieredRates
- tieredRates or null
for nonepublic String getType()
null
for nonepublic BillingRate setType(String type)
type
- type or null
for nonepublic String getUnitOfMeasure()
null
for nonepublic BillingRate setUnitOfMeasure(String unitOfMeasure)
unitOfMeasure
- unitOfMeasure or null
for nonepublic BillingRate set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public BillingRate clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.