openTill.GUI.Models.ObservableProduct.GetDTO C# (CSharp) Method

GetDTO() public method

public GetDTO ( ) : ProductDTO
return openTill.Domain.DTO.ProductDTO
        public ProductDTO GetDTO()
        {
            return new ProductDTO
            {
                UPC = this.UPC,
                CategoryListID = this.CategoryListID,
                BrandID = this.BrandID,
                Name = this.Name,
                Description = this.Description,
                StoreCost = this.StoreCost,
                SellingPrice = this.SellingPrice,
                MinOnHand = this.MinOnHand,
                OnHand = this.OnHand,
                HasDeposit = this.HasDeposit,
                IsTaxable = this.IsTaxable,
                MinimumAge = this.MinimumAge,
            };
        }