Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Releases: Ingenico-ePayments/connect-sdk-java

5.0.0

17 Nov 16:28
Compare
Choose a tag to compare
  • Removed:
    • Removed support for payment product 707, including classes NonSepaDirectDebitPaymentProduct707SpecificInput and TokenNonSepaDirectDebitPaymentProduct707SpecificData.

4.0.0

05 Oct 10:25
Compare
Choose a tag to compare
  • Added:
    • Added property paymentProductFilters to classes HostedCheckoutSpecificInput and SessionRequest to support improved filtering of payment products.
    • Added property invalidTokens to class CreateHostedCheckoutResponse.
    • Added property isRefundable to class PaymentStatusOutput
    • Added property id to class TokenResponse
    • Added support for connection pool management through interface PooledConnection and methods closeExpiredConnections and closeIdleConnections of classes Client and Communicator
    • Added methods withAPIEndpoint, withConnection, withAuthenticator and withMetaDataProvider to class SessionBuilder to replace the using methods.
    • Added class MetaDataProviderBuilder to help build MetaDataProvider objects with additional request headers.
    • Added support for more server meta info:
      • Added class ShoppingCartExtension.
      • Added properties connect.api.integrator, connect.api.shoppingCartExtension.creator, connect.api.shoppingCartExtension.name and connect.api.shoppingCartExtension.version.
      • Added methods getIntegrator, setIntegrator, withIntegrator, getShoppingCartExtension, setShoppingCartExtension and withShoppingCartExtension to class CommunicatorConfiguration.
      • Added a constructor that takes a single integrator String argument to class MetaDataProvider.
  • Changed:
    • Changed gcs prefix of properties to connect (e.g. gcs.api.endpoint.host to connect.api.endpoint.host)
    • Renamed all packages:
      • com.globalcollect.gateway.sdk.java to com.ingenico.connect.gateway.sdk.java
      • com.globalcollect.gateway.sdk.java.defaultimpl to com.ingenico.connect.gateway.sdk.java.defaultimpl
      • com.globalcollect.gateway.sdk.java.gc.errors to com.ingenico.connect.gateway.sdk.java.domain.errors
      • com.globalcollect.gateway.sdk.java.gc.errors.definitions to com.ingenico.connect.gateway.sdk.java.domain.errors.definitions
      • com.globalcollect.gateway.sdk.java.gc.fei.definitions to com.ingenico.connect.gateway.sdk.java.domain.definitions
      • com.globalcollect.gateway.sdk.java.gc.hostedcheckout to com.ingenico.connect.gateway.sdk.java.domain.hostedcheckout
      • com.globalcollect.gateway.sdk.java.gc.hostedcheckout.definitions to com.ingenico.connect.gateway.sdk.java.domain.hostedcheckout.definitions
      • com.globalcollect.gateway.sdk.java.gc.merchant to com.ingenico.connect.gateway.sdk.java.merchant
      • com.globalcollect.gateway.sdk.java.gc.merchant.hostedcheckouts to com.ingenico.connect.gateway.sdk.java.merchant.hostedcheckouts
      • com.globalcollect.gateway.sdk.java.gc.merchant.payments to com.ingenico.connect.gateway.sdk.java.merchant.payments
      • com.globalcollect.gateway.sdk.java.gc.merchant.payouts to com.ingenico.connect.gateway.sdk.java.merchant.payouts
      • com.globalcollect.gateway.sdk.java.gc.merchant.productgroups to com.ingenico.connect.gateway.sdk.java.merchant.productgroups
      • com.globalcollect.gateway.sdk.java.gc.merchant.products to com.ingenico.connect.gateway.sdk.java.merchant.products
      • com.globalcollect.gateway.sdk.java.gc.merchant.refunds to com.ingenico.connect.gateway.sdk.java.merchant.refunds
      • com.globalcollect.gateway.sdk.java.gc.merchant.riskassessments to com.ingenico.connect.gateway.sdk.java.merchant.riskassessments
      • com.globalcollect.gateway.sdk.java.gc.merchant.services to com.ingenico.connect.gateway.sdk.java.merchant.services
      • com.globalcollect.gateway.sdk.java.gc.merchant.sessions to com.ingenico.connect.gateway.sdk.java.merchant.sessions
      • com.globalcollect.gateway.sdk.java.gc.merchant.tokens to com.ingenico.connect.gateway.sdk.java.merchant.tokens
      • com.globalcollect.gateway.sdk.java.gc.payment to com.ingenico.connect.gateway.sdk.java.domain.payment
      • com.globalcollect.gateway.sdk.java.gc.payment.definitions to com.ingenico.connect.gateway.sdk.java.domain.payment.definitions
      • com.globalcollect.gateway.sdk.java.gc.payout to com.ingenico.connect.gateway.sdk.java.domain.payout
      • com.globalcollect.gateway.sdk.java.gc.payout.definitions to com.ingenico.connect.gateway.sdk.java.domain.payout.definitions
      • com.globalcollect.gateway.sdk.java.gc.product to com.ingenico.connect.gateway.sdk.java.domain.product
      • com.globalcollect.gateway.sdk.java.gc.product.definitions to com.ingenico.connect.gateway.sdk.java.domain.product.definitions
      • com.globalcollect.gateway.sdk.java.gc.refund to com.ingenico.connect.gateway.sdk.java.domain.refund
      • com.globalcollect.gateway.sdk.java.gc.refund.definitions to com.ingenico.connect.gateway.sdk.java.domain.refund.definitions
      • com.globalcollect.gateway.sdk.java.gc.riskassessment to com.ingenico.connect.gateway.sdk.java.domain.riskassessment
      • com.globalcollect.gateway.sdk.java.gc.riskassessment.definitions to com.ingenico.connect.gateway.sdk.java.domain.riskassessment.definitions
      • com.globalcollect.gateway.sdk.java.gc.services to com.ingenico.connect.gateway.sdk.java.domain.services
      • com.globalcollect.gateway.sdk.java.gc.services.definitions to com.ingenico.connect.gateway.sdk.java.domain.services.definitions
      • com.globalcollect.gateway.sdk.java.gc.sessions to com.ingenico.connect.gateway.sdk.java.domain.sessions
      • com.globalcollect.gateway.sdk.java.gc.token to com.ingenico.connect.gateway.sdk.java.domain.token
      • com.globalcollect.gateway.sdk.java.gc.token.definitions to com.ingenico.connect.gateway.sdk.java.domain.token.definitions
      • com.globalcollect.gateway.sdk.java.logging to com.ingenico.connect.gateway.sdk.java.logging
    • Merged several interfaces and their default implementations:
      • GcCommunicator and DefaultGcCommunicator
      • GcMetaDataProvider and DefaultGcMetaDataProvider
      • GcSession and DefaultGcSession
      • GcSessionBuilder and DefaultGcSessionBuilder
      • GcClient and GcClientImpl
      • MerchantClient and MerchantClientImpl
      • HostedcheckoutsClient and HostedcheckoutsClientImpl
      • PaymentsClient and PaymentsClientImpl
      • PayoutsClient and PayoutsClientImpl
      • ProductgroupsClient and ProductgroupsClientImpl
      • ProductsClient and ProductsClientImpl
      • RefundsClient and RefundsClientImpl
      • RiskassessmentsClient and RiskassessmentsClientImpl
      • ServicesClient and ServicesClientImpl
      • SessionsClient and SessionsClientImpl
      • TokensClient and TokensClientImpl
    • Renamed several classes and interfaces:
      • AbstractGcParamRequest to AbstractParamRequest
      • GcApiException to ApiException
      • GcApiResource to ApiResource
      • GcAuthenticator to Authenticator
      • GcAuthorizationException to AuthorizationException
      • GcClient to Client
      • GcCommunicationException to CommunicationException
      • GcCommunicator to Communicator
      • GcCommunicatorLogger to CommunicatorLogger
      • GcConnection to Connection
      • GcDeclinedPaymentException to DeclinedPaymentException
      • GcDeclinedPayoutException to DeclinedPayoutException
      • GcDeclinedRefundException to DeclinedRefundException
      • GcDeclinedTransactionException to DeclinedTransactionException
      • GcDefaultConfiguration to CommunicatorConfiguration
      • GcFactory to Factory
      • GcIdempotenceException to IdempotenceException
      • GcMarshaller to Marshaller
      • GcMarshallerSyntaxException to MarshallerSyntaxException
      • GcMetaDataProvider to MetaDataProvider
      • GcNotFoundException to NotFoundException
      • GcParamRequest to ParamRequest
      • GcProxyConfiguration to ProxyConfiguration
      • GcReferenceException to ReferenceException
      • GcResponse to Response
      • GcResponseException to ResponseException
      • GcSession to Session
      • GcSessionBuilder to SessionBuilder
      • GcValidationException to ValidationException
      • DefaultGcAuthenticator to DefaultAuthenticator
      • DefaultGcConnection to DefaultConnection
      • DefaultGcMarshaller to DefaultMarshaller
    • Renamed ParamRequest implementations to avoid duplicate class names:
      • FindParams in package com.ingenico.connect.gateway.sdk.java.merchant.products to FindProductsParams
      • FindParams in package com.ingenico.connect.gateway.sdk.java.merchant.productgroups to FindProductgroupsParams
      • GetParams in package com.ingenico.connect.gateway.sdk.java.merchant.products to GetProductParams
      • GetParams in package com.ingenico.connect.gateway.sdk.java.merchant.productgroups to GetProductgroupParams
      • DeleteParams in package com.ingenico.connect.gateway.sdk.java.merchant.tokens to DeleteTokenParams
    • Made methods getServerMetaDataHeaders, getPlatformIdentifier and getSdkIdentifier of class MetaDataProvider final, to ensure a correctly formatted X-GCS-ServerMetaInfo header is sent to the server.
    • Generated classes that implemented ParamRequest now extend AbstractParamRequest.
    • AbstractParamRequest.addParameter also supports Integer and Boolean values, as well as collections of String, Integer, Long and Boolean.
  • Deprecated:
    • Deprecated the non-argument constructor of class MetaDataProvider.
    • Deprecated the using methods of class SessionBuilder in favor of new methods withAPIEndpoint, withConnection, withAuthenticator and withMetaDataProvider.
  • Removed:
    • Removed support for previously deprecated property gcs.api.baseUri.
    • Removed the unmarshal method of class Marshaller that took a status code and URI, as the Communicator has taken over this logic.

