Retrieve contract information
Retrieving contract information lets you view the availability of contracts for services, subscriptions and plans and the contracts currently in use.
The following methods retrieve contract information:
- getContractsForService() returns a list of contracts for a service.
- getActiveSubscriptionContract() returns information about the contract a subscription is bound to at a given time.
- getAvailableContractsForPlan() returns a list of contracts available to a subscription on a particular plan at a given time.
- getCurrentSubscriptionContract() returns the current contract for a subscription.
- getSubscriptionContractById() returns a subscription contract.
- getSubscriptionContracts() returns a list of all contracts for a subscription.