menu
checkout_api package
documentation
repositories/customer_repository.dart
BaseCustomerRepository class
BaseCustomerRepository class
dark_mode
light_mode
BaseCustomerRepository
class
abstract
Implementers
Checkout
HttpCustomersRepository
Constructors
BaseCustomerRepository
()
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
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.
getCustomerDetails
(
String
id
)
→
Future
<
Customer
>
Returns details of a customer and their instruments
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
checkout_api package
documentation
repositories/customer_repository
BaseCustomerRepository class
customer_repository library