/// <summary> /// Returns true if ProductValues instances are equal /// </summary> /// <param name="other">Instance of ProductValues to be compared</param> /// <returns>Boolean</returns> public bool Equals(ProductValues other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) { return(false); } return(false); }
/// <summary> /// Initializes a new instance of the <see cref="ComputeExpressionRequest" /> class. /// </summary> /// <param name="ProductValues">ProductValues (required).</param> /// <param name="EncryptedExpression">EncryptedExpression (required).</param> public ComputeExpressionRequest(ProductValues ProductValues = default(ProductValues), EncryptedExpression EncryptedExpression = default(EncryptedExpression)) { // to ensure "ProductValues" is required (not null) if (ProductValues == null) { throw new InvalidDataException("ProductValues is a required property for ComputeExpressionRequest and cannot be null"); } else { this.ProductValues = ProductValues; } // to ensure "EncryptedExpression" is required (not null) if (EncryptedExpression == null) { throw new InvalidDataException("EncryptedExpression is a required property for ComputeExpressionRequest and cannot be null"); } else { this.EncryptedExpression = EncryptedExpression; } }
/// <summary> /// Initializes a new instance of the <see cref="ProductSample" /> class. /// </summary> /// <param name="ProductValues">ProductValues.</param> public ProductSample(ProductValues ProductValues = default(ProductValues)) { this.ProductValues = ProductValues; }
/// <summary> /// Initializes a new instance of the <see cref="Product" /> class. /// </summary> /// <param name="ProductId">ProductId.</param> /// <param name="CategoryId">CategoryId.</param> /// <param name="Values">Values.</param> public Product(BeezUPCommonProductId ProductId = default(BeezUPCommonProductId), BeezUPCommonCatalogCategoryId CategoryId = default(BeezUPCommonCatalogCategoryId), ProductValues Values = default(ProductValues)) { this.ProductId = ProductId; this.CategoryId = CategoryId; this.Values = Values; }