About the Billing Adapter System Specific Sample Files
Applies To: Windows Azure Pack
This topic provides information about the system specific sample source files for HostBill and WHMCS. For information about the billing adapter core engine, see About the Billing Adapter Core Engine Sample Files.
Contains source code for the HostBill billing system specific implementation. Code in this folder can be used as a template for creating another system’s billing adapter or can be run as is. The code contains the following:
Classes provided to abstract details of the billing system API responses into .NET objects.
Classes in this folder perform identity mapping of the Windows Azure Pack objects (plans, add-ons, and users) to the billing system-specific items. IdentityMappingManager.cs contains the functions that interact with the database to create, manage, and delete identity mappings
Implements the selected methods from the interfaces in the billing adapter engine, specifically NotificationProcessor, NotificationResponder, and PricingResponder.
Code that interacts with the HostBill API. API calls are based on HostBill API version 4.9.8. For operations where there are no API calls, there is direct access to the HostBill databases instead.
This folder contains the WHMCS sample source code. Code in this folder can be used as a template for creating another system’s billing adapter or can be run as is.
Classes in this folder define the various objects used by other classes.
Classes in this folder perform identity mapping of the Windows Azure Pack objects (plans, add-ons, and users) to the billing system-specific items. IdentityMappingManager.cs contains the functions that interact with the database to create, manage, and delete identity mappings.
Implements the selected methods from the interfaces in the billing adapter engine, specifically NotificationProcessor and NotificationResponder.
Code that directly interacts with the WHMCS API. API calls are based on WHMCS API version 5.2.7. For operations where there are no API calls, there is direct access to the WHMCS databases instead.