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.

DiscountedPrice

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

DiscountedPrice

public class DiscountedPrice : IDeepCloneable

Inheritance

Namespace

Properties

Discount

public virtual Price Discount { get; set; }

Discounts

public virtual List<AppliedDiscount> Discounts { get; }

Value

public virtual Price Value { get; set; }

WithoutDiscounts

public virtual Price WithoutDiscounts { get; set; }

Methods

ZeroValue

public static DiscountedPrice ZeroValue(Guid currencyId)

AsReadOnly

public virtual ReadOnlyDiscountedPrice AsReadOnly()

DeepClone

public virtual object DeepClone()

GetHashCode

public override int GetHashCode()

ToString

public override string ToString()

Operators

DiscountedPrice Implicit (1 of 2)

public static implicit operator Price(DiscountedPrice discountedPrice)

DiscountedPrice Implicit (2 of 2)

public static implicit operator decimal(DiscountedPrice discountedPrice)

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.