Class OrderService
- java.lang.Object
-
- com.aboutyou.cloud.adminapi.service.AbstractService
-
- com.aboutyou.cloud.adminapi.service.OrderService
-
public class OrderService extends AbstractService
-
-
Constructor Summary
Constructors Constructor Description OrderService(HttpClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCollection<Order>all(java.lang.String shopKey, java.lang.String countryCode)ApiCollection<Order>all(java.lang.String shopKey, java.lang.String countryCode, ApiOptions options)Orderget(java.lang.String shopKey, java.lang.String countryCode, Identifier orderIdentifier)Orderget(java.lang.String shopKey, java.lang.String countryCode, Identifier orderIdentifier, ApiOptions options)OrderStatusgetStatus(java.lang.String shopKey, java.lang.String countryCode, Identifier orderIdentifier)OrderStatusgetStatus(java.lang.String shopKey, java.lang.String countryCode, Identifier orderIdentifier, ApiOptions options)OrderupdateReferenceKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer orderId, OrderReferenceKey model)OrderupdateReferenceKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer orderId, OrderReferenceKey model, ApiOptions options)-
Methods inherited from class com.aboutyou.cloud.adminapi.service.AbstractService
request, request, requestCollection, requestCollection, resolvePath
-
-
-
-
Constructor Detail
-
OrderService
public OrderService(HttpClient httpClient)
-
-
Method Detail
-
get
public Order get(java.lang.String shopKey, java.lang.String countryCode, Identifier orderIdentifier) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
get
public Order get(java.lang.String shopKey, java.lang.String countryCode, Identifier orderIdentifier, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
all
public ApiCollection<Order> all(java.lang.String shopKey, java.lang.String countryCode) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
all
public ApiCollection<Order> all(java.lang.String shopKey, java.lang.String countryCode, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
updateReferenceKey
public Order updateReferenceKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer orderId, OrderReferenceKey model) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
updateReferenceKey
public Order updateReferenceKey(java.lang.String shopKey, java.lang.String countryCode, java.lang.Integer orderId, OrderReferenceKey model, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
getStatus
public OrderStatus getStatus(java.lang.String shopKey, java.lang.String countryCode, Identifier orderIdentifier) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
getStatus
public OrderStatus getStatus(java.lang.String shopKey, java.lang.String countryCode, Identifier orderIdentifier, ApiOptions options) throws ApiErrorException, ConnectionException
- Throws:
ApiErrorExceptionConnectionException
-
-