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