Skip to main content
Adds a flat surcharge per hour for the portion of a shift that overlaps a time-of-day window.

Parameters

number
required
Flat surcharge per hour in smallest currency unit
required
Time-of-day window
CostRuleOptionsEntity and time scoping

Returns

RuleEntry<"time-cost-surcharge", object & CostRuleOptions> The window supports overnight spans (e.g., 22:00-06:00). The surcharge is independent of the member’s base rate.