JsonJavaObject response = getCustomerManagementService().registerCustomer(customer);
return String.valueOf(response.getAsLong("Long"));
}
public List<String> getCustomerIds() throws BssException {
CustomerManagementService customerManagement = getCustomerManagementService();
EntityList<JsonEntity> customerList = customerManagement.getCustomers();
List<String> customerIds = new ArrayList<String>();
for (JsonEntity customer : customerList) {
long id = customer.getAsLong("Id");
customerIds.add(""+id);
}