CustomerHandler class
Constructors
-
CustomerHandler(Map<
String, String> ? headers)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
String name, String email) → Future< MollieCustomer?> - Creates a simple minimal representation of a customer in the Mollie API to use for the Mollie Checkout and Recurring features. These customers will appear in your Mollie Dashboard where you can manage their details, and also see their payments and subscriptions.
-
delete(
String customerId) → Future< String> - Delete a customer. All mandates and subscriptions created for this customer will be canceled as well.
-
get(
String customerId) → Future< MollieCustomer?> - Retrieve a single customer by its ID.
-
listCustomers(
) → Future< List< MollieCustomer> > - Retrieve all customers created.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
String customerId, String name, String email) → Future< MollieCustomer?> - Update an existing customer.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited