APITenant constructor

APITenant({
  1. required String id,
  2. required String name,
  3. String? email,
  4. required double signUpDate,
  5. required String packageId,
  6. required double paymentFrequency,
  7. required bool billingInfoValid,
  8. bool? billingHandledExternally,
  9. required String createdBy,
  10. required bool isSetup,
  11. List<APIDomainConfiguration> domainConfiguration = const [],
  12. BillingInfo? billingInfo,
  13. String? stripeCustomerId,
  14. String? stripeSubscriptionId,
  15. String? stripePlanId,
  16. required bool enableProfanityFilter,
  17. required bool enableSpamFilter,
  18. DateTime? lastBillingIssueReminderDate,
  19. bool? removeUnverifiedComments,
  20. double? unverifiedCommentsTTLms,
  21. bool? commentsRequireApproval,
  22. bool? autoApproveCommentOnVerification,
  23. bool? sendProfaneToSpam,
  24. bool? hasFlexPricing,
  25. bool? hasAuditing,
  26. double? flexLastBilledAmount,
  27. double? deAnonIpAddr,
  28. Map<String, String> meta = const {},
})

Returns a new APITenant instance.

Implementation

APITenant({
  required this.id,
  required this.name,
  this.email,
  required this.signUpDate,
  required this.packageId,
  required this.paymentFrequency,
  required this.billingInfoValid,
  this.billingHandledExternally,
  required this.createdBy,
  required this.isSetup,
  this.domainConfiguration = const [],
  this.billingInfo,
  this.stripeCustomerId,
  this.stripeSubscriptionId,
  this.stripePlanId,
  required this.enableProfanityFilter,
  required this.enableSpamFilter,
  this.lastBillingIssueReminderDate,
  this.removeUnverifiedComments,
  this.unverifiedCommentsTTLms,
  this.commentsRequireApproval,
  this.autoApproveCommentOnVerification,
  this.sendProfaneToSpam,
  this.hasFlexPricing,
  this.hasAuditing,
  this.flexLastBilledAmount,
  this.deAnonIpAddr,
  this.meta = const {},
});