Calling the customer
method on an existing Pay::Customer with the Lago processor will automatically create a Lago customer,
with the external_id of the Pay::Customer's processor_id.
If a processor_id is not set, it will use the GlobalID of the Pay::Customer object as the external_id, and update processor_id to match.
Creating a Pay::Customer with a matching processor_id to a Lago Customer's external_id, and giving them the Lago processor,
will sync the two records when the customer
method is called.
Lago Customers can be updated by calling update_customer!
on the Pay::Customer object. The method takes a Hash of attributes to be
changed, and returns a Lago Customer OpenStruct.
See Lago Customer API for valid attributes.