8000 Upgraded to work on Java 9 and above. · AuthorizeNet/sdk-java@928a6ba · GitHub
[go: up one dir, main page]

Skip to content

Commit 928a6ba

Browse files
committed
Upgraded to work on Java 9 and above.
Added workflow to test SDK.
1 parent 7d2c0e7 commit 928a6ba

File tree

271 files changed

+1463
-1370
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+1463
-1370
lines changed

pom.xml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,25 @@
117117
<dependency>
118118
<groupId>com.google.code.gson</groupId>
119119
<artifactId>gson</artifactId>
120-
<version>2.3.1</version>
120+
<version>2.11.0</version>
121121
<scope>compile</scope>
122122
</dependency>
123+
<!-- Required for JVM after JDK 9 -->
124+
<dependency>
125+
<groupId>jakarta.xml.bind</groupId>
126+
<artifactId>jakarta.xml.bind-api</artifactId>
127+
<version>4.0.2</version>
128+
</dependency>
129+
<dependency>
130+
<groupId>org.glassfish.jaxb</groupId>
131+
<artifactId>jaxb-runtime</artifactId>
132+
<version>4.0.5</version>
133+
</dependency>
134+
<dependency>
135+
<groupId>com.fasterxml.jackson.module</groupId>
136+
<artifactId>jackson-module-jakarta-xmlbind-annotations</artifactId>
137+
<version>2.17.2</version>
138+
</dependency>
123139
</dependencies>
124140
<properties>
125141
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -128,7 +144,7 @@
128144
<maven.compile.target>1.5</maven.compile.target>
129145
<maven.compile.optimize>true</maven.compile.optimize>
130146
<maven.compile.deprecation>true</maven.compile.deprecation>
131-
<log4j.version>2.17.1</log4j.version>
147+
<log4j.version>2.22.0</log4j.version>
132148
</properties>
133149
<build>
134150
<plugins>

src/main/java/net/authorize/api/contract/v1/ANetApiRequest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
33
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
44
// Any modifications to this file will be lost upon recompilation of the source schema.
5-
// Generated on: 2021.01.27 at 04:18:12 PM GMT+05:30
5+
// Generated on: 2024.07.05 at 11:12:58 AM IST
66
//
77

88

99
package net.authorize.api.contract.v1;
1010

11-
import javax.xml.bind.annotation.XmlAccessType;
12-
import javax.xml.bind.annotation.XmlAccessorType;
13-
import javax.xml.bind.annotation.XmlElement;
14-
import javax.xml.bind.annotation.XmlSeeAlso;
15-
import javax.xml.bind.annotation.XmlType;
11+
import jakarta.xml.bind.annotation.XmlAccessType;
12+
import jakarta.xml.bind.annotation.XmlAccessorType;
13+
import jakarta.xml.bind.annotation.XmlElement;
14+
import jakarta.xml.bind.annotation.XmlSeeAlso;
15+
import jakarta.xml.bind.annotation.XmlType;
1616

1717

