Pricing Waterfall Input
Input representation of the pricing waterfall details.
- JSON example
-
"waterfall": [{ "fieldToTagNameMapping": { "Product2Id": "ItemProduct", "Subtotal": "Subtotal", "Pricebook2Id": "Pricebook", "Quantity": "ItemQuantity", "LineItemId": "SalesTransactionSource", "ListPrice": "ItemListPrice" }, "inputParameters": { "Product2Id": "01txx0000006i44AAA", "Pricebook2Id": "01sxx0000005q9xAAA", "Quantity": 5, "LineItemId": "item1" }, "outputParameters": { "Subtotal": 50, "ListPrice": 10 }, "pricingElement": { "adjustments": [{ "AdjustmentValue": "95.00", "AdjustmentType": "Amount" }], "description": null, "elementType": "ListPrice", "name": "List Price" }, "sequence": 1 }, { "fieldToTagNameMapping": { "PriceAdjustmentScheduleId": "ItemDescription", "NetUnitPrice": "ItemNetUnitPrice", "Product2Id": "ItemProduct", "LowerBound": "ItemQuantity", "UpperBound": "ItemQuantity", "Subtotal": "Subtotal", "Quantity": "ItemQuantity", "LineItemId": "SalesTransactionSource", "InputUnitPrice": "ItemListPrice" }, "inputParameters": { "PriceAdjustmentScheduleId": "84Xxx0000004CGSEA2", "Product2Id": "01txx0000006i44AAA", "LowerBound": 5, "UpperBound": 5, "Quantity": 5, "LineItemId": "item1", "InputUnitPrice": 10 }, "outputParameters": { "NetUnitPrice": 8.5, "Subtotal": 42.5 }, "pricingElement": { "adjustments": [{ "AdjustmentValue": "15.00", "AdjustmentType": "Percentage" }], "description": null, "elementType": "VolumeDiscount", "name": "Volume Discount" }, "sequence": 2 } ]
- Properties
-
Name Type Description Required or Optional Available Version fieldToTagNameMapping Map<String, String> Mappings of field to tag names. Optional 60.0 inputParameters Map<String, Object> Input parameters of the pricing element. Optional 60.0 outputParameters Map<String, Object> Output parameters of the pricing element. Optional 60.0 pricingElement Adjustment Details Input Details of the pricing element. Optional 60.0 sequence Integer Sequence of the pricing element execution. Optional 60.0