From 0a14696522f71c976bce741b44ae399a77ce5018 Mon Sep 17 00:00:00 2001 From: Ingenico ePayments Date: Thu, 17 Nov 2016 17:27:38 +0100 Subject: [PATCH] Release 5.0.0. --- pom.xml | 2 +- ...DirectDebitPaymentMethodSpecificInput.java | 11 -- ...ctDebitPaymentProduct707SpecificInput.java | 103 ------------------ .../MandateNonSepaDirectDebit.java | 11 -- ...ectDebitPaymentProduct707SpecificData.java | 63 ----------- .../sdk/java/DeclinedRefundException.java | 2 +- .../gateway/sdk/java/MetaDataProvider.java | 2 +- .../java/defaultimpl/AuthorizationType.java | 3 +- 8 files changed, 5 insertions(+), 192 deletions(-) delete mode 100644 src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/NonSepaDirectDebitPaymentProduct707SpecificInput.java delete mode 100644 src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/token/definitions/TokenNonSepaDirectDebitPaymentProduct707SpecificData.java diff --git a/pom.xml b/pom.xml index 724efefdb..9f7d111e9 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.ingenico.connect.gateway connect-sdk-java - 4.0.0 + 5.0.0 jar connect-sdk-java diff --git a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/NonSepaDirectDebitPaymentMethodSpecificInput.java b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/NonSepaDirectDebitPaymentMethodSpecificInput.java index 3ee22309e..ed259e5ce 100644 --- a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/NonSepaDirectDebitPaymentMethodSpecificInput.java +++ b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/NonSepaDirectDebitPaymentMethodSpecificInput.java @@ -5,7 +5,6 @@ package com.ingenico.connect.gateway.sdk.java.domain.payment.definitions; import com.ingenico.connect.gateway.sdk.java.domain.payment.definitions.NonSepaDirectDebitPaymentProduct705SpecificInput; -import com.ingenico.connect.gateway.sdk.java.domain.payment.definitions.NonSepaDirectDebitPaymentProduct707SpecificInput; import com.ingenico.connect.gateway.sdk.java.domain.definitions.AbstractPaymentMethodSpecificInput; /** @@ -21,8 +20,6 @@ public class NonSepaDirectDebitPaymentMethodSpecificInput extends AbstractPaymen private NonSepaDirectDebitPaymentProduct705SpecificInput paymentProduct705SpecificInput = null; - private NonSepaDirectDebitPaymentProduct707SpecificInput paymentProduct707SpecificInput = null; - private String recurringPaymentSequenceIndicator = null; private String token = null; @@ -59,14 +56,6 @@ public void setPaymentProduct705SpecificInput(NonSepaDirectDebitPaymentProduct70 this.paymentProduct705SpecificInput = value; } - public NonSepaDirectDebitPaymentProduct707SpecificInput getPaymentProduct707SpecificInput() { - return paymentProduct707SpecificInput; - } - - public void setPaymentProduct707SpecificInput(NonSepaDirectDebitPaymentProduct707SpecificInput value) { - this.paymentProduct707SpecificInput = value; - } - public String getRecurringPaymentSequenceIndicator() { return recurringPaymentSequenceIndicator; } diff --git a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/NonSepaDirectDebitPaymentProduct707SpecificInput.java b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/NonSepaDirectDebitPaymentProduct707SpecificInput.java deleted file mode 100644 index 6517a55a9..000000000 --- a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/NonSepaDirectDebitPaymentProduct707SpecificInput.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * This class was auto-generated from the API references found at - * https://developer.globalcollect.com/documentation/api/server/ - */ -package com.ingenico.connect.gateway.sdk.java.domain.payment.definitions; - -import com.ingenico.connect.gateway.sdk.java.domain.definitions.BankAccountIban; - -/** - * Class NonSepaDirectDebitPaymentProduct707SpecificInput - */ -public class NonSepaDirectDebitPaymentProduct707SpecificInput { - - private String addressLine1 = null; - - private String addressLine2 = null; - - private String addressLine3 = null; - - private String addressLine4 = null; - - private BankAccountIban bankAccountIban = null; - - private String customerBankCity = null; - - private String customerBankNumber = null; - - private String customerBankStreet = null; - - private String customerBankZip = null; - - public String getAddressLine1() { - return addressLine1; - } - - public void setAddressLine1(String value) { - this.addressLine1 = value; - } - - public String getAddressLine2() { - return addressLine2; - } - - public void setAddressLine2(String value) { - this.addressLine2 = value; - } - - public String getAddressLine3() { - return addressLine3; - } - - public void setAddressLine3(String value) { - this.addressLine3 = value; - } - - public String getAddressLine4() { - return addressLine4; - } - - public void setAddressLine4(String value) { - this.addressLine4 = value; - } - - public BankAccountIban getBankAccountIban() { - return bankAccountIban; - } - - public void setBankAccountIban(BankAccountIban value) { - this.bankAccountIban = value; - } - - public String getCustomerBankCity() { - return customerBankCity; - } - - public void setCustomerBankCity(String value) { - this.customerBankCity = value; - } - - public String getCustomerBankNumber() { - return customerBankNumber; - } - - public void setCustomerBankNumber(String value) { - this.customerBankNumber = value; - } - - public String getCustomerBankStreet() { - return customerBankStreet; - } - - public void setCustomerBankStreet(String value) { - this.customerBankStreet = value; - } - - public String getCustomerBankZip() { - return customerBankZip; - } - - public void setCustomerBankZip(String value) { - this.customerBankZip = value; - } -} diff --git a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/token/definitions/MandateNonSepaDirectDebit.java b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/token/definitions/MandateNonSepaDirectDebit.java index 15d33b424..0bdeb20ff 100644 --- a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/token/definitions/MandateNonSepaDirectDebit.java +++ b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/token/definitions/MandateNonSepaDirectDebit.java @@ -5,7 +5,6 @@ package com.ingenico.connect.gateway.sdk.java.domain.token.definitions; import com.ingenico.connect.gateway.sdk.java.domain.token.definitions.TokenNonSepaDirectDebitPaymentProduct705SpecificData; -import com.ingenico.connect.gateway.sdk.java.domain.token.definitions.TokenNonSepaDirectDebitPaymentProduct707SpecificData; /** * Class MandateNonSepaDirectDebit @@ -14,8 +13,6 @@ public class MandateNonSepaDirectDebit { private TokenNonSepaDirectDebitPaymentProduct705SpecificData paymentProduct705SpecificData = null; - private TokenNonSepaDirectDebitPaymentProduct707SpecificData paymentProduct707SpecificData = null; - public TokenNonSepaDirectDebitPaymentProduct705SpecificData getPaymentProduct705SpecificData() { return paymentProduct705SpecificData; } @@ -23,12 +20,4 @@ public TokenNonSepaDirectDebitPaymentProduct705SpecificData getPaymentProduct705 public void setPaymentProduct705SpecificData(TokenNonSepaDirectDebitPaymentProduct705SpecificData value) { this.paymentProduct705SpecificData = value; } - - public TokenNonSepaDirectDebitPaymentProduct707SpecificData getPaymentProduct707SpecificData() { - return paymentProduct707SpecificData; - } - - public void setPaymentProduct707SpecificData(TokenNonSepaDirectDebitPaymentProduct707SpecificData value) { - this.paymentProduct707SpecificData = value; - } } diff --git a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/token/definitions/TokenNonSepaDirectDebitPaymentProduct707SpecificData.java b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/token/definitions/TokenNonSepaDirectDebitPaymentProduct707SpecificData.java deleted file mode 100644 index 4bea966b7..000000000 --- a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/token/definitions/TokenNonSepaDirectDebitPaymentProduct707SpecificData.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * This class was auto-generated from the API references found at - * https://developer.globalcollect.com/documentation/api/server/ - */ -package com.ingenico.connect.gateway.sdk.java.domain.token.definitions; - -import com.ingenico.connect.gateway.sdk.java.domain.definitions.BankAccountIban; - -/** - * Class TokenNonSepaDirectDebitPaymentProduct707SpecificData - */ -public class TokenNonSepaDirectDebitPaymentProduct707SpecificData { - - private String addressLine1 = null; - - private String addressLine2 = null; - - private String addressLine3 = null; - - private String addressLine4 = null; - - private BankAccountIban bankAccountIban = null; - - public String getAddressLine1() { - return addressLine1; - } - - public void setAddressLine1(String value) { - this.addressLine1 = value; - } - - public String getAddressLine2() { - return addressLine2; - } - - public void setAddressLine2(String value) { - this.addressLine2 = value; - } - - public String getAddressLine3() { - return addressLine3; - } - - public void setAddressLine3(String value) { - this.addressLine3 = value; - } - - public String getAddressLine4() { - return addressLine4; - } - - public void setAddressLine4(String value) { - this.addressLine4 = value; - } - - public BankAccountIban getBankAccountIban() { - return bankAccountIban; - } - - public void setBankAccountIban(BankAccountIban value) { - this.bankAccountIban = value; - } -} diff --git a/src/main/java/com/ingenico/connect/gateway/sdk/java/DeclinedRefundException.java b/src/main/java/com/ingenico/connect/gateway/sdk/java/DeclinedRefundException.java index b174b1e9b..9ae4d24ae 100644 --- a/src/main/java/com/ingenico/connect/gateway/sdk/java/DeclinedRefundException.java +++ b/src/main/java/com/ingenico/connect/gateway/sdk/java/DeclinedRefundException.java @@ -9,7 +9,7 @@ @SuppressWarnings("serial") public class DeclinedRefundException extends DeclinedTransactionException { - private RefundErrorResponse errors; + private final RefundErrorResponse errors; public DeclinedRefundException(int statusCode, String responseBody, RefundErrorResponse errors) { super(buildMessage(errors), statusCode, responseBody, errors != null ? errors.getErrorId() : null, errors != null ? errors.getErrors() : null); diff --git a/src/main/java/com/ingenico/connect/gateway/sdk/java/MetaDataProvider.java b/src/main/java/com/ingenico/connect/gateway/sdk/java/MetaDataProvider.java index f29c734b3..76df2ed0e 100644 --- a/src/main/java/com/ingenico/connect/gateway/sdk/java/MetaDataProvider.java +++ b/src/main/java/com/ingenico/connect/gateway/sdk/java/MetaDataProvider.java @@ -19,7 +19,7 @@ */ public class MetaDataProvider { - private static final String SDK_VERSION = "4.0.0"; + private static final String SDK_VERSION = "5.0.0"; private static final String SERVER_META_INFO_HEADER = "X-GCS-ServerMetaInfo"; static final Set PROHIBITED_HEADERS; diff --git a/src/main/java/com/ingenico/connect/gateway/sdk/java/defaultimpl/AuthorizationType.java b/src/main/java/com/ingenico/connect/gateway/sdk/java/defaultimpl/AuthorizationType.java index b64dc1158..96ebf77d5 100644 --- a/src/main/java/com/ingenico/connect/gateway/sdk/java/defaultimpl/AuthorizationType.java +++ b/src/main/java/com/ingenico/connect/gateway/sdk/java/defaultimpl/AuthorizationType.java @@ -7,7 +7,8 @@ public enum AuthorizationType { private final String signatureString; private AuthorizationType(String signatureString){ - this.signatureString = signatureString;} + this.signatureString = signatureString; + } String getSignatureString() { return signatureString;