/// <summary> /// Initializes a new instance of the <see cref="AdjustersFull1" /> class. /// </summary> /// <param name="imageUrl">The URL for an image displayed on the storefront when the modifier value is selected.Limit of 8MB per file. .</param> /// <param name="price">price.</param> /// <param name="purchasingDisabled">purchasingDisabled.</param> /// <param name="weight">weight.</param> public AdjustersFull1(string imageUrl = default(string), Adjuster price = default(Adjuster), AdjustersFullPurchasingDisabled purchasingDisabled = default(AdjustersFullPurchasingDisabled), Adjuster weight = default(Adjuster)) { this.ImageUrl = imageUrl; this.Price = price; this.PurchasingDisabled = purchasingDisabled; this.Weight = weight; }
/// <summary> /// Initializes a new instance of the <see cref="ComplexRule" /> class. /// </summary> /// <param name="conditions">conditions.</param> /// <param name="enabled">Flag for determining whether the rule is to be used when adjusting a product's price, weight, image, or availabilty. .</param> /// <param name="id">The unique numeric ID of the rule; increments sequentially. Read-Only.</param> /// <param name="imageUrl">The URL for an image displayed on the storefront when the conditions are applied. Limit of 8MB per file. .</param> /// <param name="priceAdjuster">priceAdjuster.</param> /// <param name="productId">The unique numeric ID of the product with which the rule is associated; increments sequentially. .</param> /// <param name="purchasingDisabled">Flag for determining whether the rule should disable purchasing of a product when the conditions are applied. .</param> /// <param name="purchasingDisabledMessage">Message displayed on the storefront when a rule disables the purchasing of a product. .</param> /// <param name="purchasingHidden">Flag for determining whether the rule should hide purchasing of a product when the conditions are applied. .</param> /// <param name="sortOrder">The priority to give this rule when making adjustments to the product properties. .</param> /// <param name="stop">Flag for determining whether other rules should not be applied after this rule has been applied. .</param> /// <param name="weightAdjuster">weightAdjuster.</param> public ComplexRule(List <ComplexRuleCondition> conditions = default(List <ComplexRuleCondition>), bool?enabled = default(bool?), int?id = default(int?), string imageUrl = default(string), Adjuster priceAdjuster = default(Adjuster), int?productId = default(int?), bool?purchasingDisabled = default(bool?), string purchasingDisabledMessage = default(string), bool?purchasingHidden = default(bool?), int?sortOrder = default(int?), bool?stop = default(bool?), Adjuster weightAdjuster = default(Adjuster)) { this.Conditions = conditions; this.Enabled = enabled; this.Id = id; this.ImageUrl = imageUrl; this.PriceAdjuster = priceAdjuster; this.ProductId = productId; this.PurchasingDisabled = purchasingDisabled; this.PurchasingDisabledMessage = purchasingDisabledMessage; this.PurchasingHidden = purchasingHidden; this.SortOrder = sortOrder; this.Stop = stop; this.WeightAdjuster = weightAdjuster; }