NAME

Business::GoCardless::Customer

DESCRIPTION

A class for a gocardless user, extends Business::GoCardless::Resource

ATTRIBUTES

created_at
email
id
given_name
family_name
company_name
address_line1
address_line2
address_line3
city
region
postal_code
country_code
language
phone_number
swedish_identity_number
danish_identity_number
metadata

Operations on a customer

update

Update the customer, returns the updated Customer object:

$Customer->update( email => 'new@example.com',metadata => { ... } );

remove

Remove the customer, which removes all of their personal data. This cannot be undone, and the customer must not have any active mandates:

$Customer->remove;

AUTHOR

Lee Johnson - lee@payprop.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. If you would like to contribute documentation, features, bug fixes, or anything else then please raise an issue / pull request:

https://github.com/payprop/business-gocardless