public class InvoiceItem extends AbstractResponse<InvoiceItem> implements InvoiceItemInterface
optimisticData, responseData| Constructor and Description |
|---|
InvoiceItem() |
InvoiceItem(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
List<Discount> |
getDiscounts()
Contains information about the final discount amount for the base product, including discounts on
options
|
String |
getGraphQlTypeName() |
ID |
getId()
The unique ID for a `InvoiceItemInterface` object
|
OrderItemInterface |
getOrderItem()
Contains details about an individual order item
|
String |
getProductName()
The name of the base product
|
Money |
getProductSalePrice()
The sale price for the base product including selected options
|
String |
getProductSku()
The SKU of the base product
|
Double |
getQuantityInvoiced()
The number of invoiced items
|
InvoiceItem |
setDiscounts(List<Discount> arg) |
InvoiceItem |
setId(ID arg) |
InvoiceItem |
setOrderItem(OrderItemInterface arg) |
InvoiceItem |
setProductName(String arg) |
InvoiceItem |
setProductSalePrice(Money arg) |
InvoiceItem |
setProductSku(String arg) |
InvoiceItem |
setQuantityInvoiced(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 InvoiceItem()
public InvoiceItem(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface InvoiceItemInterfacepublic List<Discount> getDiscounts()
getDiscounts in interface InvoiceItemInterfacepublic InvoiceItem setDiscounts(List<Discount> arg)
public ID getId()
getId in interface InvoiceItemInterfacepublic InvoiceItem setId(ID arg)
public OrderItemInterface getOrderItem()
getOrderItem in interface InvoiceItemInterfacepublic InvoiceItem setOrderItem(OrderItemInterface arg)
public String getProductName()
getProductName in interface InvoiceItemInterfacepublic InvoiceItem setProductName(String arg)
public Money getProductSalePrice()
getProductSalePrice in interface InvoiceItemInterfacepublic InvoiceItem setProductSalePrice(Money arg)
public String getProductSku()
getProductSku in interface InvoiceItemInterfacepublic InvoiceItem setProductSku(String arg)
public Double getQuantityInvoiced()
getQuantityInvoiced in interface InvoiceItemInterfacepublic InvoiceItem setQuantityInvoiced(Double arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<InvoiceItem>Copyright © 2022 Adobe. All rights reserved.