Class DefaultLineDiscount
Applied discount for this line.
Inheritance
System.Object
DefaultLineDiscount
Namespace: anybill.POS.Client.Models.Bill.Data.Line.Extension
Assembly: anybill.POS.Client.Abstractions.dll
Syntax
public class DefaultLineDiscount
Properties
DiscountId
Reference to the applied discount at $data.discounts[*]
Declaration
public string DiscountId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FullAmountInclVat
The total gross total amount of this discount. A precision of up to 5 decimal places is used.
Declaration
public decimal FullAmountInclVat { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
SequenceNumber
The sequence number of the applied discount. Can be set to show the correct order how multiple discounts were applied.
Declaration
public int? SequenceNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
VatAmounts
Total amounts per tax rate - this corresponds to the amounts just as they are shown on the printed receipt. Must be unique by the percentage. Percentage must exist in $line.vatAmounts[*].
Declaration
public List<LineDiscountVatAmount> VatAmounts { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<LineDiscountVatAmount> |