| Line 40... |
Line 40... |
| 40 |
|
40 |
|
| 41 |
import in.shop2020.model.v1.catalog.CatalogService;
|
41 |
import in.shop2020.model.v1.catalog.CatalogService;
|
| 42 |
import in.shop2020.model.v1.inventory.InventoryService;
|
42 |
import in.shop2020.model.v1.inventory.InventoryService;
|
| 43 |
import in.shop2020.model.v1.inventory.StateInfo;
|
43 |
import in.shop2020.model.v1.inventory.StateInfo;
|
| 44 |
import in.shop2020.model.v1.inventory.Warehouse;
|
44 |
import in.shop2020.model.v1.inventory.Warehouse;
|
| - |
|
45 |
import in.shop2020.model.v1.order.OrderStatusGroups;
|
| 45 |
import in.shop2020.model.v1.order.RechargeOrderStatus;
|
46 |
import in.shop2020.model.v1.order.RechargeOrderStatus;
|
| 46 |
import in.shop2020.model.v1.order.RechargePlan;
|
47 |
import in.shop2020.model.v1.order.RechargePlan;
|
| 47 |
import in.shop2020.model.v1.order.RechargeType;
|
48 |
import in.shop2020.model.v1.order.RechargeType;
|
| 48 |
import in.shop2020.model.v1.order.SellerInfo;
|
49 |
import in.shop2020.model.v1.order.SellerInfo;
|
| 49 |
import in.shop2020.model.v1.order.WarehouseAddress;
|
50 |
import in.shop2020.model.v1.order.WarehouseAddress;
|
| Line 68... |
Line 69... |
| 68 |
private static Map<Long, String> dthProvidersMap;
|
69 |
private static Map<Long, String> dthProvidersMap;
|
| 69 |
//private static final String SMS_GATEWAY = "http://103.15.179.45:8085/SMSGateway/sendingSMS";
|
70 |
//private static final String SMS_GATEWAY = "http://103.15.179.45:8085/SMSGateway/sendingSMS";
|
| 70 |
private static final String SMS_GATEWAY = "http://103.15.179.45:8085/MessagingGateway/SendTransSMS";
|
71 |
private static final String SMS_GATEWAY = "http://103.15.179.45:8085/MessagingGateway/SendTransSMS";
|
| 71 |
private static Map<Long, String> allProviders;
|
72 |
private static Map<Long, String> allProviders;
|
| 72 |
public static Map<RechargeOrderStatus, String> rechargeStatusMap = new HashMap<>();
|
73 |
public static Map<RechargeOrderStatus, String> rechargeStatusMap = new HashMap<>();
|
| - |
|
74 |
public static OrderStatusGroups ORDER_STATUS_GROUPS = new OrderStatusGroups();
|
| 73 |
|
75 |
|
| 74 |
static {
|
76 |
static {
|
| 75 |
helpMap.put(Integer.valueOf(1), "Your VC number starts with 0 and is 11 digits long.");
|
77 |
helpMap.put(Integer.valueOf(1), "Your VC number starts with 0 and is 11 digits long.");
|
| 76 |
helpMap.put(Integer.valueOf(2), "Smart card number starts with 2 and is 12 digits long.");
|
78 |
helpMap.put(Integer.valueOf(2), "Smart card number starts with 2 and is 12 digits long.");
|
| 77 |
helpMap.put(Integer.valueOf(3), "Smart card number starts with 4 and is 11 digits long.");
|
79 |
helpMap.put(Integer.valueOf(3), "Smart card number starts with 4 and is 11 digits long.");
|
| Line 475... |
Line 477... |
| 475 |
public static WarehouseAddress getWarehouseByWarehouseId(int warehouseAddressId) throws Exception{
|
477 |
public static WarehouseAddress getWarehouseByWarehouseId(int warehouseAddressId) throws Exception{
|
| 476 |
TransactionClient tcl = new TransactionClient();
|
478 |
TransactionClient tcl = new TransactionClient();
|
| 477 |
return tcl.getClient().getWarehouseAddress((long)warehouseAddressId);
|
479 |
return tcl.getClient().getWarehouseAddress((long)warehouseAddressId);
|
| 478 |
}
|
480 |
}
|
| 479 |
|
481 |
|
| - |
|
482 |
|
| 480 |
}
|
483 |
}
|