APITenant constructor
APITenant({
- required String id,
- required String name,
- String? email,
- required double signUpDate,
- required String packageId,
- required double paymentFrequency,
- required bool billingInfoValid,
- bool? billingHandledExternally,
- required String createdBy,
- required bool isSetup,
- List<
APIDomainConfiguration> domainConfiguration = const [], - BillingInfo? billingInfo,
- String? stripeCustomerId,
- String? stripeSubscriptionId,
- String? stripePlanId,
- required bool enableProfanityFilter,
- required bool enableSpamFilter,
- DateTime? lastBillingIssueReminderDate,
- bool? removeUnverifiedComments,
- double? unverifiedCommentsTTLms,
- bool? commentsRequireApproval,
- bool? autoApproveCommentOnVerification,
- bool? sendProfaneToSpam,
- bool? hasFlexPricing,
- bool? hasAuditing,
- double? flexLastBilledAmount,
- double? deAnonIpAddr,
- 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 {},
});