public final class TestOrder
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 Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TestOrder() |
| Modifier and Type | Method and Description |
|---|---|
TestOrder |
clone() |
TestOrderCustomer |
getCustomer()
The details of the customer who placed the order.
|
Boolean |
getEnableOrderinvoices()
Whether the orderinvoices service should support this order.
|
String |
getKind()
Identifies what kind of resource this is.
|
List<TestOrderLineItem> |
getLineItems()
Line items that are ordered.
|
String |
getNotificationMode()
Determines if test order must be pulled by merchant or pushed to merchant via push integration.
|
String |
getPredefinedBillingAddress()
The billing address.
|
String |
getPredefinedDeliveryAddress()
Identifier of one of the predefined delivery addresses for the delivery.
|
List<OrderPromotion> |
getPromotions()
Promotions associated with the order.
|
Price |
getShippingCost()
The price of shipping for all items.
|
String |
getShippingOption()
The requested shipping option.
|
TestOrder |
set(String fieldName,
Object value) |
TestOrder |
setCustomer(TestOrderCustomer customer)
The details of the customer who placed the order.
|
TestOrder |
setEnableOrderinvoices(Boolean enableOrderinvoices)
Whether the orderinvoices service should support this order.
|
TestOrder |
setKind(String kind)
Identifies what kind of resource this is.
|
TestOrder |
setLineItems(List<TestOrderLineItem> lineItems)
Line items that are ordered.
|
TestOrder |
setNotificationMode(String notificationMode)
Determines if test order must be pulled by merchant or pushed to merchant via push integration.
|
TestOrder |
setPredefinedBillingAddress(String predefinedBillingAddress)
The billing address.
|
TestOrder |
setPredefinedDeliveryAddress(String predefinedDeliveryAddress)
Identifier of one of the predefined delivery addresses for the delivery.
|
TestOrder |
setPromotions(List<OrderPromotion> promotions)
Promotions associated with the order.
|
TestOrder |
setShippingCost(Price shippingCost)
The price of shipping for all items.
|
TestOrder |
setShippingOption(String shippingOption)
The requested shipping option.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic TestOrderCustomer getCustomer()
null for nonepublic TestOrder setCustomer(TestOrderCustomer customer)
customer - customer or null for nonepublic Boolean getEnableOrderinvoices()
null for nonepublic TestOrder setEnableOrderinvoices(Boolean enableOrderinvoices)
enableOrderinvoices - enableOrderinvoices or null for nonepublic String getKind()
null for nonepublic TestOrder setKind(String kind)
kind - kind or null for nonepublic List<TestOrderLineItem> getLineItems()
null for nonepublic TestOrder setLineItems(List<TestOrderLineItem> lineItems)
lineItems - lineItems or null for nonepublic String getNotificationMode()
null for nonepublic TestOrder setNotificationMode(String notificationMode)
notificationMode - notificationMode or null for nonepublic String getPredefinedBillingAddress()
null for nonepublic TestOrder setPredefinedBillingAddress(String predefinedBillingAddress)
predefinedBillingAddress - predefinedBillingAddress or null for nonepublic String getPredefinedDeliveryAddress()
null for nonepublic TestOrder setPredefinedDeliveryAddress(String predefinedDeliveryAddress)
predefinedDeliveryAddress - predefinedDeliveryAddress or null for nonepublic List<OrderPromotion> getPromotions()
null for nonepublic TestOrder setPromotions(List<OrderPromotion> promotions)
promotions - promotions or null for nonepublic Price getShippingCost()
null for nonepublic TestOrder setShippingCost(Price shippingCost)
shippingCost - shippingCost or null for nonepublic String getShippingOption()
null for nonepublic TestOrder setShippingOption(String shippingOption)
shippingOption - shippingOption or null for nonepublic TestOrder set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TestOrder clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.