Skip to content

Commit 054a911

Browse files
author
Sunny Raj Rathod
authored
Merge pull request #100 from AuthorizeNet/master
Sync up future
2 parents 4b82b4e + 2feaf43 commit 054a911

229 files changed

Lines changed: 3628 additions & 973 deletions

File tree

Some content is hidden

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

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ before_script:
1515

1616
script:
1717
- cd sample-code-java
18-
- mvn install -DsdkVersion=1.8.8-SNAPSHOT -DskipTests=true -Dmaven.javadoc.skip=true -B -V
19-
- mvn test -DsdkVersion=1.8.8-SNAPSHOT -B
18+
- mvn install -DsdkVersion=1.9.1-SNAPSHOT -DskipTests=true -Dmaven.javadoc.skip=true -B -V
19+
- mvn test -DsdkVersion=1.9.1-SNAPSHOT -B
2020

2121
after_script:
2222
print_surefire_reports.sh

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ Authorize.Net Java SDK
1111
<version>LATEST</version>
1212
```
1313

14+
Sample Code
15+
===========
16+
Samples of all the API operations available can be found at https://github.com/AuthorizeNet/sample-code-java
17+
18+
1419
Prerequisites
1520
=============
1621

@@ -22,6 +27,7 @@ Prerequisites
2227
Please see the respective build processes below. All initial jars
2328
and docs were built with Ant however.
2429

30+
2531
Dependencies
2632
============
2733

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<project name="anet-java-sdk" default="compile" basedir=".">
3-
<property name="version" value="1.8.2" />
3+
<property name="version" value="1.9.0" />
44
<property name="dirs.base" value="${basedir}" />
55
<property name="src.dir" value="${basedir}/src/main/java" />
66
<property name="javadocs.dir" value="${basedir}/docs/javadocs" />

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<groupId>net.authorize</groupId>
1010
<artifactId>anet-java-sdk</artifactId>
1111
<packaging>jar</packaging>
12-
<version>1.8.8-SNAPSHOT</version>
12+
<version>1.9.1-SNAPSHOT</version>
1313
<name>Authorize.Net Java SDK</name>
1414
<description>Authorize.Net SDK includes standard payments, recurring billing, and customer profiles.</description>
1515
<url>http://developer.authorize.net</url>

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

Lines changed: 62 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
2-
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
2+
// 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: 2015.11.18 at 01:35:18 PM IST
5+
// Generated on: 2016.08.11 at 11:22:30 PM IST
66
//
77

88

@@ -26,6 +26,13 @@
2626
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
2727
* &lt;sequence>
2828
* &lt;element name="merchantAuthentication" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}merchantAuthenticationType"/>
29+
* &lt;element name="clientId" minOccurs="0">
30+
* &lt;simpleType>
31+
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
32+
* &lt;maxLength value="30"/>
33+
* &lt;/restriction>
34+
* &lt;/simpleType>
35+
* &lt;/element>
2936
* &lt;element name="refId" minOccurs="0">
3037
* &lt;simpleType>
3138
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
@@ -44,51 +51,55 @@
4451
@XmlAccessorType(XmlAccessType.FIELD)
4552
@XmlType(name = "ANetApiRequest", propOrder = {
4653
"merchantAuthentication",
54+
"clientId",
4755
"refId"
4856
})
4957
@XmlSeeAlso({
58+
GetTransactionListRequest.class,
59+
MobileDeviceRegistrationRequest.class,
5060
UpdateCustomerPaymentProfileRequest.class,
51-
GetTransactionDetailsRequest.class,
52-
MobileDeviceLoginRequest.class,
5361
GetBatchStatisticsRequest.class,
5462
ARBCreateSubscriptionRequest.class,
55-
LogoutRequest.class,
56-
DeleteCustomerShippingAddressRequest.class,
57-
GetTransactionListRequest.class,
63+
CreateCustomerPaymentProfileRequest.class,
5864
AuthenticateTestRequest.class,
59-
GetCustomerShippingAddressRequest.class,
60-
DeleteCustomerPaymentProfileRequest.class,
61-
CreateCustomerProfileRequest.class,
62-
MobileDeviceRegistrationRequest.class,
63-
UpdateCustomerShippingAddressRequest.class,
65+
ARBGetSubscriptionListRequest.class,
66+
GetHostedProfilePageRequest.class,
67+
CreateCustomerProfileTransactionRequest.class,
68+
CreateTransactionRequest.class,
6469
DeleteCustomerProfileRequest.class,
70+
GetAUJobDetailsRequest.class,
71+
DeleteCustomerPaymentProfileRequest.class,
6572
ARBGetSubscriptionStatusRequest.class,
73+
CreateCustomerProfileRequest.class,
6674
GetCustomerProfileRequest.class,
67-
DecryptPaymentDataRequest.class,
68-
CreateTransactionRequest.class,
69-
ARBUpdateSubscriptionRequest.class,
70-
GetCustomerPaymentProfileListRequest.class,
71-
GetUnsettledTransactionListRequest.class,
72-
CreateCustomerShippingAddressRequest.class,
7375
GetCustomerProfileIdsRequest.class,
74-
UpdateCustomerProfileRequest.class,
76+
ARBUpdateSubscriptionRequest.class,
77+
MobileDeviceLoginRequest.class,
78+
GetCustomerPaymentProfileRequest.class,
7579
GetSettledBatchListRequest.class,
80+
GetTransactionDetailsRequest.class,
81+
GetAUJobSummaryRequest.class,
82+
CreateCustomerShippingAddressRequest.class,
83+
UpdateSplitTenderGroupRequest.class,
7684
SendCustomerTransactionReceiptRequest.class,
77-
CreateCustomerProfileFromTransactionRequest.class,
78-
ARBGetSubscriptionListRequest.class,
79-
CreateCustomerPaymentProfileRequest.class,
85+
LogoutRequest.class,
86+
GetUnsettledTransactionListRequest.class,
8087
ARBGetSubscriptionRequest.class,
81-
CreateCustomerProfileTransactionRequest.class,
82-
GetCustomerPaymentProfileRequest.class,
83-
GetHostedProfilePageRequest.class,
84-
UpdateSplitTenderGroupRequest.class,
88+
DecryptPaymentDataRequest.class,
89+
GetCustomerShippingAddressRequest.class,
90+
UpdateCustomerShippingAddressRequest.class,
8591
ValidateCustomerPaymentProfileRequest.class,
86-
ARBCancelSubscriptionRequest.class
92+
ARBCancelSubscriptionRequest.class,
93+
GetCustomerPaymentProfileListRequest.class,
94+
DeleteCustomerShippingAddressRequest.class,
95+
UpdateCustomerProfileRequest.class,
96+
CreateCustomerProfileFromTransactionRequest.class
8797
})
8898
public class ANetApiRequest implements java.io.Serializable {
8999

90100
@XmlElement(required = true)
91101
protected MerchantAuthenticationType merchantAuthentication;
102+
protected String clientId;
92103
protected String refId;
93104

94105
/**
@@ -115,6 +126,30 @@ public void setMerchantAuthentication(MerchantAuthenticationType value) {
115126
this.merchantAuthentication = value;
116127
}
117128

129+
/**
130+
* Gets the value of the clientId property.
131+
*
132+
* @return
133+
* possible object is
134+
* {@link String }
135+
*
136+
*/
137+
public String getClientId() {
138+
return clientId;
139+
}
140+
141+
/**
142+
* Sets the value of the clientId property.
143+
*
144+
* @param value
145+
* allowed object is
146+
* {@link String }
147+
*
148+
*/
149+
public void setClientId(String value) {
150+
this.clientId = value;
151+
}
152+
118153
/**
119154
* Gets the value of the refId property.
120155
*

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

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
2-
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
2+
// 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: 2015.11.18 at 01:35:18 PM IST
5+
// Generated on: 2016.08.11 at 11:22:30 PM IST
66
//
77

88

@@ -45,43 +45,45 @@
4545
"sessionToken"
4646
})
4747
@XmlSeeAlso({
48-
MobileDeviceLoginResponse.class,
49-
AuthenticateTestResponse.class,
50-
GetBatchStatisticsResponse.class,
51-
ARBGetSubscriptionResponse.class,
52-
GetCustomerShippingAddressResponse.class,
53-
ARBGetSubscriptionStatusResponse.class,
54-
DecryptPaymentDataResponse.class,
55-
ARBCancelSubscriptionResponse.class,
56-
CreateCustomerPaymentProfileResponse.class,
5748
ValidateCustomerPaymentProfileResponse.class,
58-
UpdateCustomerProfileResponse.class,
59-
ARBGetSubscriptionListResponse.class,
60-
GetCustomerProfileIdsResponse.class,
61-
SendCustomerTransactionReceiptResponse.class,
62-
MobileDeviceRegistrationResponse.class,
63-
GetCustomerPaymentProfileListResponse.class,
64-
ARBUpdateSubscriptionResponse.class,
6549
GetUnsettledTransactionListResponse.class,
6650
GetTransactionListResponse.class,
67-
DeleteCustomerPaymentProfileResponse.class,
68-
DeleteCustomerProfileResponse.class,
69-
DeleteCustomerShippingAddressResponse.class,
70-
ARBCreateSubscriptionResponse.class,
71-
GetSettledBatchListResponse.class,
72-
UpdateSplitTenderGroupResponse.class,
7351
GetHostedProfilePageResponse.class,
74-
CreateCustomerProfileResponse.class,
52+
SendCustomerTransactionReceiptResponse.class,
7553
UpdateCustomerShippingAddressResponse.class,
54+
ARBGetSubscriptionResponse.class,
55+
GetCustomerProfileIdsResponse.class,
56+
MobileDeviceLoginResponse.class,
57+
DeleteCustomerPaymentProfileResponse.class,
7658
UpdateCustomerPaymentProfileResponse.class,
59+
ARBCancelSubscriptionResponse.class,
60+
AuthenticateTestResponse.class,
61+
ARBCreateSubscriptionResponse.class,
62+
GetTransactionDetailsResponse.class,
63+
LogoutResponse.class,
7764
GetCustomerPaymentProfileResponse.class,
65+
CreateCustomerPaymentProfileResponse.class,
66+
UpdateSplitTenderGroupResponse.class,
67+
DecryptPaymentDataResponse.class,
68+
GetAUJobDetailsResponse.class,
69+
GetAUJobSummaryResponse.class,
70+
GetBatchStatisticsResponse.class,
71+
GetCustomerPaymentProfileListResponse.class,
72+
CreateTransactionResponse.class,
73+
CreateCustomerProfileTransactionResponse.class,
74+
ARBUpdateSubscriptionResponse.class,
7875
IsAliveResponse.class,
76+
ARBGetSubscriptionStatusResponse.class,
77+
DeleteCustomerProfileResponse.class,
78+
UpdateCustomerProfileResponse.class,
79+
GetCustomerShippingAddressResponse.class,
7980
CreateCustomerShippingAddressResponse.class,
80-
CreateTransactionResponse.class,
81-
GetCustomerProfileResponse.class,
82-
LogoutResponse.class,
83-
GetTransactionDetailsResponse.class,
84-
CreateCustomerProfileTransactionResponse.class
81+
GetSettledBatchListResponse.class,
82+
DeleteCustomerShippingAddressResponse.class,
83+
ARBGetSubscriptionListResponse.class,
84+
CreateCustomerProfileResponse.class,
85+
MobileDeviceRegistrationResponse.class,
86+
GetCustomerProfileResponse.class
8587
})
8688
public class ANetApiResponse implements java.io.Serializable {
8789

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
2-
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
2+
// 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: 2016.03.03 at 05:32:06 PM IST
5+
// Generated on: 2016.08.11 at 11:22:30 PM IST
66
//
77

88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
2-
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
2+
// 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: 2016.03.03 at 05:32:06 PM IST
5+
// Generated on: 2016.08.11 at 11:22:30 PM IST
66
//
77

88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
2-
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
2+
// 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: 2016.03.03 at 05:32:06 PM IST
5+
// Generated on: 2016.08.11 at 11:22:30 PM IST
66
//
77

88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
2-
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
2+
// 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: 2016.03.03 at 05:32:06 PM IST
5+
// Generated on: 2016.08.11 at 11:22:30 PM IST
66
//
77

88

0 commit comments

Comments
 (0)