connect_sdk library
The connect_sdk_client_flutter
library is a Flutter plugin that allows Flutter apps for Android and iOS to integrate with the Connect Gateway.
It does this by providing a bridge between the Flutter codebase and the existing Android/Swift native SDKs.
This bridge is structured similar to the structure of the Android and Swift SDK.
ConnectSDK provides an entrypoint into the SDK.
This needs to be initialized using a ConnectSDKConfiguration and a PaymentConfiguration.
After initialization, execute API calls using the ClientApi or prepare a payment using ConnectSDK.encryptPaymentRequest
Classes
- AccountOnFile
- Represents an AccountOnFile object.
- AccountOnFileAttribute
- Represents an AccountOnFileAttribute object.
- AccountOnFileDisplayHints
- Represents a AccountOnFileDisplayHints object.
- AmountOfMoney
- Contains money information for a payment.
- ApiErrorResponse
- AuthenticationIndicator
- BasicPaymentItem
- The interface linking products and groups so they can be returned in an unified list.
- BasicPaymentItems
- BasicPaymentProduct
- Represents a BasicPaymentProduct object.
- BasicPaymentProductGroup
- BasicPaymentProductGroups
- BasicPaymentProducts
- Contains a list of BasicPaymentProduct, a list of AccountOnFile and helper methods to retrieve a specific BasicPaymentProduct object.
- ClientApi
- Implementation of the Client to Server API interface.
- ConnectSDK
- The ConnectSDK class is the entrance point into the SDK.
- ConnectSDKConfiguration
- The main configuration class for the ConnectSDK. Necessary for the initialization of the SDK.
- ConvertedAmount
- DataRestrictions
- Represents a DataRestrictions object that is used for validating user input.
- DirectoryEntry
- EncryptedPaymentRequest
- Error
- FormElement
- Represents a FormElement object. The FormElement is used for determining how a PaymentProductField should be presented.
- IinDetail
- Represents a IinDetail object.
- IinDetailsResponse
- Represents a IinDetailsResponse object.
- LabelTemplateElement
- Represents a LabelTemplateElement.
- NativeException
- Contains information about a native SDK error if it occurred while executing API calls.
- PaymentConfiguration
- Configuration of the payment that the SDK is being initialized for.
- PaymentContext
- Contains information about a payment, like its AmountOfMoney and countryCode.
- PaymentItemDisplayHints
- Represents a PaymentProductDisplayHints object.
- PaymentProduct
- Represents a BasicPaymentProduct and its PaymentProductFields.
- PaymentProduct302SpecificData
- Contains payment product 302 (ApplePay) specific properties.
- PaymentProduct320SpecificData
- Contains payment product 320 (GooglePay) specific properties.
- PaymentProduct863SpecificData
- Contains payment product 863 (WeChat Pay) specific properties.
- PaymentProductDirectory
- PaymentProductField
- Represents a PaymentProductField object.
- PaymentProductFieldDisplayElement
- PaymentProductFieldDisplayHints
- Represents a PaymentProductFieldDisplayHints object.
- PaymentProductGroup
- PaymentRequest
- Contains all data required for creating a payment.
- PrivacyPolicyResponse
- Represents a PrivacyPolicyResponse object.
- PublicKey
- Represents a PublicKey object that is used for encrypting a PaymentRequest.
- SdkPreparePaymentRequest
- Request used to encrypt a PaymentRequest.
- SessionConfiguration
- Configuration of the session for the SDK that allows the SDK to communicate with the API.
- ThirdPartyStatusResponse
- Throwable
- Object that contains more information if an API call failed due to a non-API related error.
- Tooltip
- ValidationErrorMessage
- Contains error message information for a specific PaymentProductField.
- ValidationRule
- Contains functionality to handle validation.
- ValidationRuleBoletoBancarioRequiredness
- ValidationRuleEmailAddress
- Used for validation of an email address.
- ValidationRuleExpirationDate
- Used for validation of an expiration date.
- ValidationRuleFixedList
- Used for validation of a fixed list.
- ValidationRuleFunctions
- ValidationRuleIBAN
- Used for validation of an IBAN number.
- ValidationRuleLength
- Used for validation of the length of an input.
- ValidationRuleLuhn
- Used for validation of the Luhn check.
- ValidationRuleRange
- Used for validation of the range of an input.
- ValidationRuleRegularExpression
- Used for validation of whether a value conforms to a regular expression.
- ValidationRuleResidentIdNumber
- ValidationRuleTermsAndConditions
- Used for validation of terms and conditions.
- ValueMap
Enums
- AccountOnFileAttributeStatus
- Enum containing all the possible statuses for a AccountOnFileAttribute.
- FormElementType
- Enum containing all the possible types how a PaymentProductField can be presented.
- IinStatus
- Enum containing all the possible statuses of a IinDetailsResponse.
- MobileIntegrationLevel
- MustWriteReason
- PaymentProductFieldDisplayElementType
- PaymentProductFieldType
- Enum containing all the possible PaymentProductField types.
- PreferredInputType
- Enum containing all the possible keyboard types required to fill in a value of a PaymentProductField.
- SdkInitializationStatus
- Enum with the different initialization states of the Connect SDK.
- ThirdPartyStatus
- Enum containing all the possible statuses of a ThirdPartyStatusResponse.
- ValidationType
- Enum containing all possible ValidationRule types.
Extensions
- AccountOnFileAttributeStatusX on AccountOnFileAttributeStatus
- Extension that returns whether an AccountOnFileAttribute can be edited based on its AccountOnFileAttributeStatus.
- SdkInitializationStatusX on SdkInitializationStatus
Functions
-
validationRuleFromJson(
dynamic json) → ValidationRule?
Exceptions / Errors
- ClientApiException
- Exception that gets thrown when trying to access the ClientApi before initialization of the ConnectSDK.
- ConnectSDKException
- Exception that gets thrown when trying to access the PaymentConfiguration or the ConnectSDKConfiguration before initialization of the ConnectSDK.