@@ -78,6 +78,23 @@ var customer = await facturapi.Customer.CreateAsync(new Dictionary<string, objec
7878});
7979```
8080
81+ </TabItem >
82+ <TabItem value = " java" label = " Java" >
83+
84+ ``` java
85+ import io.facturapi.Facturapi ;
86+ import java.util.Map ;
87+
88+ Facturapi facturapi = new Facturapi (" sk_test_API_KEY" );
89+ var customer = facturapi. customers(). create(Map . of(
90+ " legal_name" , " Dunder Mifflin" ,
91+ " tax_id" , " ABC101010111" ,
92+ " tax_system" , " 601" ,
93+ " email" , " email@example.com" ,
94+ " address" , Map . of(" zip" , " 85900" )
95+ ), null );
96+ ```
97+
8198</TabItem >
8299<TabItem value = " php" label = " PHP" >
83100
@@ -200,6 +217,26 @@ var customer = await facturapi.Customer.CreateAsync(new Dictionary<string, objec
200217});
201218```
202219
220+ </TabItem >
221+ <TabItem value = " java" label = " Java" >
222+
223+ ``` java
224+ import io.facturapi.Facturapi ;
225+ import java.util.Map ;
226+
227+ Facturapi facturapi = new Facturapi (" sk_test_API_KEY" );
228+ var customer = facturapi. customers(). create(Map . of(
229+ " legal_name" , " Vättenfall, A.B." ,
230+ " tax_id" , " 198912171234" ,
231+ " email" , " email@example.com" ,
232+ " address" , Map . of(
233+ " country" , " SWE" ,
234+ " zip" , " 17123" ,
235+ " city" , " Stockholm"
236+ )
237+ ), null );
238+ ```
239+
203240</TabItem >
204241<TabItem value = " php" label = " PHP" >
205242
@@ -289,6 +326,19 @@ var customer = await facturapi.Customer.CreateAsync(new Dictionary<string, objec
289326});
290327```
291328
329+ </TabItem >
330+ <TabItem value = " java" label = " Java" >
331+
332+ ``` java
333+ import io.facturapi.Facturapi ;
334+ import java.util.Map ;
335+
336+ Facturapi facturapi = new Facturapi (" sk_test_API_KEY" );
337+ var customer = facturapi. customers(). create(Map . of(
338+ " email" , " cliente@ejemplo.com"
339+ ), Map . of(" createEditLink" , true ));
340+ ```
341+
292342</TabItem >
293343<TabItem value = " php" label = " PHP" >
294344
@@ -347,6 +397,16 @@ await facturapi.Customer.SendEditLinkByEmailAsync("62714bc2d1bfa410df1d98eb", ne
347397 });
348398```
349399
400+ </TabItem >
401+ <TabItem value = " java" label = " Java" >
402+
403+ ``` java
404+ facturapi. customers(). sendEditLinkByEmail(
405+ " 62714bc2d1bfa410df1d98eb" ,
406+ " cliente@ejemplo.com"
407+ );
408+ ```
409+
350410</TabItem >
351411<TabItem value = " php" label = " PHP" >
352412
@@ -369,4 +429,4 @@ curl -X POST https://www.facturapi.io/v2/customers/62714bc2d1bfa410df1d98eb/emai
369429```
370430
371431</TabItem >
372- </Tabs >
432+ </Tabs >
0 commit comments