API Reference
Class
PdfInvoiceLine
One quantity/price line in the invoice recipe.
Inheritance
- Object
- PdfInvoiceLine
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Constructor PdfInvoiceComponent.PdfInvoiceComponent
Constructors
public PdfInvoiceLine(String description, Decimal quantity, Decimal unitPrice, Decimal taxRate = 0) #Creates an invoice line.
Parameters
- description System.String
- quantity System.Decimal
- unitPrice System.Decimal
- taxRate System.Decimal = 0
Inherited Methods
Properties
public String Description { get; } #Line description.
public Decimal UnitPrice { get; } #Unit price before tax.
public Decimal TaxRate { get; } #Tax rate expressed as a fraction, for example 0.23.
public Decimal Subtotal { get; } #Line subtotal before tax.
public Decimal Total { get; } #Line total including tax.