public final class MerchantOrderReturnItem
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 |
---|
MerchantOrderReturnItem() |
Modifier and Type | Method and Description |
---|---|
MerchantOrderReturnItem |
clone() |
CustomerReturnReason |
getCustomerReturnReason()
The reason that the customer chooses to return an item.
|
String |
getItemId()
Product level item ID.
|
MerchantRejectionReason |
getMerchantRejectionReason()
The reason that the merchant chose to reject an item return.
|
RefundReason |
getMerchantReturnReason()
The reason that merchant chooses to accept a return item.
|
OrderLineItemProduct |
getProduct()
Product data from the time of the order placement.
|
MonetaryAmount |
getRefundableAmount()
Maximum amount that can be refunded for this return item.
|
String |
getReturnItemId()
Unit level ID for the return item.
|
List<String> |
getReturnShipmentIds()
IDs of the return shipments that this return item belongs to.
|
String |
getShipmentGroupId()
ID of the original shipment group.
|
String |
getShipmentUnitId()
ID of the shipment unit assigned by the merchant.
|
String |
getState()
State of the item.
|
MerchantOrderReturnItem |
set(String fieldName,
Object value) |
MerchantOrderReturnItem |
setCustomerReturnReason(CustomerReturnReason customerReturnReason)
The reason that the customer chooses to return an item.
|
MerchantOrderReturnItem |
setItemId(String itemId)
Product level item ID.
|
MerchantOrderReturnItem |
setMerchantRejectionReason(MerchantRejectionReason merchantRejectionReason)
The reason that the merchant chose to reject an item return.
|
MerchantOrderReturnItem |
setMerchantReturnReason(RefundReason merchantReturnReason)
The reason that merchant chooses to accept a return item.
|
MerchantOrderReturnItem |
setProduct(OrderLineItemProduct product)
Product data from the time of the order placement.
|
MerchantOrderReturnItem |
setRefundableAmount(MonetaryAmount refundableAmount)
Maximum amount that can be refunded for this return item.
|
MerchantOrderReturnItem |
setReturnItemId(String returnItemId)
Unit level ID for the return item.
|
MerchantOrderReturnItem |
setReturnShipmentIds(List<String> returnShipmentIds)
IDs of the return shipments that this return item belongs to.
|
MerchantOrderReturnItem |
setShipmentGroupId(String shipmentGroupId)
ID of the original shipment group.
|
MerchantOrderReturnItem |
setShipmentUnitId(String shipmentUnitId)
ID of the shipment unit assigned by the merchant.
|
MerchantOrderReturnItem |
setState(String state)
State of the item.
|
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 CustomerReturnReason getCustomerReturnReason()
null
for nonepublic MerchantOrderReturnItem setCustomerReturnReason(CustomerReturnReason customerReturnReason)
customerReturnReason
- customerReturnReason or null
for nonepublic String getItemId()
null
for nonepublic MerchantOrderReturnItem setItemId(String itemId)
itemId
- itemId or null
for nonepublic MerchantRejectionReason getMerchantRejectionReason()
null
for nonepublic MerchantOrderReturnItem setMerchantRejectionReason(MerchantRejectionReason merchantRejectionReason)
merchantRejectionReason
- merchantRejectionReason or null
for nonepublic RefundReason getMerchantReturnReason()
null
for nonepublic MerchantOrderReturnItem setMerchantReturnReason(RefundReason merchantReturnReason)
merchantReturnReason
- merchantReturnReason or null
for nonepublic OrderLineItemProduct getProduct()
null
for nonepublic MerchantOrderReturnItem setProduct(OrderLineItemProduct product)
product
- product or null
for nonepublic MonetaryAmount getRefundableAmount()
null
for nonepublic MerchantOrderReturnItem setRefundableAmount(MonetaryAmount refundableAmount)
refundableAmount
- refundableAmount or null
for nonepublic String getReturnItemId()
null
for nonepublic MerchantOrderReturnItem setReturnItemId(String returnItemId)
returnItemId
- returnItemId or null
for nonepublic List<String> getReturnShipmentIds()
null
for nonepublic MerchantOrderReturnItem setReturnShipmentIds(List<String> returnShipmentIds)
returnShipmentIds
- returnShipmentIds or null
for nonepublic String getShipmentGroupId()
null
for nonepublic MerchantOrderReturnItem setShipmentGroupId(String shipmentGroupId)
shipmentGroupId
- shipmentGroupId or null
for nonepublic String getShipmentUnitId()
null
for nonepublic MerchantOrderReturnItem setShipmentUnitId(String shipmentUnitId)
shipmentUnitId
- shipmentUnitId or null
for nonepublic String getState()
null
for nonepublic MerchantOrderReturnItem setState(String state)
state
- state or null
for nonepublic MerchantOrderReturnItem set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public MerchantOrderReturnItem clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.