Billing Central Apex API Developer Reference


global with sharing class ContractsExpirySchedulable implements Schedulable

This class is the implementation of Schedulable that enables contract expiration to be scheduled. Contract expiration runs in its asynchronous mode when run using this schedulable. This can be scheduled in the usual way by using the System.schedule method and providing a valid CRON.



global ContractsExpirySchedulable()

When a ffbc.ContractsExpirySchedulable is created with this default constructor. The run includes all contracts that are due to be expired.


global void execute(SchedulableContext sc)

The execute method provided by the Schedulable interface. This runs contract expiration in its asynchronous mode.