Create constructor
Create({
- String? accountReference,
- required AccountType accountType,
- Affiliate? affiliate,
- required Address billingAddress,
- BillingOptions? billingOptions,
- BrandCode? brandCode,
- Business? business,
- Deposit? deposit,
- List<
ElectricityMeterPoint> ? electricityMeterPoints, - List<
GasMeterPoint> ? gasMeterPoints, - required bool isChangeOfTenancy,
- List<
Metadata> ? metadata, - Payment? payment,
- DateTime? preferredSsd,
- Address? previousBillingAddress,
- String? promoRewardCode,
- String? quoteCode,
- String? quoteRequestCode,
- required String reference,
- String? referralCode,
- bool? requiresPostalComms,
- SalesChannel? salesChannel,
- String? salesSubchannel,
- String? signupRewardCode,
- SmartMeterInterest? smartMeterInterest,
- SmartMeterReadPermission? smartMeterReadPermission,
- SmartOnboardingProductType? smartOnboardingProductType,
- DateTime? soldAt,
- required AccountSource source,
- required List<
User> users,
Implementation
Create({
this.accountReference,
required this.accountType,
this.affiliate,
required this.billingAddress,
this.billingOptions,
this.brandCode,
this.business,
this.deposit,
this.electricityMeterPoints,
this.gasMeterPoints,
required this.isChangeOfTenancy,
this.metadata,
this.payment,
this.preferredSsd,
this.previousBillingAddress,
this.promoRewardCode,
this.quoteCode,
this.quoteRequestCode,
required this.reference,
this.referralCode,
this.requiresPostalComms,
this.salesChannel,
this.salesSubchannel,
this.signupRewardCode,
this.smartMeterInterest,
this.smartMeterReadPermission,
this.smartOnboardingProductType,
this.soldAt,
required this.source,
required this.users,
});