Releases: Worldline-Global-Collect/connect-sdk-java
Releases · Worldline-Global-Collect/connect-sdk-java
7.2.0
- Added:
- Added property
dateOfIncorporation
to classCompanyInformation
. - Added property
paymentCode
to classOrderTypeInformation
.
- Added property
- Removed:
- Removed property
paymentProduct816SpecificInput
of classRedirectPaymentMethodSpecificInput
, as this property is no longer supported by the REST API.
- Removed property
7.1.0
- Added:
- Added property
networkTokenUsed
to classCardPaymentMethodSpecificOutput
. - Added property
naicsCommodityCode
to classOrderLineDetails
. - Added property
shippedFromZip
to classShipping
.
- Added property
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, the SDK has been restructured to better support future improvements like multiple API versions and different authentication mechanisms. You can use the migration guide to upgrade from the previous version. Previous versions and release notes of this SDK can be found here.
The following is an overview of changes:
- Added:
- Added
createCommunicator
andcreateClient
methods to classFactory
that take all arguments required to create aCommunicator
except for theMarshaller
.
- Added
- Changed:
- Changed the minimum Java version from Java 6 to Java 8.
- Changed the Maven groupId to
com.worldline.connect
. - Defined automatic module name
com.worldline.connect.sdk.java
. - Renamed all packages, and moved classes and interfaces between packages. Each API version now has its own package structure that contains all classes specific for that version, including classes like
APIError
, exceptions and webhooks classes. - Made the integrator required.
- Moved method
merchant
from classClient
to new classV1Client
. Instances of this class are available through methodv1
of classClient
. - Moved methods
createHelper
andcreateHelperBuilder
from classWebhooks
to new classV1WebhooksFactory
. Instances of this class are available through methodv1
of classWebhooks
. - Replaced properties
apiKeyId
andsecretApiKey
of classCommunicatorConfiguration
with more generic propertiesauthorizationId
andauthorizationSecret
. The existing getters and setters remain as aliases though. - Renamed class
GlobalCollectException
toPlatformException
. - Renamed method
createSimpleAuthenticationSignature
of interfaceAuthenticator
togetAuthorization
. - Renamed class
DefaultAuthenticator
toV1HMACAuthenticator
. - Renamed class
MetaDataProvider
, itsgetServerMetaDataHeaders
method and classMetaDataProviderBuilder
toMetadataProvider
,getServerMetadataHeaders
andMetadataProviderBuilder
respectively. - Interface
Connection
now extends interfaceObfuscationCapable
. - Integrated class
Session
into classCommunicator
. - Replaced class
SessionBuilder
with classCommunicatorBuilder
, and thecreateSessionBuilder
methods of classFactory
withcreateCommunicatorBuilder
methods. - Made methods
getHeaderDateString
,updateContext
andthrowExceptionIfNecessary
of classCommunicator
static. - Method
getClientHeaders
of classApiResource
now returns an empty list if no client meta info is configured.
- Removed:
- Removed constant
API_VERSION
of classClient
. - Removed method
createException
of classApiResource
in favor of separateExceptionFactory
classes per API version. - Removed class
Session
. - Removed
createCommunicator
andcreateClient
methods of classFactory
that had a parameter of typeSession
. - Removed parameter
authorizationType
from theV1HMACAuthenticator
constructor, as its value should always beV1HMAC
. - Removed the protected
validate
methods of classWebhooksHelper
. - Removed previously deprecated class
LoggingUtil
. - Removed previously deprecated constructors of classes
LogMessageBuilder
,RequestLogMessageBuilder
andResponseLogMessageBuilder
.
- Removed constant