This commit is contained in:
Mohd-Arham
2025-12-01 18:45:31 +05:30
parent ff97877997
commit 3e0a04e390
19 changed files with 463 additions and 106 deletions
@@ -1,15 +1,19 @@
package com.billpaymentservice.bbps.util;
import java.text.SimpleDateFormat;
import java.util.Date;
public class BBPSConstant {
// Jwt Token Expiration Time
public static final long JWT_EXPIRATION_MS = 1000 * 60 * 60 * 24; // 24 hours
public static final long JWT_TEMPERARY_EXPIRATION_MS = 1000 * 60 * 5; // 5 minutes
public static final long REFRESH_EXPIRATION_MS = 1000L * 60 * 60 * 24 * 7; // 7 days
public static final Long SENT_TO_PROCESSOR_CODE = 198L;
public static final Long SUCCESS_CODE = 200L;
public static final Long FAILED_CODE = 99L;
public static final int OTP_VERIFIED_USER_NOT_FORUN =601;
public static final int OTP_VERIFIED_USER_NOT_FORUN = 601;
public static final Long SCHEDULER_CODE = 222L;
public static final Long PENDING_CODE = 211L;
public static final Long FRAUD_CODE = 1001L;
@@ -106,6 +110,7 @@ public class BBPSConstant {
public static final String API_FETCH_PLAN_BY_CATEGORIES = "FetchPlanByCategories";
public static final String API_GET_TICKET_DISPOSITIONS = "GetTicketDispositionDetails";
public static final String GET_PAYMENT_HISTORY = "GET_PAYMENT_HISTORY";
public static final String GET_PAYMENT_HISTORY_BY_TXN_ID = "GET_PAYMENT_HISTORY_TXN_ID";
// Payment related API names
public static final String API_INITIATE_PAYMENT = "InitiatePayment";