PriceRuleCondition constructor
PriceRuleCondition({})
Implementation
factory PriceRuleCondition({
$core.Iterable<PriceRuleCondition>? and,
$core.Iterable<PriceRuleCondition>? or,
$core.bool? not,
$core.int? componentType,
$core.int? sKUType,
$1.StringValue? sKUValue,
$2.AccountId? provider,
$0.Credit? minValueInclTax,
$0.Credit? maxValueInclTax,
$core.Iterable<PriceTag>? tags,
}) {
final result = create();
if (and != null) result.and.addAll(and);
if (or != null) result.or.addAll(or);
if (not != null) result.not = not;
if (componentType != null) result.componentType = componentType;
if (sKUType != null) result.sKUType = sKUType;
if (sKUValue != null) result.sKUValue = sKUValue;
if (provider != null) result.provider = provider;
if (minValueInclTax != null) result.minValueInclTax = minValueInclTax;
if (maxValueInclTax != null) result.maxValueInclTax = maxValueInclTax;
if (tags != null) result.tags.addAll(tags);
return result;
}