Credit Note Service class to generate Credit Notes

Method Summary

Modifier and Type Method and Description
void CreditNoteService()
CreditNoteService getInstance()
CreditNoteService getInstance(String version)
void getApiResponse()
List<CreditNote> get(SearchRequest sr)

Method Detail

This class supports the following methods:

global CreditNoteService()

CreditNoteService Constructor that should not be called directly.


global static CreditNoteService getInstance()

Service get instance method that will return an instance of this service, either standard or overridden.


global static CreditNoteService 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<CreditNote> get(SearchRequest sr)

Get list of credit note objects using the SearchRequest object as criteria
Parameters

Name Type Description
sr SearchRequest SearchRequest