Responsible for pricing the line items.
<!-- Section title is the name of the method followed by "Method". If appropriate, precede the method name with the class name and a colon.-->Class
<!-- broken link--> <!-- Link(s) to the class(es) to which this method belongs. If more than one class implements the same interface, use an itemized list. Don't use a link if the class itself isn't documented for users, but do list the class name.-->Input Parameters
<!-- If this method has separate input and output parameters, split this section into two sections titled "Input Parameters" and "Output Parameters". Some methods of classes that implement VlocityOpenInterface2 might require an "Options Parameters" section as well.-->| Parameter | Required | Description |
|---|---|---|
| cartId | Required | Quote or Order ID |
| itemsToProcessSubsetList | Required | List of root IDs |
| pricingPlan | Optional | Pricing plan code |
Output Parameters
| Parameter | Description |
|---|---|
| statusMessage | Status message |
| pricingOutput | Map of error, error code, or errorResult (in case of any error) |
| errorCode | Error code |
| error | Error |
Example Input Data
<!-- This is usually JSON, but it could be XML or a single value. For methods of classes implementing VlocityOpenInterface2 that have options parameters, include those here.-->{"cartId":"801Hr000001t1s1IAA",
"itemsToProcessSubsetList":["a4o0b000000VN99AAG"]}
Example Output Data
<!-- This is usually JSON, but it could be XML or a single value. Salesforce uses Return Type, but this takes care of that.-->{"statusMessage":"Completed Successfully.","Failed":false,"pricingOutput":{"errorCode":"INVOKE-200","error":"OK"},"errorCode":"INVOKE-200","error":"OK"}
important: If no pricing plan code is provided, the system defaults to using LINE_ITEM_PRICING_PLAN, not the DEFAULT_PRICING_PLAN.