Search Results for

    Show / Hide Table of Contents

    Class CustomVolumeSource

    This is a custom volume source that can be used to add additional values into the commission template that are not normally included. This could be any kind of points or values for an associate, that can be represented as a float.

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

    Constructors

    CustomVolumeSource()

    Declaration
    public CustomVolumeSource()

    Properties

    Amount

    This is the amount of volume the AssociateId earned.

    Declaration
    public float Amount { get; set; }
    Property Value
    Type Description
    System.Single

    AssociateId

    This will be the associate that placed the order or earned this volume.

    Declaration
    public int AssociateId { get; set; }
    Property Value
    Type Description
    System.Int32

    ClawbackIfRefunded

    True indicates that the SourceId of this volume is a order, and that if that order is returned, any bonuses caused by this volume should be clawed back. False indicates that the SourceId is not an order, or bonuses should not be clawed back.

    Declaration
    public bool ClawbackIfRefunded { get; set; }
    Property Value
    Type Description
    System.Boolean

    Date

    Usually this is the OrderDate.

    Declaration
    public DateTime Date { get; set; }
    Property Value
    Type Description
    System.DateTime

    PriceGroup

    This will be the pricegroup of the AssociateId when the order was placed.

    Declaration
    public int PriceGroup { get; set; }
    Property Value
    Type Description
    System.Int32

    SourceId

    Usually this is the OrderNumber that this volume came from.

    Declaration
    public int SourceId { get; set; }
    Property Value
    Type Description
    System.Int32

    VolumeGroup

    The name of this volume source. Existing values include CV, QV, Total, and OrderCount. This can be used in the commission xml template if added into a VolumeType.

    Declaration
    public string VolumeGroup { get; set; }
    Property Value
    Type Description
    System.String
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX