public class GiftCardInvoiceItem extends AbstractResponse<GiftCardInvoiceItem> implements InvoiceItemInterface
optimisticData, responseData| Constructor and Description |
|---|
GiftCardInvoiceItem() |
GiftCardInvoiceItem(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
|
GiftCardItem |
getGiftCard()
Selected gift card properties for an invoice item
|
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
|
GiftCardInvoiceItem |
setDiscounts(List<Discount> arg) |
GiftCardInvoiceItem |
setGiftCard(GiftCardItem arg) |
GiftCardInvoiceItem |
setId(ID arg) |
GiftCardInvoiceItem |
setOrderItem(OrderItemInterface arg) |
GiftCardInvoiceItem |
setProductName(String arg) |
GiftCardInvoiceItem |
setProductSalePrice(Money arg) |
GiftCardInvoiceItem |
setProductSku(String arg) |
GiftCardInvoiceItem |
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 GiftCardInvoiceItem()
public GiftCardInvoiceItem(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface InvoiceItemInterfacepublic List<Discount> getDiscounts()
getDiscounts in interface InvoiceItemInterfacepublic GiftCardInvoiceItem setDiscounts(List<Discount> arg)
public GiftCardItem getGiftCard()
public GiftCardInvoiceItem setGiftCard(GiftCardItem arg)
public ID getId()
getId in interface InvoiceItemInterfacepublic GiftCardInvoiceItem setId(ID arg)
public OrderItemInterface getOrderItem()
getOrderItem in interface InvoiceItemInterfacepublic GiftCardInvoiceItem setOrderItem(OrderItemInterface arg)
public String getProductName()
getProductName in interface InvoiceItemInterfacepublic GiftCardInvoiceItem setProductName(String arg)
public Money getProductSalePrice()
getProductSalePrice in interface InvoiceItemInterfacepublic GiftCardInvoiceItem setProductSalePrice(Money arg)
public String getProductSku()
getProductSku in interface InvoiceItemInterfacepublic GiftCardInvoiceItem setProductSku(String arg)
public Double getQuantityInvoiced()
getQuantityInvoiced in interface InvoiceItemInterfacepublic GiftCardInvoiceItem setQuantityInvoiced(Double arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<GiftCardInvoiceItem>Copyright © 2022 Adobe. All rights reserved.