Agency bill plan availability retrieval

Your billing plugin must be able to retrieve all the possible agency billing plans from your billing system. Implement the plugin method retrieveAllAgencyBillPlans, which takes no arguments. It returns an array of AgencyBillPlanSummary objects. The fully qualified class name is gw.api.billing.AgencyBillPlanSummary.

This method is notably different from most other methods because PolicyCenter always calls this method synchronously with respect to the user interface. PolicyCenter uses this method to populate a drop down list for billing plans if using agency bill.

PolicyCenter allows the user to set this billing plan information initially only. For any later changes, you must directly change the information in the billing system.

Set the following properties on each AgencyBillPlanSummary object

  • Name – The name of the plan
  • Id – The ID for the plan