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 SourceNetAmount
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> |
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 |
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 |
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> |
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 SourceFromJson(String)
Declaration
public static LineItemAllowance FromJson(string data)
Parameters
Type | Name | Description |
---|---|---|
System.String | data |
Returns
Type | Description |
---|---|
LineItemAllowance |
RaisePropertyChanged(String)
Declaration
protected virtual void RaisePropertyChanged(string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |
ToJson()
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String |
Events
| Improve this Doc View SourcePropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged