Lean class
Constructors
-
Lean.authorizeConsent({Key? key, required String appToken, required String? customerId, required String? consentId, required String? failRedirectUrl, required String? successRedirectUrl, LeanCallback? callback, String? accessToken, Map<String, String>? customization, LeanActionCancelled? actionCancelled, bool isSandbox = true, bool showLogs = false, String version = 'latest', String env = 'production', LeanCountry country = LeanCountry.ae, LeanLanguage language = LeanLanguage.en, String? bankIdentifier, String? accountId, RiskDetails? riskDetails, bool? allowPaymentSourceChange, String? destinationAlias, String? destinationAvatar})
-
const
-
Lean.captureRedirect({Key? key, required String appToken, required String? customerId, LeanCallback? callback, String? accessToken, Map<String, String>? customization, LeanActionCancelled? actionCancelled, bool isSandbox = true, bool showLogs = false, String version = 'latest', String env = 'production', LeanCountry country = LeanCountry.ae, LeanLanguage language = LeanLanguage.en, String? consentAttemptId, String? granularStatusCode, String? statusAdditionalInfo})
-
const
-
Lean.checkout({Key? key, required String appToken, required String? paymentIntentId, required String? failRedirectUrl, required String? successRedirectUrl, LeanCallback? callback, String? accessToken, Map<String, String>? customization, LeanActionCancelled? actionCancelled, bool isSandbox = true, bool showLogs = false, String version = 'latest', String env = 'production', LeanCountry country = LeanCountry.ae, LeanLanguage language = LeanLanguage.en, String? customerName, String? bankIdentifier, String? accountId, RiskDetails? riskDetails, bool? allowPaymentSourceChange})
-
const
-
Lean.connect({Key? key, required String appToken, required String? customerId, required List<LeanPermissions>? permissions, LeanCallback? callback, Map<String, String>? customization, LeanActionCancelled? actionCancelled, bool isSandbox = true, bool showLogs = false, String version = 'latest', String env = 'production', LeanCountry country = LeanCountry.ae, LeanLanguage language = LeanLanguage.en, String? accessTo, String? accessFrom, String? accessToken, String? bankIdentifier, String? failRedirectUrl, String? successRedirectUrl, String? paymentDestinationId, String? customerMetadata, bool? showConsentExplanation, String? destinationAlias, String? destinationAvatar})
-
const
-
Lean.createBeneficiary({Key? key, required String appToken, required String? customerId, LeanCallback? callback, String? accessToken, Map<String, String>? customization, LeanActionCancelled? actionCancelled, bool isSandbox = true, bool showLogs = false, String version = 'latest', String env = 'production', LeanCountry country = LeanCountry.ae, LeanLanguage language = LeanLanguage.en, String? paymentSourceId, String? failRedirectUrl, String? successRedirectUrl, String? paymentDestinationId, String? destinationAlias, String? destinationAvatar})
-
const
-
Lean.createPaymentSource({Key? key, required String appToken, required String? customerId, LeanCallback? callback, String? accessToken, Map<String, String>? customization, LeanActionCancelled? actionCancelled, bool isSandbox = true, bool showLogs = false, String version = 'latest', String env = 'production', LeanCountry country = LeanCountry.ae, LeanLanguage language = LeanLanguage.en, String? bankIdentifier, String? failRedirectUrl, String? paymentSourceId, String? successRedirectUrl, String? paymentDestinationId, String? destinationAlias, String? destinationAvatar})
-
const
-
Lean.manageConsents({Key? key, required String appToken, required String? customerId, LeanCallback? callback, String? accessToken, Map<String, String>? customization, LeanActionCancelled? actionCancelled, bool isSandbox = true, bool showLogs = false, String version = 'latest', String env = 'production', LeanCountry country = LeanCountry.ae, LeanLanguage language = LeanLanguage.en})
-
const
-
Lean.pay({Key? key, required String appToken, required String? paymentIntentId, LeanCallback? callback, String? accessToken, Map<String, String>? customization, LeanActionCancelled? actionCancelled, bool isSandbox = true, bool showLogs = false, String version = 'latest', String env = 'production', LeanCountry country = LeanCountry.ae, LeanLanguage language = LeanLanguage.en, String? accountId, String? bankIdentifier, bool? showBalances, bool? allowPaymentSourceChange, String? failRedirectUrl, String? successRedirectUrl, RiskDetails? riskDetails, String? destinationAlias, String? destinationAvatar})
-
const
-
Lean.reconnect({Key? key, required String appToken, required String? reconnectId, LeanCallback? callback, String? accessToken, Map<String, String>? customization, LeanActionCancelled? actionCancelled, bool isSandbox = true, bool showLogs = false, String version = 'latest', String env = 'production', LeanCountry country = LeanCountry.ae, LeanLanguage language = LeanLanguage.en, String? customerMetadata, String? destinationAlias, String? destinationAvatar})
-
const
-
Lean.updatePaymentSource({Key? key, required String appToken, required String? customerId, LeanCallback? callback, String? accessToken, Map<String, String>? customization, LeanActionCancelled? actionCancelled, bool isSandbox = true, bool showLogs = false, String version = 'latest', String env = 'production', LeanCountry country = LeanCountry.ae, LeanLanguage language = LeanLanguage.en, String? paymentSourceId, String? failRedirectUrl, String? successRedirectUrl, String? paymentDestinationId, String? destinationAlias, String? destinationAvatar})
-
const
-
Lean.verifyAddress({Key? key, required String appToken, required String? customerId, required String? customerName, required List<LeanPermissions>? permissions, LeanCallback? callback, String? accessToken, Map<String, String>? customization, LeanActionCancelled? actionCancelled, bool isSandbox = true, bool showLogs = false, String version = 'latest', String env = 'production', LeanCountry country = LeanCountry.ae, LeanLanguage language = LeanLanguage.en, String? destinationAlias, String? destinationAvatar})
-
const