public ProductCatalogItem Clone() { ProductCatalogItem item = new ProductCatalogItem(); item.id = this.id; item.type = this.type; item.SetStoreIDs(this.allStoreIDs); item.defaultDescription = this.defaultDescription.Clone(); item.screenshotPath = this.screenshotPath; item.applePriceTier = this.applePriceTier; item.googlePrice.value = this.googlePrice.value; item.pricingTemplateID = this.pricingTemplateID; foreach (var desc in this.descriptions) { item.descriptions.Add(desc.Clone()); } return(item); }
public void Remove(ProductCatalogItem item) { products.Remove(item); }
public void Add(ProductCatalogItem item) { products.Add(item); }