Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7474 vikram.rag 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 Products Java Library
13
 *  API Version: 2011-10-01
14
 * 
15
 */
16
 
17
 
18
 
19
 
20
 
21
package com.amazonservices.mws.products.samples;
22
 
23
import java.util.List;
24
import java.util.ArrayList;
25
import com.amazonservices.mws.products.*;
26
import com.amazonservices.mws.products.model.*;
27
 
28
/**
29
 * Configuration used in  Marketplace Web Service Products  samples
30
 */
31
final public class ProductsConfig {
32
	/************************************************************************
33
	 * Set Access Key ID, Secret Acess Key ID, Seller ID, etc.
34
	 ***********************************************************************/
35
	public static final String accessKeyId = "AKIAII3SGRXBJDPCHSGQ";
36
	public static final String secretAccessKey = "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";
37
	public static final String applicationName = "Test";
38
	public static final String applicationVersion = "1.0";
39
 
40
	public static final String sellerId = "AF6E3O0VE0X4D";
41
 
42
	public static final String marketplaceId = "A21TJRUUN4KGV";
43
 
44
	public static MarketplaceWebServiceProductsConfig config = new MarketplaceWebServiceProductsConfig();
45
 
46
	static {
47
 
48
	    //
49
	    // IMPORTANT: Uncomment out the appropriate line for the country you wish 
50
	    // to sell in:
51
	    // 
52
	    // United States:
53
	    // config.setServiceURL("https://mws.amazonservices.com/Products/2011-10-01");
54
	    //
55
	    // Canada:
56
	    // config.setServiceURL("https://mws.amazonservices.ca/Products/2011-10-01");
57
	    //
58
	    // Europe:
59
	    // config.setServiceURL("https://mws-eu.amazonservices.com/Products/2011-10-01");
60
	    //
61
	    // Japan:
62
	    // config.setServiceURL("https://mws.amazonservices.jp/Products/2011-10-01");
63
	    //
64
	    // China:
65
	    // config.setServiceURL("https://mws.amazonservices.com.cn/Products/2011-10-01");
66
	    //
67
		config.setServiceURL("https://mws.amazonservices.in/Products/2011-10-01");
68
		/************************************************************************
69
		 * You can also try advanced configuration options. Available options are:
70
		 * 
71
		 * - Signature Version - Proxy Host and Proxy Port - User Agent String to be
72
		 * sent to Marketplace Web Service
73
		 *************************************************************************/
74
	}
75
 
76
}