3.0.0

05 Aug 12:29
Compare
Choose a tag to compare
  • Added:
    • Added field statusCategory to OrderStatusOutput.
    • Added fields paymentMethod and paymentProductGroup to PaymentProduct.
    • Added support for logging requests and responses through interfaces LoggingCapable and GcCommunicatorLogger.
    • Added constant GcClient.API_VERSION that will always be the API version the SDK is built to support.
    • Added interface ProductgroupsClient to support payment groups, which can be used to group several payment products together.
    • Added classes PaymentContext and IINDetail to support limiting IIN lookup results based on payment contexts. This adds support for cobrands.
    • Added optional field externalCardholderAuthenticationData to CardPaymentMethodSpecificInput to allow sending of 3D secure fields.
  • Changed :
    • Changed how the base URI is setup and used :
      • Removed the baseUri property of class GcDefaultConnection in favor of new property apiEndpoint. This will not contain a path, but only a scheme, hostname and port.
      • Added method getApiEndpoint() to interface GcSession.
      • Added a method to GcSessionBuilder to set the API endpoint.
      • Removed GcConnection.toURI, and moved its logic to DefaultGcCommunicator.
      • Removed the baseUri property from class DefaultGcConnection.
    • Renamed class BINLookupRequest to GetIINDetailsRequest.
    • Renamed class BINLookupResponse to GetIINDetaulsResponse.
    • Field hide for the payment product FindParams and GetParams classes is now a List, to support multiple values.
    • The directory method has moved from interface PaymentProductClient to ProductsClient.
    • Moved class DirectoryParams to package com.globalcollect.gateway.sdk.java.gc.merchant.products.
    • Interfaces GcClient, GcCommunicator and GcConnection extend LoggingCapable.
  • Deprecated :
    • Deprecated property gcs.api.baseUri in favor of new properties gcs.api.endpoint.host, gcs.api.endpoint.scheme and gcs.api.endpoint.port. The scheme and port default to https and -1 respectively.
  • Removed :
    • Removed interface PaymentProductClient.
  • Fixed :
    • Fixed handling of multi-line headers.

