CustomerApi class

Constructors

CustomerApi(AnsaLogger _logger)

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

addBalance({required AddBalanceRequest request, String? idempotencyKey}) Future<BalanceUpdate>
addPaymentMethod({required String customerId, required AddPaymentMethodType paymentMethodType, String? idempotencyKey}) Future<PaymentMethod>
deletePaymentMethod({required String customerId, required String paymentMethodId, String? idempotencyKey}) Future<void>
getAppReloadConfig({required String customerId}) Future<UserReloadConfiguration>
getAutoReloadConfiguration({required String customerId}) Future<AutoReloadConfig>
getCustomer({required String customerId}) Future<Customer>
getPaymentMethods({required String customerId}) Future<List<PaymentMethod>>
getTransactions({required String customerId, String? cursor}) Future<TransactionResult>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAutoReloadConfiguration({required AutoReloadConfigurationRequest request}) Future<AutoReloadConfig>
toString() String
A string representation of this object.
inherited
useBalance({required UseBalanceRequest request, String? idempotencyKey}) Future<BalanceUpdate>

Operators

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