1818
/**

src/main/java/net/authorize/api/contract/v1/ANetApiResponse.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
33
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
44
// Any modifications to this file will be lost upon recompilation of the source schema.
5-
// Generated on: 2021.01.27 at 04:18:12 PM GMT+05:30
5+
// Generated on: 2024.07.05 at 11:12:58 AM IST
66
//
77

88

99
package net.authorize.api.contract.v1;
1010

11-
import javax.xml.bind.annotation.XmlAccessType;
12-
import javax.xml.bind.annotation.XmlAccessorType;
13-
import javax.xml.bind.annotation.XmlElement;
14-
import javax.xml.bind.annotation.XmlSeeAlso;
15-
import javax.xml.bind.annotation.XmlType;
11+
import jakarta.xml.bind.annotation.XmlAccessType;
12+
import jakarta.xml.bind.annotation.XmlAccessorType;
13+
import jakarta.xml.bind.annotation.XmlElement;
14+
import jakarta.xml.bind.annotation.XmlSeeAlso;
15+
import jakarta.xml.bind.annotation.XmlType;
1616

1717

1818
/**

src/main/java/net/authorize/api/contract/v1/ARBCancelSubscriptionRequest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
33
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
44
// Any modifications to this file will be lost upon recompilation of the source schema.
5-
// Generated on: 2021.01.27 at 04:18:12 PM GMT+05:30
5+
// Generated on: 2024.07.05 at 11:12:58 AM IST
66
//
77

88

99
package net.authorize.api.contract.v1;
1010

11-
import javax.xml.bind.annotation.XmlAccessType;
12-
import javax.xml.bind.annotation.XmlAccessorType;
13-
import javax.xml.bind.annotation.XmlElement;
14-
import javax.xml.bind.annotation.XmlRootElement;
15-
import javax.xml.bind.annotation.XmlType;
11+
import jakarta.xml.bind.annotation.XmlAccessType;
12+
import jakarta.xml.bind.annotation.XmlAccessorType;
13+
import jakarta.xml.bind.annotation.XmlElement;
14+
import jakarta.xml.bind.annotation.XmlRootElement;
15+
import jakarta.xml.bind.annotation.XmlType;
1616

1717

1818
/**

src/main/java/net/authorize/api/contract/v1/ARBCancelSubscriptionResponse.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
33
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
44
// Any modifications to this file will be lost upon recompilation of the source schema.
5-
// Generated on: 2021.01.27 at 04:18:12 PM GMT+05:30
5+
// Generated on: 2024.07.05 at 11:12:58 AM IST
66
//
77

88

99
package net.authorize.api.contract.v1;
1010

11-
import javax.xml.bind.annotation.XmlAccessType;
12-
import javax.xml.bind.annotation.XmlAccessorType;
13-
import javax.xml.bind.annotation.XmlRootElement;
14-
import javax.xml.bind.annotation.XmlType;
11+
import jakarta.xml.bind.annotation.XmlAccessType;
12+
import jakarta.xml.bind.annotation.XmlAccessorType;
13+
import jakarta.xml.bind.annotation.XmlRootElement;
14+
import jakarta.xml.bind.annotation.XmlType;
1515

1616

1717
/**

src/main/java/net/authorize/api/contract/v1/ARBCreateSubscriptionRequest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
33
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
44
// Any modifications to this file will be lost upon recompilation of the source schema.
5-
// Generated on: 2021.01.27 at 04:18:12 PM GMT+05:30
5+
// Generated on: 2024.07.05 at 11:12:58 AM IST
66
//
77

88

99
package net.authorize.api.contract.v1;
1010

11-
import javax.xml.bind.annotation.XmlAccessType;
12-
import javax.xml.bind.annotation.XmlAccessorType;
13-
import javax.xml.bind.annotation.XmlElement;
14-
import javax.xml.bind.annotation.XmlRootElement;
15-
import javax.xml.bind.annotation.XmlType;
11+
import jakarta.xml.bind.annotation.XmlAccessType;
12+
import jakarta.xml.bind.annotation.XmlAccessorType;
13+
import jakarta.xml.bind.annotation.XmlElement;
14+
import jakarta.xml.bind.annotation.XmlRootElement;
15+
import jakarta.xml.bind.annotation.XmlType;
1616

1717

1818
/**

src/main/java/net/authorize/api/contract/v1/ARBCreateSubscriptionResponse.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
33
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
44
// Any modifications to this file will be lost upon recompilation of the source schema.
5-
// Generated on: 2021.01.27 at 04:18:12 PM GMT+05:30
5+
// Generated on: 2024.07.05 at 11:12:58 AM IST
66
//
77

88

99
package net.authorize.api.contract.v1;
1010

11-
import javax.xml.bind.annotation.XmlAccessType;
12-
import javax.xml.bind.annotation.XmlAccessorType;
13-
import javax.xml.bind.annotation.XmlRootElement;
14-
import javax.xml.bind.annotation.XmlType;
11+
import jakarta.xml.bind.annotation.XmlAccessType;
12+
import jakarta.xml.bind.annotation.XmlAccessorType;
13+
import jakarta.xml.bind.annotation.XmlRootElement;
14+
import jakarta.xml.bind.annotation.XmlType;
1515

1616

1717
/**

src/main/java/net/authorize/api/contract/v1/ARBGetSubscriptionListOrderFieldEnum.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
33
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
44
// Any modifications to this file will be lost upon recompilation of the source schema.
5-
// Generated on: 2021.01.27 at 04:18:12 PM GMT+05:30
5+
// Generated on: 2024.07.05 at 11:12:58 AM IST
66
//
77

88

99
package net.authorize.api.contract.v1;
1010

11-
import javax.xml.bind.annotation.XmlEnum;
12-
import javax.xml.bind.annotation.XmlEnumValue;
13-
import javax.xml.bind.annotation.XmlType;
11+
import jakarta.xml.bind.annotation.XmlEnum;
12+
import jakarta.xml.bind.annotation.XmlEnumValue;
13+
import jakarta.xml.bind.annotation.XmlType;
1414

1515

1616
/**

src/main/java/net/authorize/api/contract/v1/ARBGetSubscriptionListRequest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
33
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
44
// Any modifications to this file will be lost upon recompilation of the source schema.
5-
// Generated on: 2021.01.27 at 04:18:12 PM GMT+05:30
5+
// Generated on: 2024.07.05 at 11:12:58 AM IST
66
//
77

88

99
package net.authorize.api.contract.v1;
1010

11-
import javax.xml.bind.annotation.XmlAccessType;
12-
import javax.xml.bind.annotation.XmlAccessorType;
13-
import javax.xml.bind.annotation.XmlElement;
14-
import javax.xml.bind.annotation.XmlRootElement;
15-
import javax.xml.bind.annotation.XmlSchemaType;
16-
import javax.xml.bind.annotation.XmlType;
11+
import jakarta.xml.bind.annotation.XmlAccessType;
12+
import jakarta.xml.bind.annotation.XmlAccessorType;
13+
import jakarta.xml.bind.annotation.XmlElement;
14+
import jakarta.xml.bind.annotation.XmlRo 17AE otElement;
15+
import jakarta.xml.bind.annotation.XmlSchemaType;
16+
import jakarta.xml.bind.annotation.XmlType;
1717

1818

1919
/**

src/main/java/net/authorize/api/contract/v1/ARBGetSubscriptionListResponse.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
33
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
44
// Any modifications to this file will be lost upon recompilation of the source schema.
5-
// Generated on: 2021.01.27 at 04:18:12 PM GMT+05:30
5+
// Generated on: 2024.07.05 at 11:12:58 AM IST
66
//
77

88

99
package net.authorize.api.contract.v1;
1010

11-
import javax.xml.bind.annotation.XmlAccessType;
12-
import javax.xml.bind.annotation.XmlAccessorType;
13-
import javax.xml.bind.annotation.XmlRootElement;
14-
import javax.xml.bind.annotation.XmlType;
11+
import jakarta.xml.bind.annotation.XmlAccessType;
12+
import jakarta.xml.bind.annotation.XmlAccessorType;
13+
import jakarta.xml.bind.annotation.XmlRootElement;
14+
import jakarta.xml.bind.annotation.XmlType;
1515

1616

1717
/**

0 commit comments

Comments
 (0)
0