public final class TestOrder 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TestOrder() |
| Modifier and Type | Method and Description |
|---|---|
TestOrder |
clone() |
TestOrderCustomer |
getCustomer()
Required.
|
Boolean |
getEnableOrderinvoices()
Whether the orderinvoices service should support this order.
|
String |
getKind()
Identifies what kind of resource this is.
|
List<TestOrderLineItem> |
getLineItems()
Required.
|
String |
getNotificationMode()
Restricted.
|
TestOrderPaymentMethod |
getPaymentMethod()
The details of the payment method.
|
String |
getPredefinedDeliveryAddress()
Required.
|
String |
getPredefinedPickupDetails()
Identifier of one of the predefined pickup details.
|
List<OrderLegacyPromotion> |
getPromotions()
Deprecated.
|
Price |
getShippingCost()
Required.
|
Price |
getShippingCostTax()
Deprecated.
|
String |
getShippingOption()
Required.
|
TestOrder |
set(String fieldName,
Object value) |
TestOrder |
setCustomer(TestOrderCustomer customer)
Required.
|
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)
Required.
|
TestOrder |
setNotificationMode(String notificationMode)
Restricted.
|
TestOrder |
setPaymentMethod(TestOrderPaymentMethod paymentMethod)
The details of the payment method.
|
TestOrder |
setPredefinedDeliveryAddress(String predefinedDeliveryAddress)
Required.
|
TestOrder |
setPredefinedPickupDetails(String predefinedPickupDetails)
Identifier of one of the predefined pickup details.
|
TestOrder |
setPromotions(List<OrderLegacyPromotion> promotions)
Deprecated.
|
TestOrder |
setShippingCost(Price shippingCost)
Required.
|
TestOrder |
setShippingCostTax(Price shippingCostTax)
Deprecated.
|
TestOrder |
setShippingOption(String shippingOption)
Required.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, 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 TestOrderPaymentMethod getPaymentMethod()
null for nonepublic TestOrder setPaymentMethod(TestOrderPaymentMethod paymentMethod)
paymentMethod - paymentMethod or null for nonepublic String getPredefinedDeliveryAddress()
null for nonepublic TestOrder setPredefinedDeliveryAddress(String predefinedDeliveryAddress)
predefinedDeliveryAddress - predefinedDeliveryAddress or null for nonepublic String getPredefinedPickupDetails()
null for nonepublic TestOrder setPredefinedPickupDetails(String predefinedPickupDetails)
predefinedPickupDetails - predefinedPickupDetails or null for nonepublic List<OrderLegacyPromotion> getPromotions()
null for nonepublic TestOrder setPromotions(List<OrderLegacyPromotion> promotions)
promotions - promotions or null for nonepublic Price getShippingCost()
null for nonepublic TestOrder setShippingCost(Price shippingCost)
shippingCost - shippingCost or null for nonepublic Price getShippingCostTax()
null for nonepublic TestOrder setShippingCostTax(Price shippingCostTax)
shippingCostTax - shippingCostTax 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 GenericJsonpublic TestOrder clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.