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

Commit

Permalink
v4.52
Browse files Browse the repository at this point in the history
  • Loading branch information
PaylineGitHub committed Oct 25, 2017
1 parent 93d9b96 commit 697361d
Show file tree
Hide file tree
Showing 10 changed files with 3,550 additions and 101 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
* 4.52 (2017-10-25)

* new "merchantName" parameter for services
- doWebPayment
- manageWebWallet
- verifyEnrollment
* new "details" object parameter for doRefund service
* new "avs" child node for "transaction" object
* new "paymentData" child node for "card" object

----------------------------------------

* 4.48 (2016-09-20)

* new getAlertDetails parameters
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Add this dependency in your project's POM:
<dependency>
<groupId>com.payline</groupId>
<artifactId>payline-java-sdk</artifactId>
<version>4.48</version>
<version>4.52</version>
</dependency>
```

Expand Down Expand Up @@ -69,7 +69,7 @@ public class SampleCalls {
```

## Version
4.48
4.52

## Learn about Payline
* [www.payline.com](http://www.payline.com/index.php/en/)
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.payline</groupId>
<artifactId>payline-java-sdk</artifactId>
<version>4.48</version>
<version>4.52</version>
<name>Payline JAVA SDK Project</name>
<description>The Payline API provides access to the various functions of the Payline payment solution. It is based on standard web service components, which include the SOAP protocol, the WSDL and XSD definition languages. These standards are supported by a large range of development tools on multiple platforms. This SDK covers all the functions of the Payline payment solution.</description>

<properties>
<java.version>1.6</java.version>
<payline.wsdl.version>4.48</payline.wsdl.version>
<payline.wsdl.version>4.52</payline.wsdl.version>
</properties>

<url>www.payline.com</url>
Expand Down
46 changes: 23 additions & 23 deletions src/main/java/com/payline/kit/utils/ConnectParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,48 +25,48 @@ public class ConnectParams {
/**
* production, flag to indicate whether web services calls should be done in production environment
*/
private static boolean production;
private boolean production;

/**
* clientAuthentication, This attribute specifies if client authentication should be required. Returns whether client authentication is required. true, if
* clients are required to authenticate, false otherwise.
*/
private static boolean clientAuthentication;
private boolean clientAuthentication;

/**
* module, the module to connect
*/
private static String module = null;
private String module = null;

/**
* merchantId the merchant identifier being used
*/
private static String merchantId;
private String merchantId;

/**
* accessKey, the access key for this credentials object The unique identifier access key of the connection in security domain
*/
private static String accessKey;
private String accessKey;

/**
* proxyHost, The hostname, or address, of the proxy server
*/
private static String proxyHost = null;
private String proxyHost = null;

/**
* proxyPort, The port number of the proxy server.
*/
private static String proxyPort = null;
private String proxyPort = null;

/**
* proxyLogin, the proxy login should use for retrieving Connections
*/
private static String proxyLogin = null;
private String proxyLogin = null;

/**
* proxyPassword, the proxy password that should use for retrieving Connections
*/
private static String proxyPassword = null;
private String proxyPassword = null;

/**
* Class constructor specifying the connection properties to create
Expand All @@ -83,23 +83,23 @@ public class ConnectParams {
public ConnectParams(String module, boolean production, boolean clientAuthentication, String merchantId, String accessKey, String proxyHost,
String proxyPort, String proxyLogin, String proxyPassword) {
if (module != null && module.length() != 0) {
ConnectParams.module = module;
this.module = module;
}
ConnectParams.production = production;
ConnectParams.clientAuthentication = clientAuthentication;
ConnectParams.merchantId = merchantId;
ConnectParams.accessKey = accessKey;
this.production = production;
this.clientAuthentication = clientAuthentication;
this.merchantId = merchantId;
this.accessKey = accessKey;
if (proxyHost != null && proxyHost.length() != 0) {
ConnectParams.proxyHost = proxyHost;
this.proxyHost = proxyHost;
}
if (proxyPort != null && proxyPort.length() != 0) {
ConnectParams.proxyPort = proxyPort;
this.proxyPort = proxyPort;
}
if (proxyLogin != null && proxyLogin.length() != 0) {
ConnectParams.proxyLogin = proxyLogin;
this.proxyLogin = proxyLogin;
}
if (proxyPassword != null && proxyPassword.length() != 0) {
ConnectParams.proxyPassword = proxyPassword;
this.proxyPassword = proxyPassword;
}
}

Expand All @@ -113,12 +113,12 @@ public ConnectParams(String module, boolean production, boolean clientAuthentica
*/
public ConnectParams(String module, boolean production, boolean clientAuthentication, String merchantId, String accessKey) {
if (module != null && module.length() != 0) {
ConnectParams.module = module;
this.module = module;
}
ConnectParams.production = production;
ConnectParams.clientAuthentication = clientAuthentication;
ConnectParams.merchantId = merchantId;
ConnectParams.accessKey = accessKey;
this.production = production;
this.clientAuthentication = clientAuthentication;
this.merchantId = merchantId;
this.accessKey = accessKey;
}

/**
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/com/payline/kit/utils/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public final class Utils {
/**
* WSDL
*/
public static final String WSDL = "wsdls/v4.48.wsdl";
public static final String WSDL = "wsdls/v4.52.wsdl";

/**
* logger.
Expand All @@ -85,11 +85,12 @@ public final class Utils {
* Communication error
*/
public static final String EXCEPTION_CODE = "XXXXX";
public static final String EXCEPTION_SHORTMESSAGE = "EXCEPTION";

/**
* kit version
*/
public static final String kitVersion = "kit JAVA v4.48";
public static final String kitVersion = "kit JAVA v4.52";

/**
* Default constructor.
Expand Down
Loading

0 comments on commit 697361d

Please sign in to comment.