HttpCustomersRepository class

Inheritance

Constructors

HttpCustomersRepository({required dynamic headers, required ApiBase apiBase})

Properties

apiBase ApiBase
final
hashCode int
The hash code for this object.
no setterinherited
headers → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createCustomer(Customer customer) Future<String?>
Store a customer's details in a customer object to reuse in future payments. Link a payment instrument using the Update customer details endpoint, so the customer id returned can be passed as a source when making a payment.
override
getCustomerDetails(String id) Future<Customer>
Returns details of a customer and their instruments
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited