# Pax calculator

Sets the quantity of the service to the number of inbound/outbound passengers. For inbound use the **InboundPaxCalculator** and for outbound use the **OutboundPaxCalculator.**

###### Optional properties:

**Above** (int; default=0)

Only the number of pax above the given value is returned.

**IncludeCrew** (bool; default=false)

The number crew is included.

**IncludePax** (bool; default=true)

The number of pax is included. If true, the two include pax options must not be set or false.

**IncludeTransitPaxOnly** (bool; default=false)

The number of transit pax is included. If true, the two include pax options must not be set or false.

**IncludeNonTransitPaxOnly** (bool; default=false)

The number of non-transit pax is included. If true, the two include pax options must not be set or false.

**Maximum** (int; no default)

The number of pax returned is at most the maximum.

**SubtractFromMaximum (bool; default=false)**

If true, the number of pax returned is the the maximum minus the number otherwise returned. This only works if the maximum has been set, and allows to return 1 if there is NO pax, (by setting maximum to 1, and subtractfromaximum to true) so a discount for no pax can be created.