public class MagentoSOAPClient extends Object implements MagentoClient
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_FAILURE |
| Constructor and Description |
|---|
MagentoSOAPClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOrderComment(String orderIncrementId,
String status,
String comment,
boolean notify)
adds a comment to an order
|
void |
connect(org.imixs.workflow.ItemCollection magentoConfiguration)
Connection the Client with the Magento Service.
|
void |
disconnect()
Disconnects the Client with the Magento Service.
|
org.imixs.workflow.ItemCollection |
getCustomerById(int id) |
org.imixs.workflow.ItemCollection |
getOrderById(String id) |
List<org.imixs.workflow.ItemCollection> |
getOrders(String status) |
org.imixs.workflow.ItemCollection |
getProductBySKU(String sku)
returns a single itemCollection for a magento product entry
|
List<org.imixs.workflow.ItemCollection> |
getProducts()
returns a List of itemCollection for magento product entries
|
public static final String CONNECTION_FAILURE
public void connect(org.imixs.workflow.ItemCollection magentoConfiguration)
throws MagentoException
MagentoClientconnect in interface MagentoClientMagentoExceptionpublic void disconnect()
MagentoClientdisconnect in interface MagentoClientpublic void addOrderComment(String orderIncrementId, String status, String comment, boolean notify) throws MagentoException
MagentoClientaddOrderComment in interface MagentoClientMagentoExceptionpublic List<org.imixs.workflow.ItemCollection> getProducts() throws MagentoException
MagentoClientgetProducts in interface MagentoClientMagentoExceptionpublic org.imixs.workflow.ItemCollection getCustomerById(int id)
throws MagentoException
getCustomerById in interface MagentoClientMagentoExceptionpublic org.imixs.workflow.ItemCollection getOrderById(String id) throws MagentoException
getOrderById in interface MagentoClientMagentoExceptionpublic List<org.imixs.workflow.ItemCollection> getOrders(String status) throws MagentoException
getOrders in interface MagentoClientMagentoExceptionpublic org.imixs.workflow.ItemCollection getProductBySKU(String sku) throws MagentoException
MagentoClientgetProductBySKU in interface MagentoClientMagentoExceptionCopyright © 2020 Imixs Software Solutions GmbH. All rights reserved.