Create product rate plan charges and subscriptions
The Multi-Attribute Pricing charge model for one-time and recurring charges is available to all customers.
After the lookup table is defined, you can start creating product rate plan charges and subscriptions.
Procedure
To create product rate plan charges and subscriptions, complete the following steps:
- Create a product in the product catalog through the Zuora UI or by calling the CRUD: Create product operation.
- Create a product rate plan for the product through the Zuora UI or by calling the CRUD: Create product rate plan operation.
- Navigate to the product rate plan that you want to edit.
- Within the product rate plan, click + add new under Usage Charges/UOM.
- On the New Component (Usage) dialog that is displayed, configure the following fields to create a new usage charge with the Multi-Attribute Pricing charge model:
- In the Charge Name field, enter the name of the new usage charge. In this scenario, enter CarRental Pricing.
- In the Charge Amount area, select Multi-Attribute Pricing from the Charge Model list.
- From the UOM list, select Each.
- In the Price Formula field, enter (please use the Price Formula Reference):
usageQuantity() * objectLookup("CarRental", "multiplier__c", ["type__c"= fieldLookup("usage.type__c"), "state__c"= fieldLookup("usage.state__c")]) - In the Timing of Charge area, configure the desired charge timing information.
- Click save to save the usage charge configurations.
- Create a subscription to subscribe to the usage charge.
The subscription associated with the predefined multi-attribute lookup table is created.