Share via


FiscalPrinter.PrintRecItemFuel Method

2/27/2008

Prints a receipt fuel item on the station specified by the FiscalReceiptStation property.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Sub PrintRecItemFuel ( _
    description As String, _
    price As Decimal, _
    quantity As Integer, _
    vatInfo As Integer, _
    unitPrice As Decimal, _
    unitName As String, _
    specialTax As Decimal, _
    specialTaxName As String _
)
public abstract void PrintRecItemFuel (
    string description,
    decimal price,
    int quantity,
    int vatInfo,
    decimal unitPrice,
    string unitName,
    decimal specialTax,
    string specialTaxName
)
public:
virtual void PrintRecItemFuel (
    String^ description, 
    Decimal price, 
    int quantity, 
    int vatInfo, 
    Decimal unitPrice, 
    String^ unitName, 
    Decimal specialTax, 
    String^ specialTaxName
) abstract
public abstract void PrintRecItemFuel (
    String description, 
    Decimal price, 
    int quantity, 
    int vatInfo, 
    Decimal unitPrice, 
    String unitName, 
    Decimal specialTax, 
    String specialTaxName
)
public abstract function PrintRecItemFuel (
    description : String, 
    price : decimal, 
    quantity : int, 
    vatInfo : int, 
    unitPrice : decimal, 
    unitName : String, 
    specialTax : decimal, 
    specialTaxName : String
)

Parameters

  • description
    Text that describes the fuel product.
  • price
    Price of the fuel item.
  • quantity
    Number of items. If zero, a single item is assumed.
  • vatInfo
    VAT rate identifier.
  • unitPrice
    Price of the fuel item per volume.
  • unitName
    Name of the volume unit (for example, "ltr").
  • specialTax
    Special tax amount (for example, road tax).
  • specialTaxName
    Name of the special tax.

Remarks

The vatId parameter contains an index to the table of VAT values created by SetVatTable and SetVatValue.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

FiscalPrinter Class
FiscalPrinter Members
Microsoft.PointOfService Namespace
SetVatTable
SetVatValue