Pricing Waterfall Input

Input representation of the pricing waterfall details.

JSON Example 

1"waterfall": [{
2        "fieldToTagNameMapping": {
3            "Product2Id": "ItemProduct",
4            "Subtotal": "Subtotal",
5            "Pricebook2Id": "Pricebook",
6            "Quantity": "ItemQuantity",
7            "LineItemId": "SalesTransactionSource",
8            "ListPrice": "ItemListPrice"
9  },
10      "inputParameters": {
11          "Product2Id": "01txx0000006i44AAA",
12          "Pricebook2Id": "01sxx0000005q9xAAA",
13          "Quantity": 5,
14          "LineItemId": "item1"
15    },
16      "outputParameters": {
17          "Subtotal": 50,
18          "ListPrice": 10
19      },
20      "pricingElement": {
21          "adjustments": [{
22              "AdjustmentValue": "95.00",
23              "AdjustmentType": "Amount"
24           }],
25          "description": null,
26          "elementType": "ListPrice",
27          "name": "List Price"
28      },
29          "sequence": 1
30    },
31    {
32        "fieldToTagNameMapping": {
33            "PriceAdjustmentScheduleId": "ItemDescription",
34            "NetUnitPrice": "ItemNetUnitPrice",
35            "Product2Id": "ItemProduct",
36            "LowerBound": "ItemQuantity",
37            "UpperBound": "ItemQuantity",
38            "Subtotal": "Subtotal",
39            "Quantity": "ItemQuantity",
40            "LineItemId": "SalesTransactionSource",
41            "InputUnitPrice": "ItemListPrice"
42      },
43        "inputParameters": {
44            "PriceAdjustmentScheduleId": "84Xxx0000004CGSEA2",
45            "Product2Id": "01txx0000006i44AAA",
46            "LowerBound": 5,
47            "UpperBound": 5,
48            "Quantity": 5,
49            "LineItemId": "item1",
50            "InputUnitPrice": 10
51       },
52        "outputParameters": {
53              "NetUnitPrice": 8.5,
54              "Subtotal": 42.5
55  },
56        "pricingElement": {
57              "adjustments": [{
58              "AdjustmentValue": "15.00",
59              "AdjustmentType": "Percentage"
60  }],
61      "description": null,
62      "elementType": "VolumeDiscount",
63      "name": "Volume Discount"
64    },
65      "sequence": 2
66      }
67  ]

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
fieldTo​TagName​MappingMap<String, String>Mappings of field to tag names.Optional60.0
input​ParametersMap<String, Object>Input parameters of the pricing element.Optional60.0
output​ParametersMap<String, Object>Output parameters of the pricing element.Optional60.0
pricing​ElementAdjustment Details InputDetails of the pricing element.Optional60.0
sequenceIntegerSequence of the pricing element execution.Optional60.0