Subversion Repositories SmartDukaan

Rev

Rev 12575 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
12573 amit.gupta 1
/******************************************************************************* 
2
 *  Copyright 2008-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
 *  Licensed under the Apache License, Version 2.0 (the "License"); 
4
 *  
5
 *  You may not use this file except in compliance with the License. 
6
 *  You may obtain a copy of the License at: http://aws.amazon.com/apache2.0
7
 *  This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
8
 *  CONDITIONS OF ANY KIND, either express or implied. See the License for the 
9
 *  specific language governing permissions and limitations under the License.
10
 * ***************************************************************************** 
11
 * 
12
 *  Marketplace Web Service Orders Java Library
13
 *  API Version: 2011-01-01
14
 * 
15
 */
16
 
17
 
18
 
19
 
20
 
21
package com.amazonservices.mws.orders.samples;
22
 
23
import java.util.List;
24
import java.util.ArrayList;
25
import com.amazonservices.mws.orders.*;
26
import com.amazonservices.mws.orders.model.*;
27
 
28
/**
29
 * Configuration used in  Marketplace Web Service Orders  samples
30
 */
31
final public class OrdersConfig {
32
	/************************************************************************
33
	 * Set Access Key ID, Secret Acess Key ID, Seller ID, etc.
34
	 ***********************************************************************/
35
 
36
	public static final String accessKeyId = "AKIAJBFVIU6DHLMNZ2GA";
37
 
38
	public static final String secretAccessKey = "gvTng1syaKUpPXvUG1xuc4AOHa0y7NCvBF2DZbBe";
39
	public static final String applicationName = "Test";
40
	public static final String applicationVersion = "1.0";
41
 
42
	public static final String sellerId = "A116PWEHC4HP0W";
43
 
44
	public static final String marketplaceId = "A2UTKXGQLHXMO";
45
 
46
	public static final String accessKeyId = "AKIAII3SGRXBJDPCHSGQ";
47
	public static final String secretAccessKey = "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";
48
	public static final String applicationName = "AMAZON";
49
	public static final String applicationVersion = "1.0";
50
 
51
	public static final String sellerId = "AF6E3O0VE0X4D";
52
 
53
	public static final String marketplaceId = "A21TJRUUN4KGV";
54
 
55
    public static MarketplaceIdList marketplaceIdList =null;
56
 
57
	public static MarketplaceWebServiceOrdersConfig config = new MarketplaceWebServiceOrdersConfig();
58
 
59
	static {
60
 
61
	    //
62
	    // IMPORTANT: Uncomment out the appropriate line for the country you wish 
63
	    // to sell in:
64
	    //
65
		//India:
66
		final List<String> marketplaceidlist = new ArrayList<String>();
67
		marketplaceidlist.add(marketplaceId);
68
		marketplaceIdList= new MarketplaceIdList(marketplaceidlist);
69
 
70
		config.setServiceURL("https://mws.amazonservices.in/Orders/2011-01-01");
71
 
72
	    // United States:
73
	    // config.setServiceURL("https://mws.amazonservices.com/Orders/2011-01-01");
74
	    //
75
	    // Canada:
76
	    // config.setServiceURL("https://mws.amazonservices.ca/Orders/2011-01-01");
77
	    //
78
	    // Europe:
79
	    // config.setServiceURL("https://mws-eu.amazonservices.com/Orders/2011-01-01");
80
	    //
81
	    // Japan:
82
	    // config.setServiceURL("https://mws.amazonservices.jp/Orders/2011-01-01");
83
	    //
84
	    // China:
85
	    // config.setServiceURL("https://mws.amazonservices.com.cn/Orders/2011-01-01");
86
	    //
87
		/************************************************************************
88
		 * You can also try advanced configuration options. Available options are:
89
		 * 
90
		 * - Signature Version - Proxy Host and Proxy Port - User Agent String to be
91
		 * sent to Marketplace Web Service
92
		 *************************************************************************/
93
	}
94
 
95
}