Update customer

You can update the Customer by specifying setting the properties to the new values.

CustomerRequest updateReq = new CustomerRequest()
    .firstName("Johnny")
    .email("johnny@server.com")
    .description("");

Customer customer = gateway.customer().update("customer_uid", updateReq);

Result

Updated Customer object is returned on success.