public class Invoice extends AbstractResponse<Invoice>
optimisticData, responseData| Constructor and Description |
|---|
Invoice() |
Invoice(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
List<SalesCommentItem> |
getComments()
Comments on the invoice
|
String |
getGraphQlTypeName() |
ID |
getId()
The unique ID for a `Invoice` object
|
List<InvoiceItemInterface> |
getItems()
Invoiced product details
|
String |
getNumber()
Sequential invoice number
|
InvoiceTotal |
getTotal()
Invoice total amount details
|
Invoice |
setComments(List<SalesCommentItem> arg) |
Invoice |
setId(ID arg) |
Invoice |
setItems(List<InvoiceItemInterface> arg) |
Invoice |
setNumber(String arg) |
Invoice |
setTotal(InvoiceTotal arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic Invoice()
public Invoice(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public List<SalesCommentItem> getComments()
public Invoice setComments(List<SalesCommentItem> arg)
public ID getId()
public List<InvoiceItemInterface> getItems()
public Invoice setItems(List<InvoiceItemInterface> arg)
public String getNumber()
public InvoiceTotal getTotal()
public Invoice setTotal(InvoiceTotal arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<Invoice>Copyright © 2022 Adobe. All rights reserved.