Skip to content

Commit df63f12

Browse files
Merge pull request #144 from intuit/IPP-17608
add CCD to paymentModeEnum - increment version
2 parents dd028dd + b257e22 commit df63f12

File tree

13 files changed

+16
-14
lines changed

13 files changed

+16
-14
lines changed

ipp-v3-java-data/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.intuit.quickbooks-online</groupId>
66
<artifactId>ipp-v3-java-devkit-pom</artifactId>
7-
<version>6.0.9</version>
7+
<version>6.0.10</version>
88
</parent>
99

1010
<artifactId>ipp-v3-java-data</artifactId>

ipp-v3-java-devkit/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>ipp-v3-java-devkit-pom</artifactId>
66
<groupId>com.intuit.quickbooks-online</groupId>
7-
<version>6.0.9</version>
7+
<version>6.0.10</version>
88
</parent>
99

1010
<artifactId>ipp-v3-java-devkit</artifactId>

ipp-v3-java-devkit/src/main/resources/ippdevkit.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Devkit Version
44
# This version has to be updated according to the pom version
5-
version = 6.0.9
5+
version = 6.0.10
66

77
# This is to have the request source to be sent to IDS request header
88
request.source = V3JavaSDK

ipp-v3-java-devkit/src/test/resources/ippdevkit.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### IPP Dev Kit helper properties
22

33
## Devkit version
4-
version = 6.0.9
4+
version = 6.0.10
55

66
# This is to have the request source to be sent to IDS request header
77
request.source = V3JavaSDK

oauth2-platform-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>ipp-v3-java-devkit-pom</artifactId>
2222
<groupId>com.intuit.quickbooks-online</groupId>
23-
<version>6.0.9</version>
23+
<version>6.0.10</version>
2424
</parent>
2525
<artifactId>oauth2-platform-api</artifactId>
2626
<name>Quickbooks API Helper for OAuth2</name>

oauth2-platform-api/src/main/resources/oauthclient.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ EMAIL=email
3434
INTUIT_NAME=intuit_name
3535

3636
#Version
37-
version=6.0.9
37+
version=6.0.10
3838

3939
#MIGRATION SERVICE URL
4040
OAUTH_MIGRATION_URL_PRODUCTION=https://developer.api.intuit.com/v2/oauth2/tokens/migrate

oauth2-platform-api/src/test/resources/oauthclient.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ EMAIL=email
3434
INTUIT_NAME=intuit_name
3535

3636
#Version
37-
version=6.0.9
37+
version=6.0.10
3838

3939
#MIGRATION SERVICE URL
4040
OAUTH_MIGRATION_URL_PRODUCTION=https://developer.api.intuit.com/v2/oauth2/tokens/migrate

payments-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>ipp-v3-java-devkit-pom</artifactId>
2121
<groupId>com.intuit.quickbooks-online</groupId>
22-
<version>6.0.9</version>
22+
<version>6.0.10</version>
2323
</parent>
2424
<artifactId>payments-api</artifactId>
2525
<name>Payments API SDK</name>

payments-api/src/main/java/com/intuit/payment/data/ECheck.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class ECheck extends Entity {
3838

3939
public enum ECheckStatus {
4040
PENDING, SUCCEEDED, DECLINED, VOIDED, REFUNDED
41-
};
41+
}
4242

4343
private BigDecimal amount = null;
4444
private BankAccount bankAccount = null;
@@ -48,8 +48,8 @@ public enum ECheckStatus {
4848
private PaymentModeType paymentMode = null;
4949

5050
public enum PaymentModeType {
51-
WEB
52-
};
51+
WEB, CCD
52+
}
5353

5454
private String description = null;
5555
private String checkNumber = null;

payments-api/src/main/java/com/intuit/payment/util/JsonUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import java.text.SimpleDateFormat;
2121
import java.util.TimeZone;
2222

23+
import com.fasterxml.jackson.databind.DeserializationFeature;
2324
import org.slf4j.Logger;
2425

2526
import com.fasterxml.jackson.annotation.JsonInclude.Include;
@@ -51,6 +52,7 @@ public class JsonUtil {
5152
mapper.setDateFormat(dateFormat);
5253
mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
5354
mapper.setSerializationInclusion(Include.NON_NULL);
55+
mapper.configure(DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_AS_NULL, true);
5456
}
5557

5658
/**

0 commit comments

Comments
 (0)