Search Results for

    Show / Hide Table of Contents

    Class LineItemAllowance

    Allowance for a single line item

    Inheritance
    System.Object
    LineItemAllowance
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Dangl.AVACloud.Client
    Assembly: Dangl.AVACloud.Client.dll
    Syntax
    public class LineItemAllowance : INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    NetAmount

    The net amount of the allowance

    Declaration
    [JsonProperty("netAmount", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public decimal? NetAmount { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Decimal>
    | Improve this Doc View Source

    Reason

    A description of the allowance.

    Declaration
    [JsonProperty("reason", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string Reason { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ReasonCode

    A reason code for the allowance according to UNTDID 5189.

    Declaration
    [JsonProperty("reasonCode", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string ReasonCode { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    RelativeAllowanceBaseAmount

    If this is a relative / percentage allowance, this should be set
    and give the base amount that is being used for the calculation

    Declaration
    [JsonProperty("relativeAllowanceBaseAmount", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public decimal? RelativeAllowanceBaseAmount { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Decimal>
    | Improve this Doc View Source

    RelativeAllowancePercentage

    If this is a relative / percentage allowance, this should be set
    and be given in decimal representation, meaning 19% would be 0.19

    Declaration
    [JsonProperty("relativeAllowancePercentage", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public decimal? RelativeAllowancePercentage { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Decimal>

    Methods

    | Improve this Doc View Source

    FromJson(String)

    Declaration
    public static LineItemAllowance FromJson(string data)
    Parameters
    Type Name Description
    System.String data
    Returns
    Type Description
    LineItemAllowance
    | Improve this Doc View Source

    RaisePropertyChanged(String)

    Declaration
    protected virtual void RaisePropertyChanged(string propertyName = null)
    Parameters
    Type Name Description
    System.String propertyName
    | Improve this Doc View Source

    ToJson()

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    Events

    | Improve this Doc View Source

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Dangl IT GmbH