updateCustomer method
Updates the specified customer by setting the values of the parameters passed. https://stripe.com/docs/api/customers/update
Implementation
Future<Map<String, dynamic>> updateCustomer(Map<String, dynamic> data) async {
assert(_assertNotDisposed());
final EphemeralKey key = await (_keyManager.retrieveEphemeralKey());
final path = '/customers/${key.customerId}';
return _apiHandler.request(RequestMethod.post, path, key.secret, apiVersion, params: data);
}