Service class to execute CRUD operations on the Subscription Plan object.

Method Summary

Modifier and Type Method and Description
SubscriptionPlanService getInstance()
SubscriptionPlanService getInstance(String version)
void getApiResponse()
List<SubscriptionPlan> get(SearchRequest sr)
void getItemSubscriptionPlans(Set itemIds)

Method Detail

This class supports the following methods:

global static SubscriptionPlanService getInstance()

Get Instance of SubscriptionPlanService.


global static SubscriptionPlanService getInstance(String version)

Get Instance of SubscriptionPlanVersionedService.
Parameters

Name Type Description
version String undefined

global SubscriptionPlanService ()

SubscriptionPlanService Constructor that should not be called directly.


global static void getApiResponse()

global virtual List<SubscriptionPlan> get(SearchRequest sr)

Get list of Subscription Plan objects using the SearchRequest object as criteria
Parameters

Name Type Description
sr SearchRequest SearchRequest

global List<SubscriptionPlan> getItemSubscriptionPlans(Set<Id> itemIds)

Parameters

Name Type Description
itemIds Set<Id> undefined