ServicePrice
public class ServicePrice : ValueObjectBase, IAmount
Inheritance
- class ValueObjectBase
- interface IAmount
Namespace
Constructors
ServicePrice (1 of 2)
public ServicePrice(decimal value, Guid currencyId)
ServicePrice (2 of 2)
public ServicePrice(decimal value, Guid currencyId, Guid? countryId,
Guid? regionId = default(Guid?))
Properties
CountryId
public Guid? CountryId { get; }
CurrencyId
public Guid CurrencyId { get; }
RegionId
public Guid? RegionId { get; }
Value
public decimal Value { get; }
Methods
ZeroValue (1 of 2)
public static ServicePrice ZeroValue(Guid currencyId)
ZeroValue (2 of 2)
public static ServicePrice ZeroValue(Guid currencyId, Guid? countryId,
Guid? regionId = default(Guid?))
DeepClone
public override object DeepClone()