Skip to content

Commit 8a4d346

Browse files
feat: Added a new endpoint to query Pix send
1 parent 00fae70 commit 8a4d346

File tree

7 files changed

+74
-63
lines changed

7 files changed

+74
-63
lines changed

.classpath

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<classpath>
3-
<classpathentry excluding="**/test/**" kind="src" output="target/classes" path="src/main/java">
4-
<attributes>
5-
<attribute name="optional" value="true"/>
6-
<attribute name="maven.pomderived" value="true"/>
7-
</attributes>
8-
</classpathentry>
9-
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
10-
<attributes>
11-
<attribute name="optional" value="true"/>
12-
<attribute name="maven.pomderived" value="true"/>
13-
<attribute name="test" value="true"/>
14-
</attributes>
15-
</classpathentry>
16-
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
17-
<attributes>
18-
<attribute name="maven.pomderived" value="true"/>
19-
<attribute name="optional" value="true"/>
20-
</attributes>
21-
</classpathentry>
22-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
23-
<attributes>
24-
<attribute name="maven.pomderived" value="true"/>
25-
</attributes>
26-
</classpathentry>
27-
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
28-
<attributes>
29-
<attribute name="maven.pomderived" value="true"/>
30-
</attributes>
31-
</classpathentry>
32-
<classpathentry kind="src" path="target/generated-sources/annotations">
33-
<attributes>
34-
<attribute name="optional" value="true"/>
35-
<attribute name="maven.pomderived" value="true"/>
36-
<attribute name="ignore_optional_problems" value="true"/>
37-
<attribute name="m2e-apt" value="true"/>
38-
</attributes>
39-
</classpathentry>
40-
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
41-
<attributes>
42-
<attribute name="maven.pomderived" value="true"/>
43-
<attribute name="test" value="true"/>
44-
<attribute name="optional" value="true"/>
45-
</attributes>
46-
</classpathentry>
47-
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
48-
<attributes>
49-
<attribute name="optional" value="true"/>
50-
<attribute name="maven.pomderived" value="true"/>
51-
<attribute name="ignore_optional_problems" value="true"/>
52-
<attribute name="m2e-apt" value="true"/>
53-
<attribute name="test" value="true"/>
54-
</attributes>
55-
</classpathentry>
56-
<classpathentry kind="output" path="target/classes"/>
57-
</classpath>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry excluding="**/test/**" kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
10+
<attributes>
11+
<attribute name="optional" value="true"/>
12+
<attribute name="maven.pomderived" value="true"/>
13+
<attribute name="test" value="true"/>
14+
</attributes>
15+
</classpathentry>
16+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
17+
<attributes>
18+
<attribute name="maven.pomderived" value="true"/>
19+
<attribute name="optional" value="true"/>
20+
</attributes>
21+
</classpathentry>
22+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
23+
<attributes>
24+
<attribute name="maven.pomderived" value="true"/>
25+
</attributes>
26+
</classpathentry>
27+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
28+
<attributes>
29+
<attribute name="maven.pomderived" value="true"/>
30+
</attributes>
31+
</classpathentry>
32+
<classpathentry kind="src" path="target/generated-sources/annotations">
33+
<attributes>
34+
<attribute name="optional" value="true"/>
35+
<attribute name="maven.pomderived" value="true"/>
36+
<attribute name="ignore_optional_problems" value="true"/>
37+
<attribute name="m2e-apt" value="true"/>
38+
</attributes>
39+
</classpathentry>
40+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
41+
<attributes>
42+
<attribute name="maven.pomderived" value="true"/>
43+
<attribute name="test" value="true"/>
44+
<attribute name="optional" value="true"/>
45+
</attributes>
46+
</classpathentry>
47+
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
48+
<attributes>
49+
<attribute name="optional" value="true"/>
50+
<attribute name="maven.pomderived" value="true"/>
51+
<attribute name="ignore_optional_problems" value="true"/>
52+
<attribute name="m2e-apt" value="true"/>
53+
<attribute name="test" value="true"/>
54+
</attributes>
55+
</classpathentry>
56+
<classpathentry kind="output" path="target/classes"/>
57+
</classpath>

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 1.0.1
2+
3+
- Added a new endpoint and example to query a Pix send by its Id
4+
- Updated method "getAccountCertificate()" renamed to "createAccountCertificate()"
5+
- Updated the endpoint method "/v1/conta-simplificação/:idContaSimplificação/certificate" from "GET" to "POST"
6+
17
# 1.0.0
28

39
- Initial release
10+

README-en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For more informations about [parameters](http://dev.sejaefi.com.br) and [values]
2222
**Via gradle:**
2323

2424
```gradle
25-
compile 'br.com.efipay.efisdk:sdk-java-apis-efi:1.0.0'
25+
implementation 'br.com.efipay.efisdk:sdk-java-apis-efi:1.0.0'
2626
```
2727

2828
**Via maven:**

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Para mais informações sobre [parâmetros](http://sejaefi.com.br/api) e [valore
2323
**Via gradle:**
2424

2525
```gradle
26-
compile 'br.com.efipay.efisdk:sdk-java-apis-efi:1.0.0'
26+
implementation 'br.com.efipay.efisdk:sdk-java-apis-efi:1.0.0'
2727
```
2828

2929
**Via maven:**

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>br.com.efipay.efisdk</groupId>
55
<artifactId>sdk-java-apis-efi</artifactId>
6-
<version>1.0.0</version>
6+
<version>1.0.1</version>
77

88
<name>SDK JAVA APIS EFI</name>
99
<description>Java SDK for integrating with Efí API</description>

src/main/java/br/com/efi/efisdk/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*/
1313
public class Config {
14-
private final static String version = "1.0.0";
14+
private final static String version = "1.0.1";
1515
private JSONObject conf = new JSONObject();
1616
private JSONObject endpoints = new JSONObject();
1717
private JSONObject urls = new JSONObject();

src/main/resources/config.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@
246246
"route": "/v2/gn/pix/enviados/:e2eId",
247247
"method": "get"
248248
},
249+
"pixSendDetailId": {
250+
"route": "/v2/gn/pix/enviados/id-envio/:idEnvio",
251+
"method": "get"
252+
},
249253
"pixSendList": {
250254
"route": "/v2/gn/pix/enviados",
251255
"method": "get"
@@ -446,9 +450,9 @@
446450
"route": "/v1/conta-simplificada/:idContaSimplificada/credenciais",
447451
"method": "get"
448452
},
449-
"getAccountCertificate": {
453+
"createAccountCertificate": {
450454
"route": "/v1/conta-simplificada/:idContaSimplificada/certificado",
451-
"method": "get"
455+
"method": "post"
452456
},
453457
"accountConfigWebhook": {
454458
"route": "/v1/webhook",

0 commit comments

Comments
 (0)