Cars Cancellation Policy
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)
free Cancellation
Indicates if this car may be cancelled without a penalty.
free Cancellation End Date Time
Indicates the latest time that the car can be cancelled for free.
penalty Rules
Container for penalty rules
non Cancellable Date Time Range