Show / Hide Table of Contents

# Class DiscountLine

Discount line. Represents a discount not explicitly bound to a specific line.

##### Inheritance

System.Object
LineBase
DiscountLine

##### Implements

ILine

###### Namespace: anybill.POS.Client.Models.Bill.Data.Line.Extension

###### Assembly: anybill.POS.Client.Abstractions.dll

##### Syntax

    public class DiscountLine : LineBase, ILine

### Constructors

#### DiscountLine()

##### Declaration

    public DiscountLine()

### Properties

#### AdditionalText

Additional information about the discount.

##### Declaration

    public override string AdditionalText { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

##### Overrides

LineBase.AdditionalText

#### Extension

Anybill specific extensions.

##### Declaration

    public AnybillDiscountLineExtension Extension { get; set; }

##### Property Value

Type | Description
--- | ---
AnybillDiscountLineExtension |

#### FullAmountInclVat

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

##### Declaration

    public decimal FullAmountInclVat { get; set; }

##### Property Value

Type | Description
--- | ---
System.Decimal |

#### RelatedLines

Reference to related lines by the 'SequenceNumber'.

##### Declaration

    public List<int> RelatedLines { get; set; }

##### Property Value

Type | Description
--- | ---
System.Collections.Generic.List<System.Int32> |

#### Text

Name of the discount.

##### Declaration

    public override string Text { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

##### Overrides

LineBase.Text

#### VatAmounts

The invoice amounts for this line item divided according to tax rates. Different tax rates may be applied, e.g. if the discount is applied to multiple lines with different tax rates.

##### Declaration

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

##### Property Value

Type | Description
--- | ---
System.Collections.Generic.List<DiscountLineVatAmount> |

### Implements

ILine