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.
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.
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.
Indicates that the payment session has been 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.
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.
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.
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.
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.
Indicates that the payment session has been 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.
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.