class SvUndebitCmdBuild extends AbstractPoCommandBuilder<SvUndebitRespPars> {

  public byte[] getSvUndebitData() {
    byte[] svUndebitData = new byte[12];
    svUndebitData[0] = command.getInstructionByte();
    // svUndebitData[1,2] / P1P2 not set because ignored
    // Lc is 5 bytes longer in revision 3.2
    svUndebitData[3] = poRevision == PoRevision.REV3_2 ? (byte) 0x19 : (byte) 0x14;
    // appends the fixed part of dataIn
    System.arraycopy(dataIn, 0, svUndebitData, 4, 8);
    return svUndebitData;
  }

  public  SvUndebitCmdBuild(
      PoClass poClass, PoRevision poRevision, int amount, byte kvc, byte[] date, byte[] time);

}