MembershipTierData constructor
MembershipTierData({
- int? id,
- String? name,
- String? description,
- bool? isTest,
- MembershipTierData_PeriodType? periodType,
- int? periodValue,
- int? priceStripeUsdCents,
- int? anyNamesCountIncluded,
- int? anyNameMinLength,
- Iterable<
String> ? features, - String? colorStr,
- String? stripeProductId,
- String? stripeManageUrl,
- String? iosProductId,
- String? iosManageUrl,
- String? androidProductId,
- String? androidManageUrl,
- String? offer,
Implementation
factory MembershipTierData({
$core.int? id,
$core.String? name,
$core.String? description,
$core.bool? isTest,
MembershipTierData_PeriodType? periodType,
$core.int? periodValue,
$core.int? priceStripeUsdCents,
$core.int? anyNamesCountIncluded,
$core.int? anyNameMinLength,
$core.Iterable<$core.String>? features,
$core.String? colorStr,
$core.String? stripeProductId,
$core.String? stripeManageUrl,
$core.String? iosProductId,
$core.String? iosManageUrl,
$core.String? androidProductId,
$core.String? androidManageUrl,
$core.String? offer,
}) {
final result = create();
if (id != null) result.id = id;
if (name != null) result.name = name;
if (description != null) result.description = description;
if (isTest != null) result.isTest = isTest;
if (periodType != null) result.periodType = periodType;
if (periodValue != null) result.periodValue = periodValue;
if (priceStripeUsdCents != null)
result.priceStripeUsdCents = priceStripeUsdCents;
if (anyNamesCountIncluded != null)
result.anyNamesCountIncluded = anyNamesCountIncluded;
if (anyNameMinLength != null) result.anyNameMinLength = anyNameMinLength;
if (features != null) result.features.addAll(features);
if (colorStr != null) result.colorStr = colorStr;
if (stripeProductId != null) result.stripeProductId = stripeProductId;
if (stripeManageUrl != null) result.stripeManageUrl = stripeManageUrl;
if (iosProductId != null) result.iosProductId = iosProductId;
if (iosManageUrl != null) result.iosManageUrl = iosManageUrl;
if (androidProductId != null) result.androidProductId = androidProductId;
if (androidManageUrl != null) result.androidManageUrl = androidManageUrl;
if (offer != null) result.offer = offer;
return result;
}