Class ReceiptDiscount
- Assembly
- anybill.POS.Client.Abstractions.dll
Discounts applied to the receipt.
public class ReceiptDiscount
- Inheritance
-
ReceiptDiscount
- Inherited Members
Properties
AdditionalText
Additional text to describe the discount. E.g. 'Only applies to organic bananas of type x'.
public string AdditionalText { get; set; }
Property Value
Barcode
Barcode of the discount.
public string Barcode { get; set; }
Property Value
BarcodeType
Type of the 'Barcode'. Must be set if 'Barcode' is set.
public ReceiptDiscountBarcodeType? BarcodeType { get; set; }
Property Value
EquivalentValue
Equivalent value of the amount, which is optionally displayed.
public string EquivalentValue { get; set; }
Property Value
FullAmountInclVat
The total gross amount of the discount. A precision of 2 decimal places is used.
public decimal FullAmountInclVat { get; set; }
Property Value
Id
Id of the receipt discount. Used to reference this discount.
public string Id { get; set; }
Property Value
Name
Name of the receipt discount. E.g. '20 % off bananas'.
public string Name { get; set; }
Property Value
Type
Type of the discount. E.g. 'None' for a free service or 'MonetaryReplacement' if the item is reduced from 3 € to 2 €.
public ReceiptDiscountType Type { get; set; }
Property Value
Value
Value of the discount. E.g. '20' for 20 % off or '5' for a 5 € discount. A precision of 2 decimal places is used.
Value is required for every Type except BillDiscountTypeDto "None".
public decimal? Value { get; set; }
Property Value
VatAmounts
The total reduced amounts for this discount divided according to tax rates. Different tax rates may be applied, e.g. if a compilation of products (menu) from meals and drinks and is sold "outside the home". Must be unique by the percentage.
public List<ReceiptDiscountVatAmount> VatAmounts { get; set; }