EdfaPay Logo

Deprecated APIs

A comprehensive list of deprecated methods, classes, and types in the Soft POS.

Overview

Modernization Policy

As the SDK evolves, we periodically rename or restructure APIs to improve consistency, clarity, and performance. While these deprecated items remain functional for backward compatibility, we strongly recommend migrating to the suggested replacements in your next update.

Callback Types

The following callback typealiases have been standardized with consistent naming conventions.

Deprecated ItemReplacementNotes
ProcessCompleteCallbackTransactionCompleteCallbackStandardized naming convention.
ServerCompletionCallBackServerResponseCallbackRenamed for clarity.
PluginCallBackCardProcessingCallbackClarified purpose.
TimeOutCallBackTimeoutCallbackFixed casing and standardized.
CancelByUserCallBackCancellationCallbackStandardized naming.
OnErrorCallBackErrorCallbackStandardized naming.
Loading...

Exceptions & Errors

The error handling system has moved from a mutable Error enum to a type-safe, immutable EdfaError sealed class.

EdfaException Members

Deprecated ItemReplacementNotes
EdfaException.typeEdfaException.errorThe new property returns the EdfaError sealed class.
Constructor(Error, ...)Constructor(EdfaError, ...)Transitioning to the new error model.

Error Enum (Legacy)

The entire Error enum is deprecated in favor of EdfaError. Many helper methods on this enum have also been replaced.

Deprecated ItemReplacementNotes
Error.exception()EdfaError.exception()Equivalent functionality in the new model.
Error.CUSTOM(message, ...)EdfaError.custom()Immutable replacement.
Error.CUSTOM(throwable)EdfaError.from(throwable)Enhanced error extraction.

QR Generator

The QR generation API has been overhauled to provide more flexibility and better performance using vector-based options.

Main Components

Deprecated ItemReplacementNotes
QrOptionsQrCodeDrawable / QrVectorOptionsModernized vector-based options.
QrOptions.BuilderQrVectorOptions.BuilderNew builder for vector options.
createQrOptionscreateQrVectorOptionsDSL method for vector QR codes.

Styling & Shapes

Deprecated Style Classes

QrLogoShapeQrVectorLogoShape
QrBackgroundQrVectorBackground
QrHighlightingShapeQrVectorHighlightingShape
QrLogoPaddingQrVectorLogoPadding
QrLogoQrVectorLogo
QrBallShapeQrVectorBallShape
QrFrameShapeQrVectorFrameShape
QrShapeQrVectorShape
QrOffsetQrVectorOffset
QrColorsQrVectorColors

Utilities

Deprecated ItemReplacementNotes
HttpLoggingInterceptor.levelN/AProperty access deprecated in favor of internal management.