target.apidocs.com.google.api.services.androidpublisher.model.ExternalTransactionAddress.html Maven / Gradle / Ivy
ExternalTransactionAddress (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class ExternalTransactionAddress
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidpublisher.model.ExternalTransactionAddress
-
public final class ExternalTransactionAddress
extends com.google.api.client.json.GenericJson
User's address for the external transaction.
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 Google Play Android Developer API. For a detailed
explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ExternalTransactionAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ExternalTransactionAddress
clone()
String
getAdministrativeArea()
Optional.
String
getRegionCode()
Required.
ExternalTransactionAddress
set(String fieldName,
Object value)
ExternalTransactionAddress
setAdministrativeArea(String administrativeArea)
Optional.
ExternalTransactionAddress
setRegionCode(String regionCode)
Required.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAdministrativeArea
public String getAdministrativeArea()
Optional. Top-level administrative subdivision of the country/region. Only required for
transactions in India. Valid values are "ANDAMAN AND NICOBAR ISLANDS", "ANDHRA PRADESH",
"ARUNACHAL PRADESH", "ASSAM", "BIHAR", "CHANDIGARH", "CHHATTISGARH", "DADRA AND NAGAR HAVELI",
"DADRA AND NAGAR HAVELI AND DAMAN AND DIU", "DAMAN AND DIU", "DELHI", "GOA", "GUJARAT",
"HARYANA", "HIMACHAL PRADESH", "JAMMU AND KASHMIR", "JHARKHAND", "KARNATAKA", "KERALA",
"LADAKH", "LAKSHADWEEP", "MADHYA PRADESH", "MAHARASHTRA", "MANIPUR", "MEGHALAYA", "MIZORAM",
"NAGALAND", "ODISHA", "PUDUCHERRY", "PUNJAB", "RAJASTHAN", "SIKKIM", "TAMIL NADU", "TELANGANA",
"TRIPURA", "UTTAR PRADESH", "UTTARAKHAND", and "WEST BENGAL".
- Returns:
- value or
null
for none
-
setAdministrativeArea
public ExternalTransactionAddress setAdministrativeArea(String administrativeArea)
Optional. Top-level administrative subdivision of the country/region. Only required for
transactions in India. Valid values are "ANDAMAN AND NICOBAR ISLANDS", "ANDHRA PRADESH",
"ARUNACHAL PRADESH", "ASSAM", "BIHAR", "CHANDIGARH", "CHHATTISGARH", "DADRA AND NAGAR HAVELI",
"DADRA AND NAGAR HAVELI AND DAMAN AND DIU", "DAMAN AND DIU", "DELHI", "GOA", "GUJARAT",
"HARYANA", "HIMACHAL PRADESH", "JAMMU AND KASHMIR", "JHARKHAND", "KARNATAKA", "KERALA",
"LADAKH", "LAKSHADWEEP", "MADHYA PRADESH", "MAHARASHTRA", "MANIPUR", "MEGHALAYA", "MIZORAM",
"NAGALAND", "ODISHA", "PUDUCHERRY", "PUNJAB", "RAJASTHAN", "SIKKIM", "TAMIL NADU", "TELANGANA",
"TRIPURA", "UTTAR PRADESH", "UTTARAKHAND", and "WEST BENGAL".
- Parameters:
administrativeArea
- administrativeArea or null
for none
-
getRegionCode
public String getRegionCode()
Required. Two letter region code based on ISO-3166-1 Alpha-2 (UN region codes).
- Returns:
- value or
null
for none
-
setRegionCode
public ExternalTransactionAddress setRegionCode(String regionCode)
Required. Two letter region code based on ISO-3166-1 Alpha-2 (UN region codes).
- Parameters:
regionCode
- regionCode or null
for none
-
set
public ExternalTransactionAddress set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ExternalTransactionAddress clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy