InvitationInstant constructor

InvitationInstant({
  1. int? id,
  2. int? tutor,
  3. int? customer,
  4. int? chat,
  5. String? cancellationPeriodHours,
  6. bool? hasCancellationPenalty,
  7. DateTime? paymentHoldsAt,
  8. int? paymentAmountInCents,
  9. List<Booking> bookings = const [],
  10. List<InvitationDate> invitationDates = const [],
  11. int? coupon,
  12. required int creditCard,
  13. DateTime? created,
  14. DateTime? modified,
  15. DateTime? deletedAt,
  16. bool? isTutorPaid,
  17. bool? isAcceptedByCustomer,
  18. bool? isAcceptedByTutor,
  19. bool? isRejectedByCustomer,
  20. bool? isRejectedByTutor,
  21. bool? isCreatedByCustomer,
  22. String? location,
  23. DateTime? acceptanceChangedAt,
  24. DateTime? cancelledAt,
  25. bool? cancelledByCustomer,
  26. DateTime? startTime,
  27. DateTime? endTime,
  28. int? numWeeks,
  29. String? cancelReason,
  30. bool? acceptancePendingReminded,
  31. bool? isTrialCall,
  32. int? subject,
  33. int? cancelledBy,
})

Returns a new InvitationInstant instance.

Implementation

InvitationInstant({
  this.id,
  this.tutor,
  this.customer,
  this.chat,
  this.cancellationPeriodHours,
  this.hasCancellationPenalty,
  this.paymentHoldsAt,
  this.paymentAmountInCents,
  this.bookings = const [],
  this.invitationDates = const [],
  this.coupon,
  required this.creditCard,
  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,
});