This method is used calculate the price of a package based on the user's selections. The model is the same for the purchase method but does not require as much information. The method will price whatever the user has selected regardless whether all required products or variations are selected.
Success Response Content
Example JSON:
{
"validationErrors": [],
"result": {
"purchasePackagePricingBean": {
"setUpCost": "$ 0.00",
"setUpCostDetails": {
"currencyCode": "AUD",
"currencySymbol": "$",
"amount": "0.00"
},
"recurringCost": "$ 0.00",
"recurringCostDetails": {
"currencyCode": "AUD",
"currencySymbol": "$",
"amount": "0.00"
},
"products": {
"C-000000003": {
"setUpCost": "$ 10.00",
"setUpCostDetails": {
"currencyCode": "AUD",
"currencySymbol": "$",
"amount": "10.00"
},
"recurringCost": "$ 0.00",
"recurringCostDetails": {
"currencyCode": "AUD",
"currencySymbol": "$",
"amount": "0.00"
},
"reference": "C-000000003"
}
},
"totalSetUpCost": "$ 29.00",
"totalSetUpCostDetails": {
"currencyCode": "AUD",
"currencySymbol": "$",
"amount": "29.00"
},
"totalRecurringCost": "$ 6.00",
"totalRecurringCostDetails": {
"currencyCode": "AUD",
"currencySymbol": "$",
"amount": "6.00"
},
"totalAlternativeRecurringCost": "$ 405.00",
"totalAlternativeRecurringCostDetails": {
"currencyCode": "AUD",
"currencySymbol": "$",
"amount": "405.00"
}
}
}
}
Field Descriptions
Calculate Pricing Request Model