Introduction
The Inbound PAX Calculator and Outbound PAX Calculator set the quantity of the service (Product) to the number of inbound or outbound passengers. For inbound use the InboundPaxCalculator and for outbound use the OutboundPaxCalculator.
Optional properties
IncludePax (bool; default=true if no other IncludePax option is set)
If true, includes all passengers (non-transit + transit) in the count. Defaults to true if no other IncludePax option is specified.
IncludeCrew (bool; default=false)
If true, includes crew members in the count. If false, only passengers are counted.
IncludeTransitPaxOnly (bool; default=false)
If true, includes only transit passengers in the count. Cannot be used with other IncludePax options.
IncludeNonTransitPaxOnly (bool; default=false)
If true, includes only non-transit passengers in the count. Cannot be used with other IncludePax options.
IncludeInfantPaxOnly (bool; default=false)
If true, includes only infant passengers in the count. Cannot be used with other IncludePax options.
IncludeNonInfantPaxOnly (bool; default=false)
If true, includes only non-infant passengers (excludes infants) in the count. Cannot be used with other IncludePax options.
Above (int; default=0)
Only counts passengers above this number. If the total count is less than or equal to this value, the quantity is 0. If greater, the quantity is count - Above. Example: Above=2 with 5 passengers results in quantity 3.
Maximum (int?; default=null)
Maximum number of passengers to count. If the calculated count exceeds this value, the quantity is capped at this maximum. If not specified, there is no maximum limit.
SubtractFromMaximum (bool; default=false)
If true and Maximum is set, the quantity is calculated as Maximum - count. Used for discounts (e.g., set Maximum=1 and SubtractFromMaximum=true to give a discount for 0 passengers: 0 passengers = 1, 1+ passengers = 0).
Important Notes
- Calculator types:
- InboundPaxCalculator: Uses the inbound flight leg passenger count
- OutboundPaxCalculator: Uses the outbound flight leg passenger count
- IncludePax options: Only one IncludePax option can be set at a time:
- IncludePax (all passengers)
- IncludeTransitPaxOnly
- IncludeNonTransitPaxOnly
- IncludeInfantPaxOnly
- IncludeNonInfantPaxOnly
- Crew inclusion: IncludeCrew can be combined with any IncludePax option to add crew to the count.
- Validation: If the passenger count is not set on the flight leg, a warning is shown (e.g., "Inbound paxcount not set" or "Outbound paxcount not set").
Unit price: If the passenger count is not set, the unit price calculation returns null (shows as "?" awaiting price).
Comments
1 comment
In Argentina the following exemptions apply:
It would be great if these could be anticipated on the optional properties or, at least, price agreements could deduct these from the count. not a priority though
Please sign in to leave a comment.