Updating a Customer
To update a customer:
HashMap<String, String> updatedData = new HashMap<>();
updatedData.put("company", "Updated Company LLC");
int result = co.update(ChargeOver.Target.CUSTOMER, customerId, updatedData);
if (result < 0) {
System.out.println(co.getLastError());
} else {
System.out.println("Updated Customer ID: " + customerId);
}