---
schema_version: "1"
id: 2f7784ed113b78325776674571c726f4ba0f465bcd6463064173fb993f36139c
title: Create a Custom Pricing Plan Step for the Billing Zip Code
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-create-a-custom-pricing-plan-step-for-the-billing-zip-code.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-create-a-custom-pricing-plan-step-for-the-billing-zip-code.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 04f8babe6bf3155b2a437fdef2c71c8a03b0011be5d2b7831cec406169ccf3b1
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Create a Custom Pricing Plan Step for the Billing Zip Code

In this task, Felix needs to add a pricing plan step to the Default Pricing Plan so that products in the cart are priced according to the Billing Zip Code Attribute Pricing Procedure and Matrix.

1.  Navigate to the **Vlocity Product Console**.

2.  Next to **Pricing Plan** in the **Pricing** area, click the **search icon** ![](https://developer.salesforce.com/docs/media/image23.png).

3.  In the **Search Pricing Plan...** dialog box, press the return or enter key to display the Default Pricing Plan.

4.  Click on the **Default Pricing Plan**.

5.  Click on the **Pricing Plan Steps** facet.

6.  Click **New Item**.

7.  Enter the following data in the **General Properties** pane:

    | Field               | Entry                                        |
    | ------------------- | -------------------------------------------- |
    | Name                | Calculate Billing Zip Code Attribute Pricing |
    | Implementation Name | CustomPricingPlanStepImpl                    |
    | Method Name         | GetMatrixPrice                               |
    | Sequence            | 9                                            |
    | Active              | (checked)                                    |

8.  Click the **Edit** icon ![](https://developer.salesforce.com/docs/media/image40.png) to open the **Parameters** dialog box.

9.  Click the + symbol to add the following parameters:

    | First Box     | Second Box                              |
    | ------------- | --------------------------------------- |
    | ProcedureName | BillingZipCodeAttributePricingProcedure |
    | MatrixName    | BillingZipCodeAttributePricingMatrix    |
    | RangeFields   | Billing_Zip_Code\_\_c                   |

10. Click **Done**.

11. Click **Save** in the General Properties pane.

See [Create a New Apex Class](https://developer.salesforce.com/docs/industries/cme/guide/comms-create-a-new-apex-class.md).
