This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
Releases: Ingenico-ePayments/connect-sdk-java
Releases · Ingenico-ePayments/connect-sdk-java
5.0.0
- Removed:
- Removed support for payment product 707, including classes
NonSepaDirectDebitPaymentProduct707SpecificInput
andTokenNonSepaDirectDebitPaymentProduct707SpecificData
.
- Removed support for payment product 707, including classes
4.0.0
- Added:
- Added property
paymentProductFilters
to classesHostedCheckoutSpecificInput
andSessionRequest
to support improved filtering of payment products. - Added property
invalidTokens
to classCreateHostedCheckoutResponse
. - Added property
isRefundable
to classPaymentStatusOutput
- Added property
id
to classTokenResponse
- Added support for connection pool management through interface
PooledConnection
and methodscloseExpiredConnections
andcloseIdleConnections
of classesClient
andCommunicator
- Added methods
withAPIEndpoint
,withConnection
,withAuthenticator
andwithMetaDataProvider
to classSessionBuilder
to replace theusing
methods. - Added class
MetaDataProviderBuilder
to help buildMetaDataProvider
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
andconnect.api.shoppingCartExtension.version
. - Added methods
getIntegrator
,setIntegrator
,withIntegrator
,getShoppingCartExtension
,setShoppingCartExtension
andwithShoppingCartExtension
to classCommunicatorConfiguration
. - Added a constructor that takes a single integrator String argument to class
MetaDataProvider
.
- Added class
- Added property
- Changed:
- Changed
gcs
prefix of properties toconnect
(e.g.gcs.api.endpoint.host
toconnect.api.endpoint.host
) - Renamed all packages:
com.globalcollect.gateway.sdk.java
tocom.ingenico.connect.gateway.sdk.java
com.globalcollect.gateway.sdk.java.defaultimpl
tocom.ingenico.connect.gateway.sdk.java.defaultimpl
com.globalcollect.gateway.sdk.java.gc.errors
tocom.ingenico.connect.gateway.sdk.java.domain.errors
com.globalcollect.gateway.sdk.java.gc.errors.definitions
tocom.ingenico.connect.gateway.sdk.java.domain.errors.definitions
com.globalcollect.gateway.sdk.java.gc.fei.definitions
tocom.ingenico.connect.gateway.sdk.java.domain.definitions
com.globalcollect.gateway.sdk.java.gc.hostedcheckout
tocom.ingenico.connect.gateway.sdk.java.domain.hostedcheckout
com.globalcollect.gateway.sdk.java.gc.hostedcheckout.definitions
tocom.ingenico.connect.gateway.sdk.java.domain.hostedcheckout.definitions
com.globalcollect.gateway.sdk.java.gc.merchant
tocom.ingenico.connect.gateway.sdk.java.merchant
com.globalcollect.gateway.sdk.java.gc.merchant.hostedcheckouts
tocom.ingenico.connect.gateway.sdk.java.merchant.hostedcheckouts
com.globalcollect.gateway.sdk.java.gc.merchant.payments
tocom.ingenico.connect.gateway.sdk.java.merchant.payments
com.globalcollect.gateway.sdk.java.gc.merchant.payouts
tocom.ingenico.connect.gateway.sdk.java.merchant.payouts
com.globalcollect.gateway.sdk.java.gc.merchant.productgroups
tocom.ingenico.connect.gateway.sdk.java.merchant.productgroups
com.globalcollect.gateway.sdk.java.gc.merchant.products
tocom.ingenico.connect.gateway.sdk.java.merchant.products
com.globalcollect.gateway.sdk.java.gc.merchant.refunds
tocom.ingenico.connect.gateway.sdk.java.merchant.refunds
com.globalcollect.gateway.sdk.java.gc.merchant.riskassessments
tocom.ingenico.connect.gateway.sdk.java.merchant.riskassessments
com.globalcollect.gateway.sdk.java.gc.merchant.services
tocom.ingenico.connect.gateway.sdk.java.merchant.services
com.globalcollect.gateway.sdk.java.gc.merchant.sessions
tocom.ingenico.connect.gateway.sdk.java.merchant.sessions
com.globalcollect.gateway.sdk.java.gc.merchant.tokens
tocom.ingenico.connect.gateway.sdk.java.merchant.tokens
com.globalcollect.gateway.sdk.java.gc.payment
tocom.ingenico.connect.gateway.sdk.java.domain.payment
com.globalcollect.gateway.sdk.java.gc.payment.definitions
tocom.ingenico.connect.gateway.sdk.java.domain.payment.definitions
com.globalcollect.gateway.sdk.java.gc.payout
tocom.ingenico.connect.gateway.sdk.java.domain.payout
com.globalcollect.gateway.sdk.java.gc.payout.definitions
tocom.ingenico.connect.gateway.sdk.java.domain.payout.definitions
com.globalcollect.gateway.sdk.java.gc.product
tocom.ingenico.connect.gateway.sdk.java.domain.product
com.globalcollect.gateway.sdk.java.gc.product.definitions
tocom.ingenico.connect.gateway.sdk.java.domain.product.definitions
com.globalcollect.gateway.sdk.java.gc.refund
tocom.ingenico.connect.gateway.sdk.java.domain.refund
com.globalcollect.gateway.sdk.java.gc.refund.definitions
tocom.ingenico.connect.gateway.sdk.java.domain.refund.definitions
com.globalcollect.gateway.sdk.java.gc.riskassessment
tocom.ingenico.connect.gateway.sdk.java.domain.riskassessment
com.globalcollect.gateway.sdk.java.gc.riskassessment.definitions
tocom.ingenico.connect.gateway.sdk.java.domain.riskassessment.definitions
com.globalcollect.gateway.sdk.java.gc.services
tocom.ingenico.connect.gateway.sdk.java.domain.services
com.globalcollect.gateway.sdk.java.gc.services.definitions
tocom.ingenico.connect.gateway.sdk.java.domain.services.definitions
com.globalcollect.gateway.sdk.java.gc.sessions
tocom.ingenico.connect.gateway.sdk.java.domain.sessions
com.globalcollect.gateway.sdk.java.gc.token
tocom.ingenico.connect.gateway.sdk.java.domain.token
com.globalcollect.gateway.sdk.java.gc.token.definitions
tocom.ingenico.connect.gateway.sdk.java.domain.token.definitions
com.globalcollect.gateway.sdk.java.logging
tocom.ingenico.connect.gateway.sdk.java.logging
- Merged several interfaces and their default implementations:
GcCommunicator
andDefaultGcCommunicator
GcMetaDataProvider
andDefaultGcMetaDataProvider
GcSession
andDefaultGcSession
GcSessionBuilder
andDefaultGcSessionBuilder
GcClient
andGcClientImpl
MerchantClient
andMerchantClientImpl
HostedcheckoutsClient
andHostedcheckoutsClientImpl
PaymentsClient
andPaymentsClientImpl
PayoutsClient
andPayoutsClientImpl
ProductgroupsClient
andProductgroupsClientImpl
ProductsClient
andProductsClientImpl
RefundsClient
andRefundsClientImpl
RiskassessmentsClient
andRiskassessmentsClientImpl
ServicesClient
andServicesClientImpl
SessionsClient
andSessionsClientImpl
TokensClient
andTokensClientImpl
- Renamed several classes and interfaces:
AbstractGcParamRequest
toAbstractParamRequest
GcApiException
toApiException
GcApiResource
toApiResource
GcAuthenticator
toAuthenticator
GcAuthorizationException
toAuthorizationException
GcClient
toClient
GcCommunicationException
toCommunicationException
GcCommunicator
toCommunicator
GcCommunicatorLogger
toCommunicatorLogger
GcConnection
toConnection
GcDeclinedPaymentException
toDeclinedPaymentException
GcDeclinedPayoutException
toDeclinedPayoutException
GcDeclinedRefundException
toDeclinedRefundException
GcDeclinedTransactionException
toDeclinedTransactionException
GcDefaultConfiguration
toCommunicatorConfiguration
GcFactory
toFactory
GcIdempotenceException
toIdempotenceException
GcMarshaller
toMarshaller
GcMarshallerSyntaxException
toMarshallerSyntaxException
GcMetaDataProvider
toMetaDataProvider
GcNotFoundException
toNotFoundException
GcParamRequest
toParamRequest
GcProxyConfiguration
toProxyConfiguration
GcReferenceException
toReferenceException
GcResponse
toResponse
GcResponseException
toResponseException
GcSession
toSession
GcSessionBuilder
toSessionBuilder
GcValidationException
toValidationException
DefaultGcAuthenticator
toDefaultAuthenticator
DefaultGcConnection
toDefaultConnection
DefaultGcMarshaller
toDefaultMarshaller
- Renamed
ParamRequest
implementations to avoid duplicate class names:FindParams
in packagecom.ingenico.connect.gateway.sdk.java.merchant.products
toFindProductsParams
FindParams
in packagecom.ingenico.connect.gateway.sdk.java.merchant.productgroups
toFindProductgroupsParams
GetParams
in packagecom.ingenico.connect.gateway.sdk.java.merchant.products
toGetProductParams
GetParams
in packagecom.ingenico.connect.gateway.sdk.java.merchant.productgroups
toGetProductgroupParams
DeleteParams
in packagecom.ingenico.connect.gateway.sdk.java.merchant.tokens
toDeleteTokenParams
- Made methods
getServerMetaDataHeaders
,getPlatformIdentifier
andgetSdkIdentifier
of classMetaDataProvider
final, to ensure a correctly formattedX-GCS-ServerMetaInfo
header is sent to the server. - Generated classes that implemented
ParamRequest
now extendAbstractParamRequest
. AbstractParamRequest.addParameter
also supportsInteger
andBoolean
values, as well as collections ofString
,Integer
,Long
andBoolean
.
- Changed
- Deprecated:
- Deprecated the non-argument constructor of class
MetaDataProvider
. - Deprecated the
using
methods of classSessionBuilder
in favor of new methodswithAPIEndpoint
,withConnection
,withAuthenticator
andwithMetaDataProvider
.
- Deprecated the non-argument constructor of class
- Removed:
- Removed support for previously deprecated property
gcs.api.baseUri
. - Removed the
unmarshal
method of classMarshaller
that took a status code and URI, as theCommunicator
has taken over this logic.
- Removed support for previously deprecated property
3.0.0
- Added:
- Added field
statusCategory
toOrderStatusOutput
. - Added fields
paymentMethod
andpaymentProductGroup
toPaymentProduct
. - Added support for logging requests and responses through interfaces
LoggingCapable
andGcCommunicatorLogger
. - 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
andIINDetail
to support limiting IIN lookup results based on payment contexts. This adds support for cobrands. - Added optional field
externalCardholderAuthenticationData
toCardPaymentMethodSpecificInput
to allow sending of 3D secure fields.
- Added field
- Changed :
- Changed how the base URI is setup and used :
- Removed the
baseUri
property of classGcDefaultConnection
in favor of new propertyapiEndpoint
. This will not contain a path, but only a scheme, hostname and port. - Added method
getApiEndpoint()
to interfaceGcSession
. - Added a method to
GcSessionBuilder
to set the API endpoint. - Removed
GcConnection.toURI
, and moved its logic toDefaultGcCommunicator
. - Removed the
baseUri
property from classDefaultGcConnection
.
- Removed the
- Renamed class
BINLookupRequest
toGetIINDetailsRequest
. - Renamed class
BINLookupResponse
toGetIINDetaulsResponse
. - Field
hide
for the payment productFindParams
andGetParams
classes is now aList
, to support multiple values. - The directory method has moved from interface
PaymentProductClient
toProductsClient
. - Moved class
DirectoryParams
to packagecom.globalcollect.gateway.sdk.java.gc.merchant.products
. - Interfaces
GcClient
,GcCommunicator
andGcConnection
extendLoggingCapable
.
- Changed how the base URI is setup and used :
- Deprecated :
- Deprecated property
gcs.api.baseUri
in favor of new propertiesgcs.api.endpoint.host
,gcs.api.endpoint.scheme
andgcs.api.endpoint.port
. The scheme and port default to https and -1 respectively.
- Deprecated property
- Removed :
- Removed interface
PaymentProductClient
.
- Removed interface
- Fixed :
- Fixed handling of multi-line headers.
2.0.0
- Added:
- An
httpStatusCode
field is added to error objects. - Added class
CallContext
to support idempotent requests and possible other future functionality. - Added classes
GcResponse
andResponseHeader
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
andGcProxyConfiguration
to support fluent programming. - Added methods to
GcResponseException
to retrieve response headers.
- An
- Changed:
- Updated to version 4.5.2 of HttpClient.
GcApiResource.createException
takes an extraCallContext
argument and can return aGcIdempotenceException
.GcCommunicator
methods take an extraCallContext
argument.GcConnection
methods take an absolute URI that includes query parameters instead of a relative URI plus separate query parameters.GcConnection
methods return aGcResponse
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
andDefaultGcCommunicator
to handle the changes toGcConnection
andGcCommunicator
. GcResponseException
's single constructor takes aGcResponse
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
- 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
First public release