Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

ServicePrice

API reference for ServicePrice in Vendr, the eCommerce solution for Umbraco v8+

ServicePrice

public class ServicePrice : ValueObjectBase, IAmount

Inheritance

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()

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.