Getting period information from the billing system

Your plugin must be able to retrieve billing information to deliver to PolicyCenter whenever PolicyCenter needs the information. If PolicyCenter needs billing information, it calls this plugin’s getPeriodInfo method. This method is different from most other methods because PolicyCenter always calls this method synchronously with respect to the user interface.

Your plugin must retrieve this information from the billing system and encapsulate this information in a PolicyPeriodBillingInfo object. The fully qualified class name of this class is gw.api.billing.PolicyPeriodBillingInfo.

PolicyCenter uses this information as part of performing renewal. PolicyCenter tries to preserve the billing information for the period for the renewal period.