Releases: Worldline-Global-Collect/connect-sdk-client-swift
Releases · Worldline-Global-Collect/connect-sdk-client-swift
6.1.3
6.1.2
Updated:
- Updated dependencies
6.1.1
Added:
- Added an
isInstallments
property toPaymentContext
. The 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.
Updated:
- Updated the
PaymentContext
constructor to include anisInstallments
parameter. This parameter is optional and it isfalse
by default. The constructor now looks likePaymentContext(PaymentAmountOfMoney, Bool, String, Bool?)
.
6.1.0
Added:
- Added a Data Collection Privacy Manifest.
- Added support for Swift Package Manager. Follow the steps in the
README
to include the package via SPM. - Added AliPay+ logo.
- Added AliPay+ translations.
Fixed:
- Fixed an issue where some request URLs had an additional “/”.
Updated:
- Renamed all translations files to
WCSDKLocalizable.strings
. - Changed the value of
kSDKLocalizable
inSDKConstants
to “WCSDKLocalizable”. - The SDK now uses SPM dependencies instead of Carthage dependencies.
- Updated Trustly logo to its latest version.
6.0.1
Fixed
- Fixed an issue where the collected metadata did not properly identify the SDK in case of the Flutter SDK.
6.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:
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