class SvDebitCmdBuild extends AbstractPoCommandBuilder<SvDebitRespPars> {

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

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

}