| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.common.util;
|
1 |
package com.spice.profitmandi.common.util;
|
| 2 |
|
2 |
|
| 3 |
import java.io.File;
|
3 |
import java.io.File;
|
| 4 |
import java.io.IOException;
|
4 |
import java.io.IOException;
|
| 5 |
import java.io.Serializable;
|
5 |
import java.io.Serializable;
|
| - |
|
6 |
import java.time.LocalTime;
|
| 6 |
import java.util.ArrayList;
|
7 |
import java.util.ArrayList;
|
| 7 |
import java.util.Collections;
|
8 |
import java.util.Collections;
|
| 8 |
import java.util.HashMap;
|
9 |
import java.util.HashMap;
|
| 9 |
import java.util.HashSet;
|
10 |
import java.util.HashSet;
|
| 10 |
import java.util.List;
|
11 |
import java.util.List;
|
| Line 72... |
Line 73... |
| 72 |
public static OrderStatusGroups ORDER_STATUS_GROUPS = new OrderStatusGroups();
|
73 |
public static OrderStatusGroups ORDER_STATUS_GROUPS = new OrderStatusGroups();
|
| 73 |
public static final String SYSTEM_PARTNER = "testpxps@gmail.com";
|
74 |
public static final String SYSTEM_PARTNER = "testpxps@gmail.com";
|
| 74 |
public static final int SYSTEM_PARTNER_ID = 175120474;
|
75 |
public static final int SYSTEM_PARTNER_ID = 175120474;
|
| 75 |
private static final RestClient rc = new RestClient();
|
76 |
private static final RestClient rc = new RestClient();
|
| 76 |
private static final String regex = "^[a-zA-Z0-9_!#$%&'*+/=?`{|}~^.-]+@[a-zA-Z0-9.-]+$";
|
77 |
private static final String regex = "^[a-zA-Z0-9_!#$%&'*+/=?`{|}~^.-]+@[a-zA-Z0-9.-]+$";
|
| - |
|
78 |
public static final LocalTime MAX_TIME=LocalTime.of(23, 59, 59);
|
| 77 |
//Compile regular expression to get the pattern
|
79 |
//Compile regular expression to get the pattern
|
| 78 |
private static final Pattern pattern = Pattern.compile(regex);
|
80 |
private static final Pattern pattern = Pattern.compile(regex);
|
| 79 |
|
81 |
|
| 80 |
public static SellerInfo getSellerInfoBySellerId(int sellerId) throws Exception {
|
82 |
public static SellerInfo getSellerInfoBySellerId(int sellerId) throws Exception {
|
| 81 |
TransactionClient tcl = new TransactionClient();
|
83 |
TransactionClient tcl = new TransactionClient();
|