public final class PublisherAccount
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 AdMob 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| Constructor and Description |
|---|
PublisherAccount() |
| Modifier and Type | Method and Description |
|---|---|
PublisherAccount |
clone() |
java.lang.String |
getCurrencyCode()
Currency code of the earning-related metrics, which is the 3-letter code defined in ISO 4217.
|
java.lang.String |
getName()
Resource name of this account.
|
java.lang.String |
getPublisherId()
The unique ID by which this publisher account can be identified in the API requests (for
example, pub-1234567890).
|
java.lang.String |
getReportingTimeZone()
The time zone that is used in reports that are generated for this account.
|
PublisherAccount |
set(java.lang.String fieldName,
java.lang.Object value) |
PublisherAccount |
setCurrencyCode(java.lang.String currencyCode)
Currency code of the earning-related metrics, which is the 3-letter code defined in ISO 4217.
|
PublisherAccount |
setName(java.lang.String name)
Resource name of this account.
|
PublisherAccount |
setPublisherId(java.lang.String publisherId)
The unique ID by which this publisher account can be identified in the API requests (for
example, pub-1234567890).
|
PublisherAccount |
setReportingTimeZone(java.lang.String reportingTimeZone)
The time zone that is used in reports that are generated for this account.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getCurrencyCode()
null for nonepublic PublisherAccount setCurrencyCode(java.lang.String currencyCode)
currencyCode - currencyCode or null for nonepublic java.lang.String getName()
null for nonepublic PublisherAccount setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getPublisherId()
null for nonepublic PublisherAccount setPublisherId(java.lang.String publisherId)
publisherId - publisherId or null for nonepublic java.lang.String getReportingTimeZone()
null for nonepublic PublisherAccount setReportingTimeZone(java.lang.String reportingTimeZone)
reportingTimeZone - reportingTimeZone or null for nonepublic PublisherAccount set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PublisherAccount clone()
clone in class com.google.api.client.json.GenericJson