|
void
|
connect(String apiKey, String securityToken)
Connect
|
|
String
|
connectionId()
The key to identify the connection
|
|
Address
|
createAddress(Address address)
|
|
Category
|
createCategory(Category category)
|
|
Customer
|
createCustomer(Customer customer)
Creates a Customer on Handshake
Take into account than neither the CustomerGroup nor the UserGroup can be created alongside the Customer
You can either let them be the default values for your account (by not specifying them), or use their resourceUri property to reference an existing one
|
|
Item
|
createItem(Item item)
Creates a Item on handshake
|
|
List<Item>
|
createItems(List<Item> items)
Creates Items on handshake
|
|
Order
|
createOrder(Order order)
Creates a Order on handshake
|
|
void
|
disconnect()
Disconnect
|
|
Collection<Customer>
|
findCustomers(Map<String, String> filters, boolean fetchAllResults)
Find all customers for the connected account that match the filters
|
|
Collection<Item>
|
findItems(Map<String, String> filters, boolean fetchAllResults)
Get all items for the connected account that match the filters
|
|
Collection<Order>
|
findOrders(Map<String, String> filters, boolean fetchAllResults)
Find all Sales Orders for the connected account that match the filters
|
|
Address
|
getAddress(String resourceUri)
|
|
String
|
getAntiThrottleKey()
|
|
Category
|
getCategory(String id)
|
|
Customer
|
getCustomer(String resourceUri)
|
|
CustomerGroup
|
getCustomerGroup(String id)
|
|
String
|
getEndpoint()
|
|
Item
|
getItem(String resourceUri)
Get a Item, given its resourceUri
|
|
Order
|
getOrder(String resourceUri)
Get a Order, given its resourceUri
|
|
UserGroup
|
getUserGroup(String id)
|
|
boolean
|
isConnected()
Are we connected
|
|
void
|
setAntiThrottleKey(String antiThrottleKey)
|
|
void
|
setEndpoint(String endpoint)
|
|
Address
|
updateAddress(String resourceUri, Address address)
Updates a Address on Handshake, given its resourceUri
|
|
Customer
|
updateCustomer(String resourceUri, Customer customer)
Updates a Customer on Handshake, given her resourceUri
Take into account than neither the CustomerGroup nor the UserGroup can be created alongside the Customer
You can either let them be the default values for your account (by not specifying them), or use their resourceUri property to reference an existing one
|
|
Item
|
updateItem(String resourceUri, Item item)
Updates a Item on Handshake, given its resourceUri
|