Service class to execute CRUD operations on the Subscription Line object.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| SubscriptionLineService | getInstance() |
| SubscriptionLineService | getInstance(String version) |
| void | getApiResponse() |
| List<SubscriptionLine> | get(SearchRequest sr) |
| void | getTermSubscriptionLines(Set |
Method Detail
This class supports the following methods:
global static SubscriptionLineService getInstance()
Get Instance of SubscriptionLineService.
global static SubscriptionLineService getInstance(String version)
Get Instance of SubscriptionLineService.
Parameters
| Name | Type | Description |
|---|---|---|
| version | String | undefined |
global SubscriptionLineService ()
SubscriptionLineService Constructor that should not be called directly.
global static void getApiResponse()
global virtual List<SubscriptionLine> get(SearchRequest sr)
Get list of Subscription Line objects using the SearchRequest object as criteria
Parameters
| Name | Type | Description |
|---|---|---|
| sr | SearchRequest | SearchRequest |
global List<SubscriptionLine> getTermSubscriptionLines(Set<Id> termIds)
Parameters
| Name | Type | Description |
|---|---|---|
| termIds | Set<Id> | undefined |