Search Results for

    Show / Hide Table of Contents

    Class OrderCoupons

    Represents all of the coupons used in an order.

    Inheritance
    System.Object
    OrderCoupons
    Namespace: DirectScale.Disco.Extension
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public class OrderCoupons : Object
    Remarks

    Usually this will be a record of the coupons used in a completed order, but can also be an order that is calculated but not yet completed.

    Constructors

    OrderCoupons()

    Declaration
    public OrderCoupons()

    Properties

    DiscountTotal

    The total dollar* amount that is discounted on this order via coupons.

    Declaration
    public double DiscountTotal { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    *Dollar is just an example, this is the discount total for whatever currency the order is in.

    UsedCoupons

    A list of the coupons applied to this order.

    Declaration
    public OrderCoupon[] UsedCoupons { get; set; }
    Property Value
    Type Description
    OrderCoupon[]

    See Also

    OrderTotal
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX