Releases: Worldline-Global-Collect/connect-sdk-client-android
Releases · Worldline-Global-Collect/connect-sdk-client-android
7.0.3
Added:
- Added a property
isInstallments
and a corresponding getter and setter toPaymentContext
. This value isfalse
by default and will be used during an IIN Details call. The property is used to determine the availability of credit cards for payments that will be made in installments. - Added a new constructor to
PaymentContext
that includes theisInstallments
value.PaymentContext(AmountOfMoney, String, boolean, Locale, boolean)
. If another constructor is used, this property will be initialized asfalse
.
Updated:
- Updated dependencies.
7.0.2
Updated:
- Updated dependencies.
7.0.1
Fixed
- Fixed an issue where the collected metadata did not properly identify the SDK in case of the Flutter SDK.
7.0.0
This SDK is a rebranded and updated version of the SDK that was previously published under the Ingenico name. Next to renaming to Worldline, most deprecations have been removed. Please have a look at the release notes below to see what has changed and use the migration guide to upgrade from the previous version in a few easy steps. Previous versions and release notes of this SDK can be found here.
An overview of the changes:
Added:
- The function
getPrivacyPolicy
was added to theClientApi
to retrieve the policy for apaymentProductId
and/orlocale
. Providing nopaymentProductId
will retrieve all available payment product policies. Providing nolocale
will return the default 'en_US' locale.
Changed:
- Renamed all packages from
com.ingenico.connect.gateway
tocom.worldline.connect
. - Some packages have been moved in the SDK, please check the Migration Guide to see to which package they were moved to.
Fixed:
displayHints
ofPaymentProductField
is now null by default instead of an empty object.
Deprecated:
- The
applyMask(String, String, Integer)
function inPaymentProductField
because it uses a currently deprecated function in theStringFormatter
. PaymentItemCacheKey
class, since it is no longer used.Size
class, since it is no longer used.GooglePayUtil
class, since it will become internal to the SDK.
Removed:
- Removed public access to the following previous deprecated classes:
EncryptData
,EncryptUtil
andEncryptor
- Removed previously deprecated classes used for image storing:
AssetManager
,CacheHandler
,Preferences
,ReadInternalStorage
and
WriteInternalStorage
- Removed previously deprecated exceptions:
BadPaymentItemException
,CommunicationException
andUnknownNetworkException
- Removed previously deprecated classes of previous SDK architecture:
C2SCommunicator
,C2SCommunicatorConfiguration
,Session
andSessionEncryptionHelper
- Removed previously deprecated AsyncTask classes:
BasicPaymentItemsAsyncTask
,BasicPaymentProductGroupsAsyncTask
,
BasicPaymentProductsAsyncTask
,ConvertAmountAsyncTask
,CustomerDetailsAsyncTask
,IinLookupAsyncTask
,
LoadImageAsyncTask
,PaymentProductAsyncTask
,PaymentProductDirectoryAsyncTask
,PaymentProductGroupAsyncTask
,
PublicKeyAsyncTask
andThirdPartyStatusAsyncTask
- Removed previously deprecated class
PreparedPaymentRequest
- Removed previously deprecated class
TLSSocketFactory
- Removed previously deprecated class
Util
- Removed previously deprecated function
isGooglePayAllowed()
inGooglePayUtil
class - Removed previously deprecated function
getImage()
inTooltip
class - Removed the following previously deprecated constants from
Constants
:ACCEPTABLE_WAIT_TIME_IN_MILISECONDS
,
DIRECTORY_IINRESPONSES
,DIRECTORY_LOGOS
,ENABLE_REQUEST_LOGGING
,FILENAME_IINRESPONSE_CACHE
,
FILENAME_LOGO_PREFIX
,GC_GATEWAY_RETRIEVE_PAYMENTPRODUCTS_PATH
,GC_GATEWAY_RETRIEVE_PAYMENTPRODUCT_PATH
,
GC_GATEWAY_RETRIEVE_PAYMENTPRODUCT_DIRECTORY_PATH
,GC_GATEWAY_RETRIEVE_PAYMENTPRODUCT_NETWORKS_PATH
,
GC_GATEWAY_RETRIEVE_PAYMENTPRODUCTGROUPS_PATH
,GC_GATEWAY_RETRIEVE_PAYMENTPRODUCTGROUP_PATH
,
GC_GATEWAY_CONVERT_AMOUNT_PATH
,GC_GATEWAY_IIN_LOOKUP_PATH
,GC_GATEWAY_PUBLIC_KEY_PATH
,
GC_GATEWAY_THIRDPARTYSTATUS_PATH
,INSTALLMENTPLAN_FIELD_ID
,PAYMENTPRODUCTID_BCMC
,
PAYMENTPRODUCTID_AFTERPAY_INSTALLMENTS
,PAYMENTPRODUCTID_AFTERPAY_INVOICE
,PREFERENCES_NAME
,
PREFERENCES_LOGO_MAP
andTERMSANDCONDITIONS_FIELD_ID