Credit Memo Service class to generate Credit Notes
Method Summary
Modifier and Type | Method and Description |
---|---|
void | CreditMemoService() |
CreditMemoService | getInstance() |
CreditMemoService | getInstance(String version) |
void | getApiResponse() |
List<CreditMemo> | get(SearchRequest sr) |
Method Detail
This class supports the following methods:
global CreditMemoService()
CreditMemoService Constructor that should not be called directly.
global static CreditMemoService getInstance()
Service get instance method that will return an instance of this service, either standard or overridden.
global static CreditMemoService getInstance(String version)
Service get instance method that will return an instance of this service, either versioned or overridden.
Parameters
Name | Type | Description |
---|---|---|
version | String | undefined |
global static void getApiResponse()
global virtual List<CreditMemo> get(SearchRequest sr)
Get list of credit memo objects using the SearchRequest object as criteria
Parameters
Name | Type | Description |
---|---|---|
sr | SearchRequest | SearchRequest |