Subversion Repositories SmartDukaan

Rev

Rev 7959 | Rev 8356 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7959 Rev 8296
Line 121... Line 121...
121
    private StoreOrderDetail     storeOrderDetail;
121
    private StoreOrderDetail     storeOrderDetail;
122
    //Start:- Added by Manish Sharma for Displaying Logistics Provider Id and Amazon Order Id on 25-Jul-2013
122
    //Start:- Added by Manish Sharma for Displaying Logistics Provider Id and Amazon Order Id on 25-Jul-2013
123
    private AmazonOrder          amazonOrder = null;
123
    private AmazonOrder          amazonOrder = null;
124
    private String               providerName = "N/A";
124
    private String               providerName = "N/A";
125
    //End:- Added by Manish Sharma for Displaying Logistics Provider Id and Amazon Order Id on 25-Jul-2013
125
    //End:- Added by Manish Sharma for Displaying Logistics Provider Id and Amazon Order Id on 25-Jul-2013
-
 
126
    private long				 gvAmount;
126
 
127
 
127
	public UserOrderInfoController() {
128
	public UserOrderInfoController() {
128
		super();
129
		super();
129
		setOfcancellableStates = new HashSet<OrderStatus>();
130
		setOfcancellableStates = new HashSet<OrderStatus>();
130
		setOfcancellableStates.add(OrderStatus.SUBMITTED_FOR_PROCESSING);
131
		setOfcancellableStates.add(OrderStatus.SUBMITTED_FOR_PROCESSING);
Line 194... Line 195...
194
				}
195
				}
195
			}
196
			}
196
 
197
 
197
			payments = paymentServiceClient.getClient()
198
			payments = paymentServiceClient.getClient()
198
			.getPaymentForTxnId(order.getTransactionId());
199
			.getPaymentForTxnId(order.getTransactionId());
-
 
200
			
-
 
201
			gvAmount = order.getGvAmount();
199
 
202
 
200
 
203
 
201
 
204
 
202
			// Spawning a thread to capture shipment updates from Bluedart
205
			// Spawning a thread to capture shipment updates from Bluedart
203
			// This is done to ensure that response from Crm web app is sent
206
			// This is done to ensure that response from Crm web app is sent
Line 809... Line 812...
809
    public static void main(String[] args) {
812
    public static void main(String[] args) {
810
        System.out.println(providerNameMap.get(5l));
813
        System.out.println(providerNameMap.get(5l));
811
        System.out.println(providerNameMap.get(10l));
814
        System.out.println(providerNameMap.get(10l));
812
    }
815
    }
813
 
816
 
-
 
817
	public void setGvAmount(long gvAmount) {
-
 
818
		this.gvAmount = gvAmount;
-
 
819
	}
-
 
820
 
-
 
821
	public long getGvAmount() {
-
 
822
		return gvAmount;
-
 
823
	}
-
 
824
 
814
}
825
}
815
826