public final class PublisherAccount 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 AdMob API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PublisherAccount() |
| Modifier and Type | Method and Description |
|---|---|
PublisherAccount |
clone() |
String |
getCurrencyCode()
Currency code of the earning-related metrics, which is the 3-letter code defined in ISO 4217.
|
String |
getName()
Resource name of this account.
|
String |
getPublisherId()
The unique ID by which this publisher account can be identified in the API requests (for
example, pub-1234567890).
|
String |
getReportingTimeZone()
The time zone that is used in reports that are generated for this account.
|
PublisherAccount |
set(String fieldName,
Object value) |
PublisherAccount |
setCurrencyCode(String currencyCode)
Currency code of the earning-related metrics, which is the 3-letter code defined in ISO 4217.
|
PublisherAccount |
setName(String name)
Resource name of this account.
|
PublisherAccount |
setPublisherId(String publisherId)
The unique ID by which this publisher account can be identified in the API requests (for
example, pub-1234567890).
|
PublisherAccount |
setReportingTimeZone(String reportingTimeZone)
The time zone that is used in reports that are generated for this account.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCurrencyCode()
null for nonepublic PublisherAccount setCurrencyCode(String currencyCode)
currencyCode - currencyCode or null for nonepublic String getName()
null for nonepublic PublisherAccount setName(String name)
name - name or null for nonepublic String getPublisherId()
null for nonepublic PublisherAccount setPublisherId(String publisherId)
publisherId - publisherId or null for nonepublic String getReportingTimeZone()
null for nonepublic PublisherAccount setReportingTimeZone(String reportingTimeZone)
reportingTimeZone - reportingTimeZone or null for nonepublic PublisherAccount set(String fieldName, Object value)
set in class GenericJsonpublic PublisherAccount clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.