Subversion Repositories SmartDukaan

Rev

Rev 12573 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12573 Rev 12576
Line 1... Line -...
1
Unexpected error.  File contents could not be restored from local history during undo/redo.
-
 
2
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
package com.amazonservices.mws.orders;
-
 
20
 
-
 
21
import com.amazonservices.mws.orders.model.*;
-
 
22
 
-
 
23
 
-
 
24
 
-
 
25
/**
-
 
26
 * This contains the Order Retrieval API section of the Marketplace Web Service.
-
 
27
 * 
-
 
28
 * 
-
 
29
 */
-
 
30
public interface  MarketplaceWebServiceOrders {
-
 
31
    
-
 
32
 
-
 
33
            
-
 
34
    /**
-
 
35
     * List Orders By Next Token 
-
 
36
     *
-
 
37
     * If ListOrders returns a nextToken, thus indicating that there are more orders
-
 
38
     * than returned that matched the given filter criteria, ListOrdersByNextToken
-
 
39
     * can be used to retrieve those other orders using that nextToken.
-
 
40
     *   
-
 
41
     * @param request
-
 
42
     *          ListOrdersByNextToken Action
-
 
43
     * @return
-
 
44
     *          ListOrdersByNextToken Response from the service
-
 
45
     *
-
 
46
     * @throws MarketplaceWebServiceOrdersException
-
 
47
     */
-
 
48
    public ListOrdersByNextTokenResponse listOrdersByNextToken(ListOrdersByNextTokenRequest request) throws MarketplaceWebServiceOrdersException;
-
 
49
 
-
 
50
 
-
 
51
            
-
 
52
    /**
-
 
53
     * List Order Items By Next Token 
-
 
54
     *
-
 
55
     * If ListOrderItems cannot return all the order items in one go, it will
-
 
56
     * provide a nextToken. That nextToken can be used with this operation to
-
 
57
     * retrive the next batch of items for that order.
-
 
58
     *   
-
 
59
     * @param request
-
 
60
     *          ListOrderItemsByNextToken Action
-
 
61
     * @return
-
 
62
     *          ListOrderItemsByNextToken Response from the service
-
 
63
     *
-
 
64
     * @throws MarketplaceWebServiceOrdersException
-
 
65
     */
-
 
66
    public ListOrderItemsByNextTokenResponse listOrderItemsByNextToken(ListOrderItemsByNextTokenRequest request) throws MarketplaceWebServiceOrdersException;
-
 
67
 
-
 
68
 
-
 
69
            
-
 
70
    /**
-
 
71
     * Get Order 
-
 
72
     *
-
 
73
     * This operation takes up to 50 order ids and returns the corresponding orders.
-
 
74
     *   
-
 
75
     * @param request
-
 
76
     *          GetOrder Action
-
 
77
     * @return
-
 
78
     *          GetOrder Response from the service
-
 
79
     *
-
 
80
     * @throws MarketplaceWebServiceOrdersException
-
 
81
     */
-
 
82
    public GetOrderResponse getOrder(GetOrderRequest request) throws MarketplaceWebServiceOrdersException;
-
 
83
 
-
 
84
 
-
 
85
            
-
 
86
    /**
-
 
87
     * List Order Items 
-
 
88
     *
-
 
89
     * This operation can be used to list the items of the order indicated by the
-
 
90
     * given order id (only a single Amazon order id is allowed).
-
 
91
     *   
-
 
92
     * @param request
-
 
93
     *          ListOrderItems Action
-
 
94
     * @return
-
 
95
     *          ListOrderItems Response from the service
-
 
96
     *
-
 
97
     * @throws MarketplaceWebServiceOrdersException
-
 
98
     */
-
 
99
    public ListOrderItemsResponse listOrderItems(ListOrderItemsRequest request) throws MarketplaceWebServiceOrdersException;
-
 
100
 
-
 
101
 
-
 
102
            
-
 
103
    /**
-
 
104
     * List Orders 
-
 
105
     *
-
 
106
     * ListOrders can be used to find orders that meet the specified criteria.
-
 
107
     *   
-
 
108
     * @param request
-
 
109
     *          ListOrders Action
-
 
110
     * @return
-
 
111
     *          ListOrders Response from the service
-
 
112
     *
-
 
113
     * @throws MarketplaceWebServiceOrdersException
-
 
114
     */
-
 
115
    public ListOrdersResponse listOrders(ListOrdersRequest request) throws MarketplaceWebServiceOrdersException;
-
 
116
 
-
 
117
 
-
 
118
            
-
 
119
    /**
-
 
120
     * Get Service Status 
-
 
121
     *
-
 
122
     * Returns the service status of a particular MWS API section. The operation
-
 
123
     * takes no input.
-
 
124
     *   
-
 
125
     * @param request
-
 
126
     *          GetServiceStatus Action
-
 
127
     * @return
-
 
128
     *          GetServiceStatus Response from the service
-
 
129
     *
-
 
130
     * @throws MarketplaceWebServiceOrdersException
-
 
131
     */
-
 
132
    public GetServiceStatusResponse getServiceStatus(GetServiceStatusRequest request) throws MarketplaceWebServiceOrdersException;
-
 
133
 
-
 
134
 
-
 
135
 
-
 
136
}
-
 
137
3
138