Table of Contents

Class DefaultLineDiscount

Namespace
anybill.POS.Client.Models.Receipt.Data.Line.Extension
Assembly
anybill.POS.Client.Abstractions.dll

Applied discount for this line.

public class DefaultLineDiscount
Inheritance
DefaultLineDiscount
Inherited Members

Properties

DiscountId

Reference to the applied discount at $data.discounts[*]

public string DiscountId { get; set; }

Property Value

string

EquivalentValue

Equivalent value of the amount, which is optionally displayed.

public string EquivalentValue { get; set; }

Property Value

string

FullAmountInclVat

The total gross total amount of this discount. A precision of up to 5 decimal places is used.

public decimal? FullAmountInclVat { get; set; }

Property Value

decimal?

SequenceNumber

The sequence number of the applied discount. Can be set to show the correct order how multiple discounts were applied.

public int? SequenceNumber { get; set; }

Property Value

int?

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[*].

public List<LineDiscountVatAmount> VatAmounts { get; set; }

Property Value

List<LineDiscountVatAmount>