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 |
getFullName()
Full name of the customer.
|
String |
getInvoiceReceivingEmail()
Email address for the merchant to send value-added tax or invoice documentation of the order.
|
OrderCustomerLoyaltyInfo |
getLoyaltyInfo()
Loyalty program information.
|
OrderCustomerMarketingRightsInfo |
getMarketingRightsInfo()
Customer's marketing preferences.
|
OrderCustomer |
set(String fieldName,
Object value) |
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 |
setLoyaltyInfo(OrderCustomerLoyaltyInfo loyaltyInfo)
Loyalty program information.
|
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 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 OrderCustomerLoyaltyInfo getLoyaltyInfo()
null
for nonepublic OrderCustomer setLoyaltyInfo(OrderCustomerLoyaltyInfo loyaltyInfo)
loyaltyInfo
- loyaltyInfo 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–2020 Google. All rights reserved.