Class LineItemCharge
Charge for a single line item
Inheritance
System.Object
LineItemCharge
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 LineItemCharge : INotifyPropertyChanged
Properties
| Improve this Doc View SourceNetAmount
The net amount of the charge
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 charge.
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 charge according to UNTDID 7161.
Declaration
[JsonProperty("reasonCode", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string ReasonCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RelativeChargeBaseAmount
If this is a relative / percentage charge, this should be set
and give the base amount that is being used for the calculation
Declaration
[JsonProperty("relativeChargeBaseAmount", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public decimal? RelativeChargeBaseAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> |
RelativeChargePercentage
If this is a relative / percentage charge, this should be set
and be given in decimal representation, meaning 19% would be 0.19
Declaration
[JsonProperty("relativeChargePercentage", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public decimal? RelativeChargePercentage { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> |
Methods
| Improve this Doc View SourceFromJson(String)
Declaration
public static LineItemCharge FromJson(string data)
Parameters
Type | Name | Description |
---|---|---|
System.String | data |
Returns
Type | Description |
---|---|
LineItemCharge |
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