Preview Performance Discount Standard Lookup
Apply actual caller preview/regular performance classifications and discount with unknown price −1; not universally discounted previews or inferred performance phase.
Description
Preview and regular performances may follow different caller pricing policies.
Preview and regular performances may follow different caller pricing policies. Unknown classification should not imply a price.1
Enter nonempty aligned integer codes 0–2/prices 0–1,000,000,000 and discount 0–10,000 basis points. Return half-up rounded applicable prices and unknown indices.
When to use Preview Performance Discount Standard Lookup
Use Preview Performance Discount Standard Lookup when you need to evaluate the supplied records under the calculation and evidence rules below. No phase is inferred or universal preview discount supplied.
Prepare the actual venue, production, inventory or financial records requested. Confirm units and supply applicable local limits or verified catalog values.
How to use Preview Performance Discount Standard Lookup and understand its results
- Prepare the actual venue, production, inventory or financial records requested. Confirm units and supply applicable local limits or verified catalog values.
- Enter performanceClassificationPreviewRegularUnknownCodes, baseTicketPricesMinor, callerPreviewDiscountBasisPoints using the field table and calculation rules, then run the tool.
- Read callerKnownApplicablePricesMinor, unknownPerformancePriceIndices. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| performanceClassificationPreviewRegularUnknownCodes | Performance classification preview regular unknown codes | list of number | Required |
| baseTicketPricesMinor | Base ticket prices minor | list of number | Required |
| callerPreviewDiscountBasisPoints | Caller preview discount basis points | number | Required |
Enter nonempty aligned integer codes 0–2/prices 0–1,000,000,000 and discount 0–10,000 basis points. Return half-up rounded applicable prices and unknown indices.
code0→discounted preview; 1→base regular; 2→unknown price −1 Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| callerKnownApplicablePricesMinor | Caller known applicable prices minor | list of number |
| unknownPerformancePriceIndices | Unknown performance price indices | list of number |
{
"input": {
"performanceClassificationPreviewRegularUnknownCodes": [
0,
1,
2
],
"baseTicketPricesMinor": [
1000,
1000,
1000
],
"callerPreviewDiscountBasisPoints": 2000
},
"output": {
"callerKnownApplicablePricesMinor": [
800,
1000,
-1
],
"unknownPerformancePriceIndices": [
2
]
}
} Limitations and assumptions
No phase is inferred or universal preview discount supplied.
Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.
Alternative or Complementary methods
Use Rush Ticket Under 30 Discount Lookup: Age-restricted rush pricing depends on both age evidence and the supplied eligibility rule. Exclusive age limits differ from inclusive thresholds. For a complementary task, use Group Sales Minimum Discount Tier Lookup: Group-ticket pricing may use a minimum-size tier schedule. Per-seat rounding differs from rounding the total once.
References
Similar or alternative tools
- Rush Ticket Under 30 Discount Lookup
Age-restricted rush pricing depends on both age evidence and the supplied eligibility rule. Exclusive age limits differ from inclusive thresholds.
- Group Sales Minimum Discount Tier Lookup
Group-ticket pricing may use a minimum-size tier schedule. Per-seat rounding differs from rounding the total once.