Please enable JavaScript.
Coggle requires JavaScript to display documents.
PE Pricing Model - Coggle Diagram
PE Pricing Model
computation
price
IC2 price !== undefined then this
else IC2 total (passed in as 0)
totalDiscount
each coupon is applied
tip
calculated from the PE booking
additionalFees
waitingPrice+tolls+extras
all default to 0 in arguments
plus the service charge from IC2 pricing object
percentage | currency(absolute)
const { price, serviceChargeType, serviceChargeValue = 0, minServiceCharge } = pricing;
total
price
-- discount
++ tip
++additionalFees
++serviceCharge
prematureCancellationFee
passengerNoShowFee
price
totalDiscount
additionalFees
tip
totalWithoutDiscount
total
extraTariffPrice