Booking constructor
Booking({
- int? id,
- User? customer,
- User? tutor,
- TutorFeedback? tutorFeedback,
- CustomerFeedback? customerFeedback,
- int? chat,
- String? cancellationPeriodHours,
- bool? canCancelCustomer,
- bool? hasCancellationPenalty,
- DateTime? paymentHoldsAt,
- int? paymentAmountInCents,
- String? feedbackId,
- required SimpleSubjectLevel subject,
- DateTime? created,
- DateTime? modified,
- DateTime? deletedAt,
- bool? isTutorPaid,
- bool? isAcceptedByCustomer,
- bool? isAcceptedByTutor,
- bool? isRejectedByCustomer,
- bool? isRejectedByTutor,
- String? location,
- DateTime? acceptanceChangedAt,
- DateTime? cancelledAt,
- bool? cancelledByCustomer,
- DateTime? confirmedAt,
- ConfirmedStatusEnum? confirmedStatus,
- CustomerFeedbackStatusEnum? customerFeedbackStatus,
- String? customerFeedbackNotes,
- DateTime? customerFeedbackCreatedAt,
- int? customerFeedbackRating,
- bool? customerFeedbackExcellent,
- String? tutorFeedbackNotes,
- DateTime? tutorFeedbackCreatedAt,
- int? tutorFeedbackRating,
- bool? showCustomerFeedbackOnSite,
- required DateTime startTime,
- required DateTime endTime,
- String? customerToken,
- String? tutorToken,
- bool? feedbackRequired,
- bool? isTrialCall,
- bool? finishedNotificationsSent,
- bool? reconfirmingNotificationsSent,
- String? cancelReason,
- bool? isCustomerRead,
- bool? isTutorRead,
- int? rescheduleCountByCustomer,
- int? rescheduleCountByTutor,
- int? invitation,
- int? cancelledBy,
- int? zoomMeeting,
Returns a new Booking instance.
Implementation
Booking({
this.id,
this.customer,
this.tutor,
this.tutorFeedback,
this.customerFeedback,
this.chat,
this.cancellationPeriodHours,
this.canCancelCustomer,
this.hasCancellationPenalty,
this.paymentHoldsAt,
this.paymentAmountInCents,
this.feedbackId,
required this.subject,
this.created,
this.modified,
this.deletedAt,
this.isTutorPaid,
this.isAcceptedByCustomer,
this.isAcceptedByTutor,
this.isRejectedByCustomer,
this.isRejectedByTutor,
this.location,
this.acceptanceChangedAt,
this.cancelledAt,
this.cancelledByCustomer,
this.confirmedAt,
this.confirmedStatus,
this.customerFeedbackStatus,
this.customerFeedbackNotes,
this.customerFeedbackCreatedAt,
this.customerFeedbackRating,
this.customerFeedbackExcellent,
this.tutorFeedbackNotes,
this.tutorFeedbackCreatedAt,
this.tutorFeedbackRating,
this.showCustomerFeedbackOnSite,
required this.startTime,
required this.endTime,
this.customerToken,
this.tutorToken,
this.feedbackRequired,
this.isTrialCall,
this.finishedNotificationsSent,
this.reconfirmingNotificationsSent,
this.cancelReason,
this.isCustomerRead,
this.isTutorRead,
this.rescheduleCountByCustomer,
this.rescheduleCountByTutor,
this.invitation,
this.cancelledBy,
this.zoomMeeting,
});