Skip to content

Commit e4f0265

Browse files
author
brianmc
committed
Merged AT changes
2 parents 21dc88b + 3b2421c commit e4f0265

File tree

790 files changed

+46410
-54160
lines changed

Some content is hidden

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

790 files changed

+46410
-54160
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,20 @@ Prerequisites
2323
Dependencies
2424
============
2525

26-
The SDK is offered with very few dependencies.
27-
2826
* commons-logging-1.1.1.jar : logging
2927
* log4j-1.2.16.jar : logging
3028
* httpclient-4.0.1.jar : http communication with the payment gateway
3129
* httpcore-4.0.1.jar : http communication with the payment gateway
3230
* junit-4.8.2.jar : unit testing
31+
* hamcrest-core-1.3.jar : unit testing
32+
* hamcrest-library-1.3.jar : unit testing
33+
* jmock-2.6.0.jar : unit testing
3334

3435
Build process
3536
==============
3637

3738
* Note: To properly run the unit tests, please reference the
38-
anet_java_sdk.properties.example file, which is a simple properties file that
39+
anet-java-sdk.properties file, which is a simple properties file that
3940
holds the API credentials for testing the SDK.
4041

4142

anet-java-sdk.properties

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# populate this file and put it into your ${user.home} directory named as
2+
# anet-java-sdk.properties
3+
#
4+
# If using Eclipse, set working directory in your Run/Debug configuration to ${user.home}
5+
#
6+
api.login.id=API_LOGIN_ID
7+
transaction.key=TRANSACTION_KEY
8+
md5.hash.key=MD5_HASH_KEY
9+
10+
# if behind a proxy, use these settings:
11+
# http.proxyHost=HTTP_PROXY_HOST
12+
# http.proxyPort=HTTP_PROXY_PORT
13+
# http.ProxyUse=true
14+
# https.proxyHost=HTTPS_PROXY_HOST
15+
# https.proxyPort=HTTPS_PROXY_PORT
16+
# https.proxyUse=true

anet_java_sdk.properties

Lines changed: 0 additions & 11 deletions
This file was deleted.

build.properties.example

Lines changed: 0 additions & 8 deletions
This file was deleted.

build.xml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,12 @@
1111
<property name="resources.dir" value="${basedir}/resources" />
1212
<property name="reports.tests" value="${basedir}/target/reports" />
1313
<property name="javac.version" value="1.5" />
14-
<!--
15-
<property file="${resources.dir}/build.properties"/>
16-
-->
17-
<!-- build.properties related info -->
18-
<property file="${basedir}/build.properties" />
19-
<property file="${basedir}/${ant.project.name}.properties" />
20-
21-
<property name="prop.message" value="must be defined, preferably in ${basedir}/build.properties or ${basedir}/${ant.project.name}.properties" />
14+
15+
<property file="${user.home}/${ant.project.name}.properties" />
16+
17+
<property name="prop.message" value="must be defined in ${user.home}/${ant.project.name}.properties" />
2218
<fail message="api.login.id ${prop.message}" unless="api.login.id" />
2319
<fail message="transaction.key ${prop.message}" unless="transaction.key" />
24-
<fail message="cp.api.login.id ${prop.message}" unless="cp.api.login.id" />
25-
<fail message="cp.transaction.key ${prop.message}" unless="cp.transaction.key" />
2620
<fail message="md5.hash.key ${prop.message}" unless="md5.hash.key" />
2721

2822
<path id="classpath">
@@ -94,8 +88,6 @@
9488
</classpath>
9589
<sysproperty key="API_LOGIN_ID" value="${api.login.id}" />
9690
<sysproperty key="TRANSACTION_KEY" value="${transaction.key}" />
97-
<sysproperty key="CP_API_LOGIN_ID" value="${cp.api.login.id}" />
98-
<sysproperty key="CP_TRANSACTION_KEY" value="${cp.transaction.key}" />
9991
<sysproperty key="MD5_HASH_KEY" value="${md5.hash.key}" />
10092
<formatter type="plain" />
10193
<batchtest fork="yes" todir="${reports.tests}">

