You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+49-49Lines changed: 49 additions & 49 deletions
Original file line number
Diff line number
Diff line change
@@ -16,31 +16,31 @@ you will need internet access for a successful build.
16
16
17
17
* In order to open the client library in Eclipse click on `File -> Import`.
18
18
19
-

19
+

20
20
21
21
* In the import dialog, select `Existing Java Project` and click `Next`.
22
22
23
-

23
+

24
24
25
25
* Browse to locate the folder containing the source code. Select the detected location of the project and click `Finish`.
26
26
27
-

27
+

28
28
29
29
* Upon successful import, the project will be automatically built by Eclipse after automatically resolving the dependencies.
30
30
31
-

31
+

32
32
33
33
* After successfully building the project, the client library needs to be installed as a Maven package in your local cache. Right-click on the project, select `Show in Local Terminal -> Terminal` or use `Ctrl + Alt + T` to open Terminal.
34
34
35
-

35
+

36
36
37
37
* In the terminal dialog, run the following command to install client library.

43
+

44
44
45
45
## Installation
46
46
@@ -50,35 +50,35 @@ The following section explains how to use the PagarmeApiSDKLib library in a new
50
50
51
51
For starting a new project, click the menu command `File > New > Project`.
52
52
53
-

53
+

54
54
55
55
Next, choose `Maven > Maven Project` and click `Next`.
56
56
57
-

57
+

58
58
59
59
Here, make sure to use the current workspace by choosing `Use default Workspace location`, as shown in the picture below and click `Next`.
60
60
61
-

61
+

62
62
63
63
Following this, select the *quick start* project type to create a simple project with an existing class and a `main` method. To do this, choose `maven-archetype-quickstart` item from the list and click `Next`.
64
64
65
-

65
+

66
66
67
67
In the last step, provide a `Group Id` and `Artifact Id` as shown in the picture below and click `Finish`.
68
68
69
-

69
+

70
70
71
71
### 2. Add reference of the library project
72
72
73
73
The created Maven project manages its dependencies using its `pom.xml` file. In order to add a dependency on the *PagarmeApiSDKLib* client library, double click on the `pom.xml` file in the `Package Explorer`. Opening the `pom.xml` file will render a graphical view on the canvas. Here, switch to the `Dependencies` tab and click the `Add` button as shown in the picture below.
74
74
75
-

75
+

76
76
77
-
Clicking the `Add` button will open a dialog where you need to specify PagarmeApiSDKLib in `Group Id`, pagarme-api-sdklib in `Artifact Id` and 6.8.14 in the `Version` fields. Once added click `OK`. Save the `pom.xml` file.
77
+
Clicking the `Add` button will open a dialog where you need to specify PagarmeApiSDKLib in `Group Id`, pagarme-api-sdklib in `Artifact Id` and 6.8.15 in the `Version` fields. Once added click `OK`. Save the `pom.xml` file.
78
78
79
-

79
+

@@ -87,15 +87,15 @@ Here, you can add code to initialize the client library and instantiate a *Contr
87
87
88
88
## Initialize the API Client
89
89
90
-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.14/doc/client.md)
90
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.15/doc/client.md)
91
91
92
92
The following parameters are configurable for the API Client:
93
93
94
94
| Parameter | Type | Description |
95
95
| --- | --- | --- |
96
96
|`serviceRefererName`|`String`||
97
-
|`httpClientConfig`|[`Consumer<HttpClientConfiguration.Builder>`](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.14/doc/http-client-configuration-builder.md)| Set up Http Client Configuration instance. |
98
-
|`basicAuthCredentials`|[`BasicAuthCredentials`](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.14/doc/auth/basic-authentication.md)| The Credentials Setter for Basic Authentication |
97
+
|`httpClientConfig`|[`Consumer<HttpClientConfiguration.Builder>`](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.15/doc/http-client-configuration-builder.md)| Set up Http Client Configuration instance. |
98
+
|`basicAuthCredentials`|[`BasicAuthCredentials`](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.15/doc/auth/basic-authentication.md)| The Credentials Setter for Basic Authentication |
99
99
100
100
The API client can be initialized as follows:
101
101
@@ -116,48 +116,48 @@ PagarmeApiSDKClient client = new PagarmeApiSDKClient.Builder()
116
116
117
117
This API uses the following authentication schemes.
| 401 | Invalid API key |[`ErrorException`](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.14/doc/models/error-exception.md)|
129
-
| 404 | An informed resource was not found |[`ErrorException`](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.14/doc/models/error-exception.md)|
130
-
| 412 | Business validation error |[`ErrorException`](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.14/doc/models/error-exception.md)|
| 401 | Invalid API key |[`ErrorException`](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.15/doc/models/error-exception.md)|
129
+
| 404 | An informed resource was not found |[`ErrorException`](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.15/doc/models/error-exception.md)|
130
+
| 412 | Business validation error |[`ErrorException`](https://www.github.com/pagarme/pagarme-java-sdk/tree/6.8.15/doc/models/error-exception.md)|
0 commit comments