public class ShipmentItem extends AbstractResponse<ShipmentItem> implements ShipmentItemInterface
optimisticData, responseData| Constructor and Description |
|---|
ShipmentItem() |
ShipmentItem(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphQlTypeName() |
ID |
getId()
The unique ID for a `ShipmentItemInterface` object
|
OrderItemInterface |
getOrderItem()
Associated order item
|
String |
getProductName()
Name of the base product
|
Money |
getProductSalePrice()
Sale price for the base product
|
String |
getProductSku()
SKU of the base product
|
Double |
getQuantityShipped()
Number of shipped items
|
ShipmentItem |
setId(ID arg) |
ShipmentItem |
setOrderItem(OrderItemInterface arg) |
ShipmentItem |
setProductName(String arg) |
ShipmentItem |
setProductSalePrice(Money arg) |
ShipmentItem |
setProductSku(String arg) |
ShipmentItem |
setQuantityShipped(Double arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliasclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsStringpublic ShipmentItem()
public ShipmentItem(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface ShipmentItemInterfacepublic ID getId()
getId in interface ShipmentItemInterfacepublic ShipmentItem setId(ID arg)
public OrderItemInterface getOrderItem()
getOrderItem in interface ShipmentItemInterfacepublic ShipmentItem setOrderItem(OrderItemInterface arg)
public String getProductName()
getProductName in interface ShipmentItemInterfacepublic ShipmentItem setProductName(String arg)
public Money getProductSalePrice()
getProductSalePrice in interface ShipmentItemInterfacepublic ShipmentItem setProductSalePrice(Money arg)
public String getProductSku()
getProductSku in interface ShipmentItemInterfacepublic ShipmentItem setProductSku(String arg)
public Double getQuantityShipped()
getQuantityShipped in interface ShipmentItemInterfacepublic ShipmentItem setQuantityShipped(Double arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<ShipmentItem>Copyright © 2022 Adobe. All rights reserved.