docs/javadocs/allclasses-frame.html

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_05) on Tue Aug 05 17:26:45 PDT 2014 -->
5+
<!-- Generated by javadoc (version 1.7.0_55) on Wed Dec 17 13:21:21 PST 2014 -->
66
<title>All Classes (Authorize.Net Java SDK)</title>
7-
<meta name="date" content="2014-08-05">
7+
<meta name="date" content="2014-12-17">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
9-
<script type="text/javascript" src="script.js"></script>
109
</head>
1110
<body>
12-
<h1 class="bar">All&nbsp;Classes</h1>
11+
<h1 class="bar">All Classes</h1>
1312
<div class="indexContainer">
1413
<ul>
1514
<li><a href="net/authorize/api/contract/v1/AccountTypeEnum.html" title="enum in net.authorize.api.contract.v1" target="classFrame">AccountTypeEnum</a></li>
@@ -80,13 +79,19 @@ <h1 class="bar">All&nbsp;Classes</h1>
8079
<li><a href="net/authorize/api/contract/v1/CreateCustomerPaymentProfileRequest.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateCustomerPaymentProfileRequest</a></li>
8180
<li><a href="net/authorize/api/contract/v1/CreateCustomerPaymentProfileResponse.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateCustomerPaymentProfileResponse</a></li>
8281
<li><a href="net/authorize/api/controller/CreateCustomerProfileController.html" title="class in net.authorize.api.controller" target="classFrame">CreateCustomerProfileController</a></li>
82+
<li><a href="net/authorize/api/controller/CreateCustomerProfileFromTransactionConroller.html" title="class in net.authorize.api.controller" target="classFrame">CreateCustomerProfileFromTransactionConroller</a></li>
83+
<li><a href="net/authorize/api/contract/v1/CreateCustomerProfileFromTransactionRequest.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateCustomerProfileFromTransactionRequest</a></li>
8384
<li><a href="net/authorize/api/contract/v1/CreateCustomerProfileRequest.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateCustomerProfileRequest</a></li>
8485
<li><a href="net/authorize/api/contract/v1/CreateCustomerProfileResponse.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateCustomerProfileResponse</a></li>
8586
<li><a href="net/authorize/api/contract/v1/CreateCustomerProfileTransactionRequest.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateCustomerProfileTransactionRequest</a></li>
8687
<li><a href="net/authorize/api/contract/v1/CreateCustomerProfileTransactionResponse.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateCustomerProfileTransactionResponse</a></li>
8788
<li><a href="net/authorize/api/controller/CreateCustomerShippingAddressController.html" title="class in net.authorize.api.controller" target="classFrame">CreateCustomerShippingAddressController</a></li>
8889
<li><a href="net/authorize/api/contract/v1/CreateCustomerShippingAddressRequest.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateCustomerShippingAddressRequest</a></li>
8990
<li><a href="net/authorize/api/contract/v1/CreateCustomerShippingAddressResponse.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateCustomerShippingAddressResponse</a></li>
91+
<li><a href="net/authorize/api/controller/CreateFingerPrintController.html" title="class in net.authorize.api.controller" target="classFrame">CreateFingerPrintController</a></li>
92+
<li><a href="net/authorize/api/contract/v1/CreateFingerPrintRequest.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateFingerPrintRequest</a></li>
93+
<li><a href="net/authorize/api/contract/v1/CreateFingerPrintResponse.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateFingerPrintResponse</a></li>
94+
<li><a href="net/authorize/api/contract/v1/CreateProfileResponse.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateProfileResponse</a></li>
9095
<li><a href="net/authorize/api/controller/CreateTransactionController.html" title="class in net.authorize.api.controller" target="classFrame">CreateTransactionController</a></li>
9196
<li><a href="net/authorize/api/contract/v1/CreateTransactionRequest.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateTransactionRequest</a></li>
9297
<li><a href="net/authorize/api/contract/v1/CreateTransactionResponse.html" title="class in net.authorize.api.contract.v1" target="classFrame">CreateTransactionResponse</a></li>
@@ -147,6 +152,8 @@ <h1 class="bar">All&nbsp;Classes</h1>
147152
<li><a href="net/authorize/data/xml/reporting/FDSFilterActionType.html" title="enum in net.authorize.data.xml.reporting" target="classFrame">FDSFilterActionType</a></li>
148153
<li><a href="net/authorize/api/contract/v1/FDSFilterType.html" title="class in net.authorize.api.contract.v1" target="classFrame">FDSFilterType</a></li>
149154
<li><a href="net/authorize/sim/Fingerprint.html" title="class in net.authorize.sim" target="classFrame">Fingerprint</a></li>
155+
<li><a href="net/authorize/api/contract/v1/FingerPrintSupportInformationType.html" title="class in net.authorize.api.contract.v1" target="classFrame">FingerPrintSupportInformationType</a></li>
156+
<li><a href="net/authorize/api/contract/v1/FingerPrintType.html" title="class in net.authorize.api.contract.v1" target="classFrame">FingerPrintType</a></li>
150157
<li><a href="net/authorize/api/controller/GetBatchStatisticsController.html" title="class in net.authorize.api.controller" target="classFrame">GetBatchStatisticsController</a></li>
151158
<li><a href="net/authorize/api/contract/v1/GetBatchStatisticsRequest.html" title="class in net.authorize.api.contract.v1" target="classFrame">GetBatchStatisticsRequest</a></li>
152159
<li><a href="net/authorize/api/contract/v1/GetBatchStatisticsResponse.html" title="class in net.authorize.api.contract.v1" target="classFrame">GetBatchStatisticsResponse</a></li>
@@ -183,7 +190,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
183190
<li><a href="net/authorize/util/HttpCallTask.html" title="class in net.authorize.util" target="classFrame">HttpCallTask</a></li>
184191
<li><a href="net/authorize/util/HttpClient.html" title="class in net.authorize.util" target="classFrame">HttpClient</a></li>
185192
<li><a href="net/authorize/util/HttpUtility.html" title="class in net.authorize.util" target="classFrame">HttpUtility</a></li>
186-
<li><a href="net/authorize/api/controller/base/IApiOperation.html" title="interface in net.authorize.api.controller.base" target="classFrame"><span class="interfaceName">IApiOperation</span></a></li>
193+
<li><a href="net/authorize/api/controller/base/IApiOperation.html" title="interface in net.authorize.api.controller.base" target="classFrame"><i>IApiOperation</i></a></li>
187194
<li><a href="net/authorize/sim/button/ImageButton.html" title="class in net.authorize.sim.button" target="classFrame">ImageButton</a></li>
188195
<li><a href="net/authorize/api/contract/v1/ImpersonationAuthenticationType.html" title="class in net.authorize.api.contract.v1" target="classFrame">ImpersonationAuthenticationType</a></li>
189196
<li><a href="net/authorize/api/controller/IsAliveController.html" title="class in net.authorize.api.controller" target="classFrame">IsAliveController</a></li>
@@ -221,6 +228,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
221228
<li><a href="net/authorize/api/contract/v1/NameAndAddressType.html" title="class in net.authorize.api.contract.v1" target="classFrame">NameAndAddressType</a></li>
222229
<li><a href="net/authorize/data/echeck/NOCCode.html" title="enum in net.authorize.data.echeck" target="classFrame">NOCCode</a></li>
223230
<li><a href="net/authorize/api/contract/v1/ObjectFactory.html" title="class in net.authorize.api.contract.v1" target="classFrame">ObjectFactory</a></li>
231+
<li><a href="net/authorize/api/contract/v1/OpaqueDataType.html" title="class in net.authorize.api.contract.v1" target="classFrame">OpaqueDataType</a></li>
224232
<li><a href="net/authorize/api/contract/v1/OperationType.html" title="enum in net.authorize.api.contract.v1" target="classFrame">OperationType</a></li>
225233
<li><a href="net/authorize/data/Order.html" title="class in net.authorize.data" target="classFrame">Order</a></li>
226234
<li><a href="net/authorize/api/contract/v1/OrderExType.html" title="class in net.authorize.api.contract.v1" target="classFrame">OrderExType</a></li>
@@ -291,6 +299,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
291299
<li><a href="net/authorize/data/arb/SubscriptionStatusType.html" title="enum in net.authorize.data.arb" target="classFrame">SubscriptionStatusType</a></li>
292300
<li><a href="net/authorize/data/arb/SubscriptionUnitType.html" title="enum in net.authorize.data.arb" target="classFrame">SubscriptionUnitType</a></li>
293301
<li><a href="net/authorize/sim/button/TextButton.html" title="class in net.authorize.sim.button" target="classFrame">TextButton</a></li>
302+
<li><a href="net/authorize/api/contract/v1/TokenMaskedType.html" title="class in net.authorize.api.contract.v1" target="classFrame">TokenMaskedType</a></li>
294303
<li><a href="net/authorize/aim/Transaction.html" title="class in net.authorize.aim" target="classFrame">Transaction</a></li>
295304
<li><a href="net/authorize/arb/Transaction.html" title="class in net.authorize.arb" target="classFrame">Transaction</a></li>
296305
<li><a href="net/authorize/cim/Transaction.html" title="class in net.authorize.cim" target="classFrame">Transaction</a></li>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy