CalOohPay API Documentation - v2.1.0
    Preparing search index...

    Variable DEFAULT_RATESConst

    DEFAULT_RATES: RatesConfig = ...

    Default compensation rates used when no config file is present.

    These values maintain backward compatibility with the original hard-coded rates from Constants.ts.

    • Weekdays (Mon-Thu): £50 per OOH day
    • Weekends (Fri-Sun): £75 per OOH day
    • Currency: GBP (British Pounds)
    import { DEFAULT_RATES } from './config/RatesConfig';

    const calculator = new OnCallPaymentsCalculator(
    DEFAULT_RATES.weekdayRate,
    DEFAULT_RATES.weekendRate
    );