using System; namespace Yavsc.Model.FrontOffice.Catalog.Billing { /// /// Price. /// public class Price: Scalar { decimal quantity; #region implemented abstract members of SalesCatalog.Value /// /// Gets or sets the quantity. /// /// The quantity. public override object Quantity { get { return quantity; } set { quantity = (decimal) value; } } Currency curr; /// /// Gets or sets the unit. /// /// The unit. public override Unit Unit { get { return curr; } set { curr = (Currency)value; } } #endregion } }