diff --git a/pom.xml b/pom.xml index 8ae3c3a27..9a6e0a74b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.ingenico.connect.gateway connect-sdk-java - 6.37.0 + 6.38.0 jar connect-sdk-java diff --git a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/CardPaymentMethodSpecificInput.java b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/CardPaymentMethodSpecificInput.java index cc08f17ab..c9186ab3c 100644 --- a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/CardPaymentMethodSpecificInput.java +++ b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/CardPaymentMethodSpecificInput.java @@ -16,6 +16,8 @@ public class CardPaymentMethodSpecificInput extends AbstractCardPaymentMethodSpe private String merchantInitiatedReasonIndicator = null; + private SchemeTokenData networkTokenData = null; + private String returnUrl = null; private ThreeDSecure threeDSecure = null; @@ -94,6 +96,20 @@ public void setMerchantInitiatedReasonIndicator(String value) { this.merchantInitiatedReasonIndicator = value; } + /** + * Object holding data that describes a network token + */ + public SchemeTokenData getNetworkTokenData() { + return networkTokenData; + } + + /** + * Object holding data that describes a network token + */ + public void setNetworkTokenData(SchemeTokenData value) { + this.networkTokenData = value; + } + /** * The URL that the customer is redirect to after the payment flow has finished. You can add any number of key value pairs in the query string that, for instance help you to identify the customer when they return to your site. Please note that we will also append some additional key value pairs that will also help you with this identification process.
* Note: The provided URL should be absolute and contain the protocol to use, e.g. http:// or https://. For use on mobile devices a custom protocol can be used in the form of protocol://. This protocol must be registered on the device first.
diff --git a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/SchemeTokenData.java b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/SchemeTokenData.java new file mode 100644 index 000000000..917cc30d5 --- /dev/null +++ b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/payment/definitions/SchemeTokenData.java @@ -0,0 +1,72 @@ +/* + * This class was auto-generated from the API references found at + * https://epayments-api.developer-ingenico.com/s2sapi/v1/ + */ +package com.ingenico.connect.gateway.sdk.java.domain.payment.definitions; + +public class SchemeTokenData { + + private String cryptogram = null; + + private String eci = null; + + private String networkToken = null; + + private String tokenExpiryDate = null; + + /** + * The Token Cryptogram is a dynamic one-time use value that is used to verify the authenticity of the transaction and the integrity of the data used in the generation of the Token Cryptogram. Visa calls this the Token Authentication Verification Value (TAVV) cryptogram. + */ + public String getCryptogram() { + return cryptogram; + } + + /** + * The Token Cryptogram is a dynamic one-time use value that is used to verify the authenticity of the transaction and the integrity of the data used in the generation of the Token Cryptogram. Visa calls this the Token Authentication Verification Value (TAVV) cryptogram. + */ + public void setCryptogram(String value) { + this.cryptogram = value; + } + + /** + * The Electronic Commerce Indicator you got with the Token Cryptogram + */ + public String getEci() { + return eci; + } + + /** + * The Electronic Commerce Indicator you got with the Token Cryptogram + */ + public void setEci(String value) { + this.eci = value; + } + + /** + * The network token. Note: This is called Payment Token in the EMVCo documentation + */ + public String getNetworkToken() { + return networkToken; + } + + /** + * The network token. Note: This is called Payment Token in the EMVCo documentation + */ + public void setNetworkToken(String value) { + this.networkToken = value; + } + + /** + * The expiry date of the network token + */ + public String getTokenExpiryDate() { + return tokenExpiryDate; + } + + /** + * The expiry date of the network token + */ + public void setTokenExpiryDate(String value) { + this.tokenExpiryDate = value; + } +} 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 ea0741a03..d13ec7d01 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 = "6.37.0"; + private static final String SDK_VERSION = "6.38.0"; private static final String SERVER_META_INFO_HEADER = "X-GCS-ServerMetaInfo"; static final Set PROHIBITED_HEADERS;