[ADD] CAMBIO DE CONDICIONES PAGADO A ABONADO EN BBVA SERVICE

parent 9a1a16ac
......@@ -31,13 +31,11 @@ public class driveRest {
JSONObject response = new JSONObject();
if (id_file_response == null) {
response.put("status", false);
response.put("message", "No se pudo subir el archivo," +
" existe multiples razones por las cuales esto puede ocurrir," +
" por favor verifique que el archivo no sea muy grande , que el formato sea correcto o se tenga permiso en la carpeta");
response.put("message", "The file could not be uploaded. There are multiple reasons why this may occur. Please check that the file is not too large, that the format is correct, or that you have permission in the folder.");
return ResponseEntity.badRequest().body(response.toMap());
} else {
response.put("status", true);
response.put("message", "Archivo subido correctamente");
response.put("message", "File uploaded successfully.");
response.put("file_id", id_file_response);
response.put("file_url", "https://drive.google.com/file/d/" + id_file_response + "/view?usp=sharing");
response.put("download_url", "https://drive.google.com/uc?export=download&id="+id_file_response);
......
......@@ -215,7 +215,7 @@ public class bbvaService {
String nameStatus = statusBill.getString("name");
returnMessage.put("message", nameStatus); //nameStatus
returnMessage.put("status", nameStatus.equals("PAGADO")); //nameStatus.equals("PAGADO")
returnMessage.put("status", nameStatus.equals("ABONADO")); //nameStatus.equals("PAGADO")
} else {
returnMessage.put("message", "Id not found");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment