Skip to content

Releases: Worldline-Global-Collect/connect-sdk-java

7.2.0

31 Oct 12:42
Compare
Choose a tag to compare
  • Added:
    • Added property dateOfIncorporation to class CompanyInformation.
    • Added property paymentCode to class OrderTypeInformation.
  • Removed:
    • Removed property paymentProduct816SpecificInput of class RedirectPaymentMethodSpecificInput, as this property is no longer supported by the REST API.

7.1.0

04 Jun 07:29
Compare
Choose a tag to compare
  • Added:
    • Added property networkTokenUsed to class CardPaymentMethodSpecificOutput.
    • Added property naicsCommodityCode to class OrderLineDetails.
    • Added property shippedFromZip to class Shipping.

7.0.0

19 Mar 08:27
Compare
Choose a tag to compare

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 and createClient methods to class Factory that take all arguments required to create a Communicator except for the Marshaller.
  • 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 class Client to new class V1Client. Instances of this class are available through method v1 of class Client.
    • Moved methods createHelper and createHelperBuilder from class Webhooks to new class V1WebhooksFactory. Instances of this class are available through method v1 of class Webhooks.
    • Replaced properties apiKeyId and secretApiKey of class CommunicatorConfiguration with more generic properties authorizationId and authorizationSecret. The existing getters and setters remain as aliases though.
    • Renamed class GlobalCollectException to PlatformException.
    • Renamed method createSimpleAuthenticationSignature of interface Authenticator to getAuthorization.
    • Renamed class DefaultAuthenticator to V1HMACAuthenticator.
    • Renamed class MetaDataProvider, its getServerMetaDataHeaders method and class MetaDataProviderBuilder to MetadataProvider, getServerMetadataHeaders and MetadataProviderBuilder respectively.
    • Interface Connection now extends interface ObfuscationCapable.
    • Integrated class Session into class Communicator.
    • Replaced class SessionBuilder with class CommunicatorBuilder, and the createSessionBuilder methods of class Factory with createCommunicatorBuilder methods.
    • Made methods getHeaderDateString, updateContext and throwExceptionIfNecessary of class Communicator static.
    • Method getClientHeaders of class ApiResource now returns an empty list if no client meta info is configured.
  • Removed:
    • Removed constant API_VERSION of class Client.
    • Removed method createException of class ApiResource in favor of separate ExceptionFactory classes per API version.
    • Removed class Session.
    • Removed createCommunicator and createClient methods of class Factory that had a parameter of type Session.
    • Removed parameter authorizationType from the V1HMACAuthenticator constructor, as its value should always be V1HMAC.
    • Removed the protected validate methods of class WebhooksHelper.
    • Removed previously deprecated class LoggingUtil.
    • Removed previously deprecated constructors of classes LogMessageBuilder, RequestLogMessageBuilder and ResponseLogMessageBuilder.