public final class MerchantOrderReturn
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 |
---|
MerchantOrderReturn() |
Modifier and Type | Method and Description |
---|---|
MerchantOrderReturn |
clone() |
String |
getCreationDate()
The date of creation of the return, in ISO 8601 format.
|
String |
getMerchantOrderId()
Merchant defined order ID.
|
String |
getOrderId()
Google order ID.
|
String |
getOrderReturnId()
Order return ID generated by Google.
|
List<MerchantOrderReturnItem> |
getReturnItems()
Items of the return.
|
ReturnPricingInfo |
getReturnPricingInfo()
Information about shipping costs.
|
List<ReturnShipment> |
getReturnShipments()
Shipments of the return.
|
MerchantOrderReturn |
set(String fieldName,
Object value) |
MerchantOrderReturn |
setCreationDate(String creationDate)
The date of creation of the return, in ISO 8601 format.
|
MerchantOrderReturn |
setMerchantOrderId(String merchantOrderId)
Merchant defined order ID.
|
MerchantOrderReturn |
setOrderId(String orderId)
Google order ID.
|
MerchantOrderReturn |
setOrderReturnId(String orderReturnId)
Order return ID generated by Google.
|
MerchantOrderReturn |
setReturnItems(List<MerchantOrderReturnItem> returnItems)
Items of the return.
|
MerchantOrderReturn |
setReturnPricingInfo(ReturnPricingInfo returnPricingInfo)
Information about shipping costs.
|
MerchantOrderReturn |
setReturnShipments(List<ReturnShipment> returnShipments)
Shipments of the return.
|
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 getCreationDate()
null
for nonepublic MerchantOrderReturn setCreationDate(String creationDate)
creationDate
- creationDate or null
for nonepublic String getMerchantOrderId()
null
for nonepublic MerchantOrderReturn setMerchantOrderId(String merchantOrderId)
merchantOrderId
- merchantOrderId or null
for nonepublic String getOrderId()
null
for nonepublic MerchantOrderReturn setOrderId(String orderId)
orderId
- orderId or null
for nonepublic String getOrderReturnId()
null
for nonepublic MerchantOrderReturn setOrderReturnId(String orderReturnId)
orderReturnId
- orderReturnId or null
for nonepublic List<MerchantOrderReturnItem> getReturnItems()
null
for nonepublic MerchantOrderReturn setReturnItems(List<MerchantOrderReturnItem> returnItems)
returnItems
- returnItems or null
for nonepublic ReturnPricingInfo getReturnPricingInfo()
null
for nonepublic MerchantOrderReturn setReturnPricingInfo(ReturnPricingInfo returnPricingInfo)
returnPricingInfo
- returnPricingInfo or null
for nonepublic List<ReturnShipment> getReturnShipments()
null
for nonepublic MerchantOrderReturn setReturnShipments(List<ReturnShipment> returnShipments)
returnShipments
- returnShipments or null
for nonepublic MerchantOrderReturn set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public MerchantOrderReturn clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.