def __prepare_to_write_com(t_res):
    """
    Returns in order information for a charge operation.
    :param t_res: dict, contains charge info.
    :return: tuple, ordered tuple charge info.
    """
    return t_res['ter_id'], t_res['operation'], t_res['pin'], t_res['amount']