AnsaFlutterSdkPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- AnsaFlutterSdkPlatform
- Implementers
Constructors
- AnsaFlutterSdkPlatform()
- Constructs an AnsaFlutterSdkPlatform.
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> -
getCardArtUrls(
) → Future< List< String> > -
getCustomer(
{required String customerId}) → Future< Customer> - Get the customer data.
-
getMerchant(
{required String merchantId}) → Future< Merchant> -
getPaymentMethods(
{required String customerId}) → Future< List< PaymentMethod> > -
getTransactions(
{required String customerId, String? cursor}) → Future< TransactionResult> -
initializeSdk(
{required String publishableKey}) → Future< void> - Initialize the SDK with the publishable key and client secret.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAutoReloadConfiguration(
{required AutoReloadConfigurationRequest request}) → Future< AutoReloadConfig> -
setupClientSecretProvider(
Future< String?> clientSecretProvider(String customerId)) → void -
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
Static Properties
- instance ↔ AnsaFlutterSdkPlatform
-
The default instance of AnsaFlutterSdkPlatform to use.
getter/setter pair