Order Summary Service class to generate Order Summaries

Method Summary

Modifier and Type Method and Description
void OrderSummaryService()
OrderSummaryService getInstance()
OrderSummaryService getInstance(String version)
void getApiResponse()
void postApiResponse()
List<OrderSummary> get(SearchRequest sr)
List<OrderSummary> create(List orderSummaries)
List<OrderSummary> mutate(List orderSummaries)

Method Detail

This class supports the following methods:

global OrderSummaryService()

OrderSummaryService Constructor that should not be called directly.


global static OrderSummaryService getInstance()

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


global static OrderSummaryService 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 static void postApiResponse()

global virtual List<OrderSummary> get(SearchRequest sr)

Get list of Order Summary objects using the SearchRequest object as criteria
Parameters

Name Type Description
sr SearchRequest SearchRequest

global virtual List<OrderSummary> create(List<OrderSummary> orderSummaries)

Create list of Order Summary objects
Parameters

Name Type Description
orderSummaries List<OrderSummary> List

global virtual List<OrderSummary> mutate(List<OrderSummary> orderSummaries)

Edit list of Order Summary objects
Parameters

Name Type Description
orderSummaries List<OrderSummary> List