Class cmdReceipt.FiscalReceipt.FiscalTransaction

java.lang.Object
com.datecs.fiscalprinter.SDK.model.DatecsFiscalDevice
com.datecs.fiscalprinter.SDK.model.UserLayerV1.cmdReceipt
com.datecs.fiscalprinter.SDK.model.UserLayerV1.cmdReceipt.FiscalReceipt.FiscalTransaction
Enclosing class:
cmdReceipt.FiscalReceipt

public static class cmdReceipt.FiscalReceipt.FiscalTransaction
extends cmdReceipt
  • Constructor Details

    • FiscalTransaction

      public FiscalTransaction() throws java.lang.Exception
      Throws:
      java.lang.Exception
  • Method Details

    • isOpen

      public boolean isOpen()
      Returns:
      Receipt is openFiscalReceipt-true
    • getNumberOfItems

      public int getNumberOfItems()
      Returns:
      The number Items of the current or the last receipt (1...9999999);
    • getAmount

      public java.lang.Double getAmount()
      Returns:
      The sum from the current or the last fiscal receipt ( 0.00...9999999.99 or 0...999999999 )
    • getPaid

      public java.lang.Double getPaid() throws java.lang.Exception
      Returns:
      The sum paid for the current or the last receipt ( 0.00...9999999.99 or 0...999999999 depending dec point position );
      Throws:
      FiscalException
      java.io.IOException
      java.lang.Exception
    • getNotPaid

      public java.lang.Double getNotPaid()
      Returns:
      The sum not paid for the current or the last receipt ( 0.00...9999999.99 or 0...999999999 depending dec point position );