public final class OrderCustomer 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 Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
OrderCustomer() |
Modifier and Type | Method and Description |
---|---|
OrderCustomer |
clone() |
String |
getEmail()
Deprecated.
|
Boolean |
getExplicitMarketingPreference()
Deprecated.
|
String |
getFullName()
Full name of the customer.
|
String |
getInvoiceReceivingEmail()
Email address for the merchant to send value-added tax or invoice documentation of the order.
|
OrderCustomerMarketingRightsInfo |
getMarketingRightsInfo()
Customer's marketing preferences.
|
OrderCustomer |
set(String fieldName,
Object value) |
OrderCustomer |
setEmail(String email)
Deprecated.
|
OrderCustomer |
setExplicitMarketingPreference(Boolean explicitMarketingPreference)
Deprecated.
|
OrderCustomer |
setFullName(String fullName)
Full name of the customer.
|
OrderCustomer |
setInvoiceReceivingEmail(String invoiceReceivingEmail)
Email address for the merchant to send value-added tax or invoice documentation of the order.
|
OrderCustomer |
setMarketingRightsInfo(OrderCustomerMarketingRightsInfo marketingRightsInfo)
Customer's marketing preferences.
|
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 getEmail()
null
for nonepublic OrderCustomer setEmail(String email)
email
- email or null
for nonepublic Boolean getExplicitMarketingPreference()
null
for nonepublic OrderCustomer setExplicitMarketingPreference(Boolean explicitMarketingPreference)
explicitMarketingPreference
- explicitMarketingPreference or null
for nonepublic String getFullName()
null
for nonepublic OrderCustomer setFullName(String fullName)
fullName
- fullName or null
for nonepublic String getInvoiceReceivingEmail()
null
for nonepublic OrderCustomer setInvoiceReceivingEmail(String invoiceReceivingEmail)
invoiceReceivingEmail
- invoiceReceivingEmail or null
for nonepublic OrderCustomerMarketingRightsInfo getMarketingRightsInfo()
null
for nonepublic OrderCustomer setMarketingRightsInfo(OrderCustomerMarketingRightsInfo marketingRightsInfo)
marketingRightsInfo
- marketingRightsInfo or null
for nonepublic OrderCustomer set(String fieldName, Object value)
set
in class GenericJson
public OrderCustomer clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.