Skip to content

Commit

Permalink
Included annotation to prevent request values being populated with NULL.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmacdomhnall committed May 14, 2018
1 parent 2b711a8 commit 9332499
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.realexpayments.hpp.sdk</groupId>
<artifactId>rxp-hpp-java</artifactId>
<version>1.3.1</version>
<version>1.3.2</version>
</dependency>
```

### Gradle users
Add this dependency to your project's build file:
```
compile "com.realexpayments.hpp.sdk:rxp-hpp-java:1.3.1"
compile "com.realexpayments.hpp.sdk:rxp-hpp-java:1.3.2"
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.realexpayments.hpp.sdk</groupId>
<artifactId>rxp-hpp-java</artifactId>
<version>1.3.1</version>
<version>1.3.2</version>
<name>Realex Payments HPP Java SDK</name>
<description>The official Realex Payments HPP Java SDK</description>
<url>http://www.realexpayments.com</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.realexpayments.hpp.sdk.utils.GenerationUtils;
Expand All @@ -18,6 +20,7 @@
* @author markstanford
*
*/
@JsonInclude(Include.NON_NULL)
public class HppResponse {

/**
Expand Down

0 comments on commit 9332499

Please sign in to comment.