CarsCancellationPolicy

public CarsCancellationPolicy CarsCancellationPolicy(Boolean cancellable, Boolean freeCancellation, LocalDateTime freeCancellationEndDateTime, List<PenaltyRule> penaltyRules, NonCancellableDateTimeRange nonCancellableDateTimeRange)

Parameters

cancellable

Indicates if this car can be cancelled (free cancel or penalty cancel)

freeCancellation

Indicates if this car may be cancelled without a penalty.

freeCancellationEndDateTime

Indicates the latest time that the car can be cancelled for free.

penaltyRules

Container for penalty rules

nonCancellableDateTimeRange