public class ReturnItem extends AbstractResponse<ReturnItem>
optimisticData, responseData| Constructor and Description |
|---|
ReturnItem() |
ReturnItem(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
List<ReturnCustomAttribute> |
getCustomAttributes()
Return item custom attributes that are visible on the storefront
|
String |
getGraphQlTypeName() |
OrderItemInterface |
getOrderItem()
Provides access to the product being returned, including information about selected and entered
options
|
Double |
getQuantity()
The quantity of the item the merchant authorized to be returned
|
Double |
getRequestQuantity()
The quantity of the item requested to be returned
|
ReturnItemStatus |
getStatus()
The return status of the item
|
ID |
getUid()
The unique ID for a `ReturnItem` object
|
ReturnItem |
setCustomAttributes(List<ReturnCustomAttribute> arg) |
ReturnItem |
setOrderItem(OrderItemInterface arg) |
ReturnItem |
setQuantity(Double arg) |
ReturnItem |
setRequestQuantity(Double arg) |
ReturnItem |
setStatus(ReturnItemStatus arg) |
ReturnItem |
setUid(ID arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic ReturnItem()
public ReturnItem(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public List<ReturnCustomAttribute> getCustomAttributes()
public ReturnItem setCustomAttributes(List<ReturnCustomAttribute> arg)
public OrderItemInterface getOrderItem()
public ReturnItem setOrderItem(OrderItemInterface arg)
public Double getQuantity()
public ReturnItem setQuantity(Double arg)
public Double getRequestQuantity()
public ReturnItem setRequestQuantity(Double arg)
public ReturnItemStatus getStatus()
public ReturnItem setStatus(ReturnItemStatus arg)
public ID getUid()
public ReturnItem setUid(ID arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<ReturnItem>Copyright © 2022 Adobe. All rights reserved.