public final class OrderTrackingSignal
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
OrderTrackingSignal() |
Modifier and Type | Method and Description |
---|---|
OrderTrackingSignal |
clone() |
PriceAmount |
getCustomerShippingFee()
The shipping fee of the order; this value should be set to zero in the case of free shipping.
|
String |
getDeliveryPostalCode()
Required.
|
String |
getDeliveryRegionCode()
Required.
|
List<OrderTrackingSignalLineItemDetails> |
getLineItems()
Information about line items in the order.
|
Long |
getMerchantId()
The Google merchant ID of this order tracking signal.
|
DateTime |
getOrderCreatedTime()
Required.
|
String |
getOrderId()
Required.
|
Long |
getOrderTrackingSignalId()
Output only.
|
List<OrderTrackingSignalShipmentLineItemMapping> |
getShipmentLineItemMapping()
The mapping of the line items to the shipment information.
|
List<OrderTrackingSignalShippingInfo> |
getShippingInfo()
The shipping information for the order.
|
OrderTrackingSignal |
set(String fieldName,
Object value) |
OrderTrackingSignal |
setCustomerShippingFee(PriceAmount customerShippingFee)
The shipping fee of the order; this value should be set to zero in the case of free shipping.
|
OrderTrackingSignal |
setDeliveryPostalCode(String deliveryPostalCode)
Required.
|
OrderTrackingSignal |
setDeliveryRegionCode(String deliveryRegionCode)
Required.
|
OrderTrackingSignal |
setLineItems(List<OrderTrackingSignalLineItemDetails> lineItems)
Information about line items in the order.
|
OrderTrackingSignal |
setMerchantId(Long merchantId)
The Google merchant ID of this order tracking signal.
|
OrderTrackingSignal |
setOrderCreatedTime(DateTime orderCreatedTime)
Required.
|
OrderTrackingSignal |
setOrderId(String orderId)
Required.
|
OrderTrackingSignal |
setOrderTrackingSignalId(Long orderTrackingSignalId)
Output only.
|
OrderTrackingSignal |
setShipmentLineItemMapping(List<OrderTrackingSignalShipmentLineItemMapping> shipmentLineItemMapping)
The mapping of the line items to the shipment information.
|
OrderTrackingSignal |
setShippingInfo(List<OrderTrackingSignalShippingInfo> shippingInfo)
The shipping information for the order.
|
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 PriceAmount getCustomerShippingFee()
null
for nonepublic OrderTrackingSignal setCustomerShippingFee(PriceAmount customerShippingFee)
customerShippingFee
- customerShippingFee or null
for nonepublic String getDeliveryPostalCode()
null
for nonepublic OrderTrackingSignal setDeliveryPostalCode(String deliveryPostalCode)
deliveryPostalCode
- deliveryPostalCode or null
for nonepublic String getDeliveryRegionCode()
null
for nonepublic OrderTrackingSignal setDeliveryRegionCode(String deliveryRegionCode)
deliveryRegionCode
- deliveryRegionCode or null
for nonepublic List<OrderTrackingSignalLineItemDetails> getLineItems()
null
for nonepublic OrderTrackingSignal setLineItems(List<OrderTrackingSignalLineItemDetails> lineItems)
lineItems
- lineItems or null
for nonepublic Long getMerchantId()
null
for nonepublic OrderTrackingSignal setMerchantId(Long merchantId)
merchantId
- merchantId or null
for nonepublic DateTime getOrderCreatedTime()
null
for nonepublic OrderTrackingSignal setOrderCreatedTime(DateTime orderCreatedTime)
orderCreatedTime
- orderCreatedTime or null
for nonepublic String getOrderId()
null
for nonepublic OrderTrackingSignal setOrderId(String orderId)
orderId
- orderId or null
for nonepublic Long getOrderTrackingSignalId()
null
for nonepublic OrderTrackingSignal setOrderTrackingSignalId(Long orderTrackingSignalId)
orderTrackingSignalId
- orderTrackingSignalId or null
for nonepublic List<OrderTrackingSignalShipmentLineItemMapping> getShipmentLineItemMapping()
null
for nonepublic OrderTrackingSignal setShipmentLineItemMapping(List<OrderTrackingSignalShipmentLineItemMapping> shipmentLineItemMapping)
shipmentLineItemMapping
- shipmentLineItemMapping or null
for nonepublic List<OrderTrackingSignalShippingInfo> getShippingInfo()
null
for nonepublic OrderTrackingSignal setShippingInfo(List<OrderTrackingSignalShippingInfo> shippingInfo)
shippingInfo
- shippingInfo or null
for nonepublic OrderTrackingSignal set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public OrderTrackingSignal clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.