Indicates a successful creation of a payment session. It caries `clientToken` string, which is used for validation purposes and `paymentCategories` of type `KlarnaPaymentCategory`, representing the available payment options for the user.Properties
Represents a change in the view's height, which may occur when the Klarna view adjusts to display different content. The `height` parameter specifies the new height of the view.Properties
Indicates that the Klarna view has finished loading its initial content and is ready for interaction. The `view` parameter represents the klarna view.Properties
Indicates that the payment session has been successfully authorized. It carries an `authToken` string for subsequent operations that require authorization and `checkoutData` for showing the checkout results, after the merchant finishes the payment.Properties
Indicates that the payment session has been successfully finalized. It carries an `authToken` string for subsequent operations that require authorization and `checkoutData` for showing the checkout results, after the merchant finishes the payment.Properties
PrimerValidationStatus is an enum that represents the different validation statuses in the Primer SDK. It helps to communicate the state of validation for a particular process, providing clear categorization of validation states.
Enum case representing an unsuccessful validation state due to validation errors. This indicates that the validation process has completed but has found one or more errors in the data.Associated Value
Enum case representing an error state due to an unexpected issue. This indicates that an unexpected error has occurred during the validation process.Associated Value
Indicates a successful creation of a payment session. It caries `clientToken` string, which is used for validation purposes and `paymentCategories` of type `KlarnaPaymentCategory`, representing the available payment options for the user.Properties
Represents a change in the view's height, which may occur when the Klarna view adjusts to display different content. The `height` parameter specifies the new height of the view.Properties
Indicates that the Klarna view has finished loading its initial content and is ready for interaction. The `view` parameter represents the klarna view.Properties
Indicates that the payment session has been successfully authorized. It carries an `authToken` string for subsequent operations that require authorization and `checkoutData` for showing the checkout results, after the merchant finishes the payment.Properties
Indicates that the payment session has been successfully finalized. It carries an `authToken` string for subsequent operations that require authorization and `checkoutData` for showing the checkout results, after the merchant finishes the payment.Properties
Update component with collected data by passing an enum representing collectable data. This method can be called at any point, even if you have only partially collected data.
To validate the partially collected data, you can refer to the validationDelegate.
In case of KLARNA, the Data will be of type KlarnaCollectableData.