6.0.0
·
1 commit
to master
since this release
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:
isEditingAllowed()
function toAccountOnFileAttribute
. Use this function to check if theAccountOnFileAttribute
can be edited or not- The method
privacyPolicy
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
Fixed:
- Fixed an issue where using an Account on File without modifying values returned validation errors
displayHints
property inPaymentProductField
is now of typePaymentProductFieldDisplayHints?
image
of aTooltip
is now set, previously it was nil unless it was the firstPaymentProductField
of the list.
Changed:
- Renamed pod from
IngenicoConnectKit
toWorldlineConnectKit
- Updated the project structure of the SDK
countryCode
property inPaymentContext
is now of typeString
countryCode
property inIINDetailsResponse
is now of typeString?
currencyCode
property inPaymentAmountOfMoney
is now of typeString
Deprecated:
countryCodeString
property inPaymentContext
has been deprecated. UsecountryCode
insteadcountryCodeString
property inIINDetailsResponse
has been deprecated. UsecountryCode
insteadcurrencyCodeString
property inPaymentAmountOfMoney
has been deprecated. UsecurrencyCode
instead
Removed:
Region
,Environment
,CurrencyCode
andCountryCode
enums have been removedSession(String, String, Region, Environment, String, Bool)
has been removed. This class should not be used, useConnectSDK
andClientApi
insteadconvert(Int, CurrencyCode, CurrencyCode, (Int) -> Void, (Error) -> Void)
anddirectory(String, CountryCode, CurrencyCode, (DirectoryEntries) -> Void, (Error) -> Void)
inSession
have been removed. This class should not be used, useConnectSDK
andClientApi
insteadisEnvironmentTypeProduction
property inSession
has been removed. This class should not be used, useConnectSDK
andClientApi
instead- Properties
region
,environment
andisEnvironmentTypeProduction
inC2SCommunicator
have been removed. This class should not be used, useConnectSDK
andClientApi
instead C2SCommunicator(String, String, Region, Environment, String, Util?, Bool)
andC2SCommunicator(String, String, Region, Environment, String, String?, Util?, Bool)
have been removed. This class should not be used, useConnectSDK
andClientApi
insteadC2SBaseURL(Region, Environment)
andassetsBaseURL(Region, Environment)
inUtil
have been removed. This class should not be usedPaymentContext(PaymentAmountOfMoney, Bool, CountryCode)
has been removedIINDetailsResponse(String, IINStatus, [IINDetail], CountryCode, Bool)
has been removedPaymentAmountOfMoney(Int, CurrencyCode)
has been removed