Skip to content

Commit b327955

Browse files
committed
unify format and wording of README files
1 parent 22a2bcc commit b327955

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

README.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
1-
# Sample Java Code for Authorize.Net
2-
[![Build Status](https://travis-ci.org/AuthorizeNet/sample-code-java.png?branch=master)](https://travis-ci.org/AuthorizeNet/sample-code-java)
1+
# Java Sample Code for the Authorize.Net SDK
2+
[![Travis CI Status](https://travis-ci.org/AuthorizeNet/sample-code-java.svg?branch=master)](https://travis-ci.org/AuthorizeNet/sample-code-java)
33

4-
This repository contains working code samples which demonstrate Java integration with the Authorize.Net Java SDK
5-
The samples are organized just like our API, which you can also try out directly here: http://developer.authorize.net/api/reference
4+
This repository contains working code samples which demonstrate Java integration with the [Authorize.Net Java SDK](https://www.github.com/AuthorizeNet/sdk-java).
5+
6+
The samples are organized into categories and common usage examples, just like our [API Reference Guide](http://developer.authorize.net/api/reference). Our API Reference Guide is an interactive reference for the Authorize.Net API. It explains the request and response parameters for each API method and has embedded code windows to allow you to send actual requests right within the API Reference Guide.
67

78

89
## Using the Sample Code
910

10-
The samples are all completely independent and self-contained so you can look at them to get a gist of how the method works, you can use the snippets to try in your own sample project, or you can run each sample from the command line.
11+
The samples are all completely independent and self-contained. You can analyze them to get an understanding of how a particular method works, or you can use the snippets as a starting point for your own project.
12+
13+
You can also run each sample directly from the command line.
1114

12-
## Running the Samples
13-
1. Clone this repository.
14-
2. Run "mvn package" in the root directory to create the SampleCode console app.
15-
3. Then run a sample directly by name:
15+
## Running the Samples From the Command Line
16+
* Clone this repository:
17+
```
18+
$ git clone https://github.com/AuthorizeNet/sample-code-java.git
19+
```
20+
* Run "mvn package" in the root directory to create the SampleCode console app.
21+
* Run the individual samples by name. For example:
1622
```
1723
> java -jar target/SampleCode.jar [CodeSampleName]
1824
```
1925
e.g.
2026
```
2127
> java -jar target/SampleCode.jar ChargeCreditCard
2228
```
23-
Running SampleCode without a parameter will give you the list of sample names. Handy or what!
29+
Running SampleCode without a parameter will give you the list of sample names.
2430

2531
**NOTE : You can update to your Sandbox credentials in SampleCode.java**
2632

@@ -32,5 +38,3 @@ Please set the JAVA environment proxy using a similar code :
3238
System.setProperty("https.proxyHost", "127.0.0.1");
3339
System.setProperty("https.proxyPort", "3128");
3440
```
35-
36-
*PLEASE NOTE THIS PROJECT IS CURRENTLY UNDER DEVELOPMENT*

0 commit comments

Comments
 (0)