public final class OfflineUserAddressInfo
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 |
---|
OfflineUserAddressInfo() |
Modifier and Type | Method and Description |
---|---|
OfflineUserAddressInfo |
clone() |
String |
getCity()
City of the address.
|
String |
getCountryCode()
2-letter country code in ISO-3166-1 alpha-2 of the user's address.
|
String |
getHashedFirstName()
First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters;
Remove any extra spaces before, after, and in between).
|
String |
getHashedLastName()
Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no
punctuation).
|
String |
getHashedStreetAddress()
The street address of the user hashed using SHA-256 hash function after normalization (lower
case only).
|
String |
getPostalCode()
Postal code of the user's address.
|
String |
getState()
State code of the address.
|
OfflineUserAddressInfo |
set(String fieldName,
Object value) |
OfflineUserAddressInfo |
setCity(String city)
City of the address.
|
OfflineUserAddressInfo |
setCountryCode(String countryCode)
2-letter country code in ISO-3166-1 alpha-2 of the user's address.
|
OfflineUserAddressInfo |
setHashedFirstName(String hashedFirstName)
First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters;
Remove any extra spaces before, after, and in between).
|
OfflineUserAddressInfo |
setHashedLastName(String hashedLastName)
Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no
punctuation).
|
OfflineUserAddressInfo |
setHashedStreetAddress(String hashedStreetAddress)
The street address of the user hashed using SHA-256 hash function after normalization (lower
case only).
|
OfflineUserAddressInfo |
setPostalCode(String postalCode)
Postal code of the user's address.
|
OfflineUserAddressInfo |
setState(String state)
State code of the address.
|
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 getCity()
null
for nonepublic OfflineUserAddressInfo setCity(String city)
city
- city or null
for nonepublic String getCountryCode()
null
for nonepublic OfflineUserAddressInfo setCountryCode(String countryCode)
countryCode
- countryCode or null
for nonepublic String getHashedFirstName()
null
for nonepublic OfflineUserAddressInfo setHashedFirstName(String hashedFirstName)
hashedFirstName
- hashedFirstName or null
for nonepublic String getHashedLastName()
null
for nonepublic OfflineUserAddressInfo setHashedLastName(String hashedLastName)
hashedLastName
- hashedLastName or null
for nonepublic String getHashedStreetAddress()
null
for nonepublic OfflineUserAddressInfo setHashedStreetAddress(String hashedStreetAddress)
hashedStreetAddress
- hashedStreetAddress or null
for nonepublic String getPostalCode()
null
for nonepublic OfflineUserAddressInfo setPostalCode(String postalCode)
postalCode
- postalCode or null
for nonepublic String getState()
null
for nonepublic OfflineUserAddressInfo setState(String state)
state
- state or null
for nonepublic OfflineUserAddressInfo set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public OfflineUserAddressInfo clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.