Billing system notifications of PolicyCenter policy actions

User actions in PolicyCenter can have implications for an external billing system. For example, a policy change might change the premium for a billing account. PolicyCenter calls various methods for each action, and your plugin must notify the billing system to take the appropriate action.

Your plugin might populate properties in an object that represents the policy period and recent changes, and then send that request to your billing system in a web service request. The base configuration billing system plugin does these tasks to notify BillingCenter.

If you do not use BillingCenter, you must handle all of the events for which PolicyCenter calls IBillingSystemPlugin methods.

All methods take the same parameters: a policy period (PolicyPeriod) and a billing system transaction ID.

The transaction ID is an identifier that PolicyCenter creates. Your plugin must track this billing system transaction ID. If PolicyCenter requests the same transaction ID twice, the billing system or your plugin that represents it must detect that PolicyCenter requested it twice. If you receive the same transaction ID more than once, you must ignore the duplicate requests.