2.0.0

01 Apr 09:51
Compare
Choose a tag to compare
  • Added:
    • An httpStatusCode field is added to error objects.
    • Added class CallContext to support idempotent requests and possible other future functionality.
    • Added classes GcResponse and ResponseHeader to support returning full responses instead of only response bodies.
    • Added exception GcIdempotenceException to indicate conflicts with idempotent requests.
    • Overloaded endpoint methods to accept a CallContext as extra argument.
    • Added methods to GcDefaultConfiguration and GcProxyConfiguration to support fluent programming.
    • Added methods to GcResponseException to retrieve response headers.
  • Changed:
    • Updated to version 4.5.2 of HttpClient.
    • GcApiResource.createException takes an extra CallContext argument and can return a GcIdempotenceException.
    • GcCommunicator methods take an extra CallContext argument.
    • GcConnection methods take an absolute URI that includes query parameters instead of a relative URI plus separate query parameters.
    • GcConnection methods return a GcResponse object instead of the body string.
    • GcConnection methods should no longer throw exceptions for non 20x or non-JSON responses, but return the response as-is.
    • Refactored DefaultGcConnection and DefaultGcCommunicator to handle the changes to GcConnection and GcCommunicator.
    • GcResponseException's single constructor takes a GcResponse instead of a status code and response body.
    • DefaultGcMetaDataProvider returns the actual SDK version as its SDK identifier.
  • Removed:
    • Removed all support for checks.
    • Removed TypeWrapper class and replaced it with class literals.

1.0.0

02 Mar 14:47
Compare
Choose a tag to compare
  • Changed the groupId and artifactId to “com.ingenico.connect.gateway:connect-sdk-java”.
  • Added more information to the POM.
  • Upgraded to Apache HttpClient 4.5.1.
  • Updated documentation.

connect-sdk-java-0.0.20

21 Jan 15:32
Compare
Choose a tag to compare

First public release