public final class OrdersCustomBatchRequestEntryCancelLineItem 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 |
|---|
OrdersCustomBatchRequestEntryCancelLineItem() |
| Modifier and Type | Method and Description |
|---|---|
OrdersCustomBatchRequestEntryCancelLineItem |
clone() |
Price |
getAmount()
Deprecated.
|
Price |
getAmountPretax()
Amount to refund for the cancelation.
|
Price |
getAmountTax()
Tax amount that corresponds to cancellation amount in amountPretax.
|
String |
getLineItemId()
The ID of the line item to cancel.
|
String |
getProductId()
The ID of the product to cancel.
|
Long |
getQuantity()
The quantity to cancel.
|
String |
getReason()
The reason for the cancellation.
|
String |
getReasonText()
The explanation of the reason.
|
OrdersCustomBatchRequestEntryCancelLineItem |
set(String fieldName,
Object value) |
OrdersCustomBatchRequestEntryCancelLineItem |
setAmount(Price amount)
Deprecated.
|
OrdersCustomBatchRequestEntryCancelLineItem |
setAmountPretax(Price amountPretax)
Amount to refund for the cancelation.
|
OrdersCustomBatchRequestEntryCancelLineItem |
setAmountTax(Price amountTax)
Tax amount that corresponds to cancellation amount in amountPretax.
|
OrdersCustomBatchRequestEntryCancelLineItem |
setLineItemId(String lineItemId)
The ID of the line item to cancel.
|
OrdersCustomBatchRequestEntryCancelLineItem |
setProductId(String productId)
The ID of the product to cancel.
|
OrdersCustomBatchRequestEntryCancelLineItem |
setQuantity(Long quantity)
The quantity to cancel.
|
OrdersCustomBatchRequestEntryCancelLineItem |
setReason(String reason)
The reason for the cancellation.
|
OrdersCustomBatchRequestEntryCancelLineItem |
setReasonText(String reasonText)
The explanation of the reason.
|
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 OrdersCustomBatchRequestEntryCancelLineItem()
public Price getAmount()
null for nonepublic OrdersCustomBatchRequestEntryCancelLineItem setAmount(Price amount)
amount - amount or null for nonepublic Price getAmountPretax()
null for nonepublic OrdersCustomBatchRequestEntryCancelLineItem setAmountPretax(Price amountPretax)
amountPretax - amountPretax or null for nonepublic Price getAmountTax()
null for nonepublic OrdersCustomBatchRequestEntryCancelLineItem setAmountTax(Price amountTax)
amountTax - amountTax or null for nonepublic String getLineItemId()
null for nonepublic OrdersCustomBatchRequestEntryCancelLineItem setLineItemId(String lineItemId)
lineItemId - lineItemId or null for nonepublic String getProductId()
null for nonepublic OrdersCustomBatchRequestEntryCancelLineItem setProductId(String productId)
productId - productId or null for nonepublic Long getQuantity()
null for nonepublic OrdersCustomBatchRequestEntryCancelLineItem setQuantity(Long quantity)
quantity - quantity or null for nonepublic String getReason()
null for nonepublic OrdersCustomBatchRequestEntryCancelLineItem setReason(String reason)
reason - reason or null for nonepublic String getReasonText()
null for nonepublic OrdersCustomBatchRequestEntryCancelLineItem setReasonText(String reasonText)
reasonText - reasonText or null for nonepublic OrdersCustomBatchRequestEntryCancelLineItem set(String fieldName, Object value)
set in class GenericJsonpublic OrdersCustomBatchRequestEntryCancelLineItem clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.