PriceRule constructor
PriceRule({
- int? id,
- String? valueType,
- String? value,
- String? customerSelection,
- String? targetType,
- String? targetSelection,
- String? allocationMethod,
- int? allocationLimit,
- bool? oncePerCustomer,
- int? usageLimit,
- String? startsAt,
- String? endsAt,
- String? createdAt,
- String? updatedAt,
- String? title,
- String? adminGraphqlApiId,
- List<
int> ? entitledCollectionIds, - EntitledCountryIds? entitledCountryIds,
- List<
int> ? entitledProductIds, - List<
int> ? entitledVariantIds, - List<
int> ? prerequisiteCustomerIds, - PrerequisiteQuantityRange? prerequisiteQuantityRange,
- List<
int> ? customerSegmentPrerequisiteIds, - PrerequisiteShippingPriceRange? prerequisiteShippingPriceRange,
- PrerequisiteSubtotalRange? prerequisiteSubtotalRange,
- PrerequisiteToEntitlementPurchase? prerequisiteToEntitlementPurchase,
- List<
int> ? prerequisiteProductIds, - List<
int> ? prerequisiteVariantIds, - List<
int> ? prerequisiteCollectionIds, - PrerequisiteToEntitlementQuantityRatio? prerequisiteToEntitlementQuantityRatio,
Implementation
PriceRule(
{this.id,
this.valueType,
this.value,
this.customerSelection,
this.targetType,
this.targetSelection,
this.allocationMethod,
this.allocationLimit,
this.oncePerCustomer,
this.usageLimit,
this.startsAt,
this.endsAt,
this.createdAt,
this.updatedAt,
this.title,
this.adminGraphqlApiId,
this.entitledCollectionIds,
this.entitledCountryIds,
this.entitledProductIds,
this.entitledVariantIds,
this.prerequisiteCustomerIds,
this.prerequisiteQuantityRange,
this.customerSegmentPrerequisiteIds,
this.prerequisiteShippingPriceRange,
this.prerequisiteSubtotalRange,
this.prerequisiteToEntitlementPurchase,
this.prerequisiteProductIds,
this.prerequisiteVariantIds,
this.prerequisiteCollectionIds,
this.prerequisiteToEntitlementQuantityRatio});