Class cmdReceipt.InvoiceClientInfo

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

public static class cmdReceipt.InvoiceClientInfo
extends cmdReceipt
Enter and save invoice client data
  • Constructor Details

    • InvoiceClientInfo

      public InvoiceClientInfo​(java.lang.String bulstat, cmdReceipt.InvoiceClientInfo.BulstatType typeOfBulstat, java.lang.String seller, java.lang.String receiver, java.lang.String client, java.lang.String clientTaxNo, java.lang.String clientAddress1, java.lang.String clientAddress2, java.lang.String accountablePerson)
      All parameters constructor
      Parameters:
      bulstat - Customer's UIC. Between 9 and 14 characters.
      typeOfBulstat -
      seller - Seller's name. Up to 26 characters.
      receiver - Recipient's name. Up to 26 characters.
      client - Customer's name. Up to 26 characters.
      clientTaxNo - Customer's VAT number. Between 10 and 14 characters.
      clientAddress1 - Customer's address 28 characters,
      clientAddress2 - The second line has a maximum length of 34 characters.
      accountablePerson - Accountable Person
    • InvoiceClientInfo

      public InvoiceClientInfo​(java.lang.String EIK, java.lang.String seller, java.lang.String receiver, java.lang.String client, java.lang.String clientTaxNo, java.lang.String clientAddress1, java.lang.String clientAddress2)
      Case of EIK Constructor
      Parameters:
      EIK -
      seller -
      receiver -
      client -
      clientTaxNo -
      clientAddress1 -
      clientAddress2 -
    • InvoiceClientInfo

      public InvoiceClientInfo​(java.lang.String bulstat, cmdReceipt.InvoiceClientInfo.BulstatType typeBULSTAT, java.lang.String seller, java.lang.String receiver, java.lang.String client, java.lang.String clientTaxNo, java.lang.String clientAddress1, java.lang.String clientAddress2)
      Parameters:
      bulstat - - Customer's UIC. Between 9 and 14 characters.
      typeBULSTAT - - EIK,EGN,PersonalNum,ServiceNum;
      seller - - Seller's name. Up to 26 characters.
      receiver - - Recipient's name. Up to 26 characters.
      client - - Customer's name. Up to 26 characters.
      clientTaxNo - - Customer's VAT number. Between 10 and 14 characters.
      clientAddress1 - - Customer's address. Up to two lines of text.
      clientAddress2 -
    • InvoiceClientInfo

      public InvoiceClientInfo​(java.lang.String EIK, cmdReceipt.InvoiceClientInfo.BulstatType typeOfEIK)
      Short Constructor
      Parameters:
      EIK - -Customer's UIC. Between 9 and 14 characters.
      typeOfEIK - -

      * In the case of an empty parameter there is an empty space in invoice receipt to fill in a hand. * They must be executed immediately after total payment for a cumulative amount. * Then the close of the invoice receipt is allowed.

  • Method Details

    • getAccountablePerson

      public java.lang.String getAccountablePerson()
    • setAccountablePerson

      public void setAccountablePerson​(java.lang.String accountablePerson)
    • getTypeBULSTAT

    • setTypeBULSTAT

      public void setTypeBULSTAT​(cmdReceipt.InvoiceClientInfo.BulstatType typeBULSTAT)
    • getClientAddress1

      public java.lang.String getClientAddress1()
    • setClientAddress1

      public void setClientAddress1​(java.lang.String clientAddress1)
    • getClientAddress2

      public java.lang.String getClientAddress2()
    • setClientAddress2

      public void setClientAddress2​(java.lang.String clientAddress2)
    • isValid

      public boolean[] isValid()
      Returns:
      res[0] Validation of EIK * res[1] Validation of Seller * res[2] Validation of Receiver * res[3] Validation of Client * res[4] Validation of TaxNo * res[5] Validation of Address
    • saveClientInfo

      public void saveClientInfo() throws java.lang.Exception
      Print invoice data
      Throws:
      java.lang.Exception
    • printClientInfo

      public void printClientInfo() throws java.lang.Exception
      Print invoice data
      Throws:
      java.lang.Exception
    • printClientInfo

      public void printClientInfo​(cmdReceipt.InvoiceClientInfo.BulstatType typeBULSTAT, java.lang.String bulstat, java.lang.String seller, java.lang.String receiver, java.lang.String client, java.lang.String clientTaxNo, java.lang.String clientAddress1, java.lang.String clientAddress2, java.lang.String accountablePerson) throws java.lang.Exception
      Parameters:
      typeBULSTAT - - Customer's UIC. Between 9 and 14 characters.
      seller - - EIK,EGN,PersonalNum,ServiceNum;
      receiver - - Seller's name. Up to 26 characters.
      client - Recipient's name. Up to 26 characters.
      clientTaxNo - - Customer's name. Up to 26 characters.
      clientAddress1 - - Customer's VAT number. Between 10 and 14 characters.
      clientAddress2 - - Customer's address. Up to two lines of text.
      Throws:
      java.lang.Exception
    • saveClientInfo

      public void saveClientInfo​(java.lang.String EIK, java.lang.String seller, java.lang.String receiver, java.lang.String client, java.lang.String clientTaxNo, java.lang.String clientAddress1, java.lang.String clientAddress2) throws java.lang.Exception
      Enter and print invoice data in case of EIK
      Throws:
      java.lang.Exception
    • getBulstat

      public java.lang.String getBulstat()
    • setBulstat

      public void setBulstat​(java.lang.String bulstat)
    • getSeller

      public java.lang.String getSeller()
    • setSeller

      public void setSeller​(java.lang.String seller)
    • getReceiver

      public java.lang.String getReceiver()
    • setReceiver

      public void setReceiver​(java.lang.String receiver)
    • getClient

      public java.lang.String getClient()
    • setClient

      public void setClient​(java.lang.String client)
    • getClientTaxNo

      public java.lang.String getClientTaxNo()
    • setClientTaxNo

      public void setClientTaxNo​(java.lang.String clientTaxNo)