Skip to main content

Retrieving Customers By ID

To fetch customer information:

Map<String, Object> customer = co.findById(ChargeOver.Target.CUSTOMER, 29);
if (customer == null) {
System.out.println(co.getLastError());
} else {
co.prettyPrint(customer);
}