ConnectSDK class abstract

The ConnectSDK class is the entrance point into the SDK.

Constructors

ConnectSDK.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
initializationStatus SdkInitializationStatus
This instance variable shows the current initialization status of the SDK.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encryptPaymentRequest({required SdkPreparePaymentRequest paymentRequest, required void onSuccess(EncryptedPaymentRequest encryptedPaymentRequest), required void onFailure(NativeException e)}) → dynamic
Processes the SdkPreparePaymentRequest.
getClientApi() ClientApi
Returns the ClientApi.
getConnectSDKConfiguration() ConnectSDKConfiguration
Returns the ConnectSDKConfiguration that was used in initialization.
getPaymentConfiguration() PaymentConfiguration
Returns the PaymentConfiguration that was used in initialization.
initialize({required ConnectSDKConfiguration connectSDKConfiguration, required PaymentConfiguration paymentConfiguration}) → dynamic
Initializes the SDK using the provided configurations.
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

Static Properties

connectSDK ConnectSDK
Static get method for the private static instance
no setter