public final class OrderLineItem
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
OrderLineItem() |
| Modifier and Type | Method and Description |
|---|---|
OrderLineItem |
clone() |
List<OrderLineItemAdjustment> |
getAdjustments()
Price and tax adjustments applied on the line item.
|
List<OrderMerchantProvidedAnnotation> |
getAnnotations()
Annotations that are attached to the line item.
|
List<OrderCancellation> |
getCancellations()
Cancellations of the line item.
|
String |
getId()
The ID of the line item.
|
Price |
getPrice()
Total price for the line item.
|
OrderLineItemProduct |
getProduct()
Product data as seen by customer from the time of the order placement.
|
Long |
getQuantityCanceled()
Number of items canceled.
|
Long |
getQuantityDelivered()
Number of items delivered.
|
Long |
getQuantityOrdered()
Number of items ordered.
|
Long |
getQuantityPending()
Number of items pending.
|
Long |
getQuantityReadyForPickup()
Number of items ready for pickup.
|
Long |
getQuantityReturned()
Number of items returned.
|
Long |
getQuantityShipped()
Number of items shipped.
|
Long |
getQuantityUndeliverable()
Number of items undeliverable.
|
OrderLineItemReturnInfo |
getReturnInfo()
Details of the return policy for the line item.
|
List<OrderReturn> |
getReturns()
Returns of the line item.
|
OrderLineItemShippingDetails |
getShippingDetails()
Details of the requested shipping for the line item.
|
Price |
getTax()
Total tax amount for the line item.
|
OrderLineItem |
set(String fieldName,
Object value) |
OrderLineItem |
setAdjustments(List<OrderLineItemAdjustment> adjustments)
Price and tax adjustments applied on the line item.
|
OrderLineItem |
setAnnotations(List<OrderMerchantProvidedAnnotation> annotations)
Annotations that are attached to the line item.
|
OrderLineItem |
setCancellations(List<OrderCancellation> cancellations)
Cancellations of the line item.
|
OrderLineItem |
setId(String id)
The ID of the line item.
|
OrderLineItem |
setPrice(Price price)
Total price for the line item.
|
OrderLineItem |
setProduct(OrderLineItemProduct product)
Product data as seen by customer from the time of the order placement.
|
OrderLineItem |
setQuantityCanceled(Long quantityCanceled)
Number of items canceled.
|
OrderLineItem |
setQuantityDelivered(Long quantityDelivered)
Number of items delivered.
|
OrderLineItem |
setQuantityOrdered(Long quantityOrdered)
Number of items ordered.
|
OrderLineItem |
setQuantityPending(Long quantityPending)
Number of items pending.
|
OrderLineItem |
setQuantityReadyForPickup(Long quantityReadyForPickup)
Number of items ready for pickup.
|
OrderLineItem |
setQuantityReturned(Long quantityReturned)
Number of items returned.
|
OrderLineItem |
setQuantityShipped(Long quantityShipped)
Number of items shipped.
|
OrderLineItem |
setQuantityUndeliverable(Long quantityUndeliverable)
Number of items undeliverable.
|
OrderLineItem |
setReturnInfo(OrderLineItemReturnInfo returnInfo)
Details of the return policy for the line item.
|
OrderLineItem |
setReturns(List<OrderReturn> returns)
Returns of the line item.
|
OrderLineItem |
setShippingDetails(OrderLineItemShippingDetails shippingDetails)
Details of the requested shipping for the line item.
|
OrderLineItem |
setTax(Price tax)
Total tax amount for the line item.
|
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 List<OrderLineItemAdjustment> getAdjustments()
null for nonepublic OrderLineItem setAdjustments(List<OrderLineItemAdjustment> adjustments)
adjustments - adjustments or null for nonepublic List<OrderMerchantProvidedAnnotation> getAnnotations()
null for nonepublic OrderLineItem setAnnotations(List<OrderMerchantProvidedAnnotation> annotations)
annotations - annotations or null for nonepublic List<OrderCancellation> getCancellations()
null for nonepublic OrderLineItem setCancellations(List<OrderCancellation> cancellations)
cancellations - cancellations or null for nonepublic String getId()
null for nonepublic OrderLineItem setId(String id)
id - id or null for nonepublic Price getPrice()
null for nonepublic OrderLineItem setPrice(Price price)
price - price or null for nonepublic OrderLineItemProduct getProduct()
null for nonepublic OrderLineItem setProduct(OrderLineItemProduct product)
product - product or null for nonepublic Long getQuantityCanceled()
null for nonepublic OrderLineItem setQuantityCanceled(Long quantityCanceled)
quantityCanceled - quantityCanceled or null for nonepublic Long getQuantityDelivered()
null for nonepublic OrderLineItem setQuantityDelivered(Long quantityDelivered)
quantityDelivered - quantityDelivered or null for nonepublic Long getQuantityOrdered()
null for nonepublic OrderLineItem setQuantityOrdered(Long quantityOrdered)
quantityOrdered - quantityOrdered or null for nonepublic Long getQuantityPending()
null for nonepublic OrderLineItem setQuantityPending(Long quantityPending)
quantityPending - quantityPending or null for nonepublic Long getQuantityReadyForPickup()
null for nonepublic OrderLineItem setQuantityReadyForPickup(Long quantityReadyForPickup)
quantityReadyForPickup - quantityReadyForPickup or null for nonepublic Long getQuantityReturned()
null for nonepublic OrderLineItem setQuantityReturned(Long quantityReturned)
quantityReturned - quantityReturned or null for nonepublic Long getQuantityShipped()
null for nonepublic OrderLineItem setQuantityShipped(Long quantityShipped)
quantityShipped - quantityShipped or null for nonepublic Long getQuantityUndeliverable()
null for nonepublic OrderLineItem setQuantityUndeliverable(Long quantityUndeliverable)
quantityUndeliverable - quantityUndeliverable or null for nonepublic OrderLineItemReturnInfo getReturnInfo()
null for nonepublic OrderLineItem setReturnInfo(OrderLineItemReturnInfo returnInfo)
returnInfo - returnInfo or null for nonepublic List<OrderReturn> getReturns()
null for nonepublic OrderLineItem setReturns(List<OrderReturn> returns)
returns - returns or null for nonepublic OrderLineItemShippingDetails getShippingDetails()
null for nonepublic OrderLineItem setShippingDetails(OrderLineItemShippingDetails shippingDetails)
shippingDetails - shippingDetails or null for nonepublic Price getTax()
null for nonepublic OrderLineItem setTax(Price tax)
tax - tax or null for nonepublic OrderLineItem set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic OrderLineItem clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.