PatchedInvitation constructor
PatchedInvitation({
- int? id,
- int? tutor,
- int? customer,
- int? chat,
- String? cancellationPeriodHours,
- bool? hasCancellationPenalty,
- DateTime? paymentHoldsAt,
- int? paymentAmountInCents,
- List<
Booking> bookings = const [], - List<
InvitationDate> invitationDates = const [], - int? coupon,
- DateTime? created,
- DateTime? modified,
- DateTime? deletedAt,
- bool? isTutorPaid,
- bool? isAcceptedByCustomer,
- bool? isAcceptedByTutor,
- bool? isRejectedByCustomer,
- bool? isRejectedByTutor,
- bool? isCreatedByCustomer,
- String? location,
- DateTime? acceptanceChangedAt,
- DateTime? cancelledAt,
- bool? cancelledByCustomer,
- DateTime? startTime,
- DateTime? endTime,
- int? numWeeks,
- String? cancelReason,
- bool? acceptancePendingReminded,
- bool? isTrialCall,
- int? subject,
- int? cancelledBy,
- int? creditCard,
Returns a new PatchedInvitation instance.
Implementation
PatchedInvitation({
this.id,
this.tutor,
this.customer,
this.chat,
this.cancellationPeriodHours,
this.hasCancellationPenalty,
this.paymentHoldsAt,
this.paymentAmountInCents,
this.bookings = const [],
this.invitationDates = const [],
this.coupon,
this.created,
this.modified,
this.deletedAt,
this.isTutorPaid,
this.isAcceptedByCustomer,
this.isAcceptedByTutor,
this.isRejectedByCustomer,
this.isRejectedByTutor,
this.isCreatedByCustomer,
this.location,
this.acceptanceChangedAt,
this.cancelledAt,
this.cancelledByCustomer,
this.startTime,
this.endTime,
this.numWeeks,
this.cancelReason,
this.acceptancePendingReminded,
this.isTrialCall,
this.subject,
this.cancelledBy,
this.creditCard,
});