-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
35 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## Scheduling invoice | ||
```java | ||
Invoice invoice = Invoice.creator() | ||
.setServiceDescription("Nota fiscal da Fatura 101940. Descrição dos Serviços: ANÁLISE E DESENVOLVIMENTO DE SISTEMAS") | ||
.setObservations("Mensal referente aos trabalhos de Junho.") | ||
.setValue(Money.create(300)) | ||
.setDeductions(Money.create(2)) | ||
.setEffectiveDate(new Date()) | ||
.setMunicipalServiceName("Análise e Desenvolvimento de Sistemas") | ||
.setTaxes( | ||
new Taxes() | ||
.setRetainIss(true) | ||
.setIss(Money.create(3)) | ||
.setCofins(Money.create(3)) | ||
.setCsll(Money.create(1)) | ||
.setInss(Money.create(3)) | ||
.setIr(Money.create(1.5)) | ||
.setPis(Money.create(0.65)) | ||
) | ||
.create(); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## Cancelar uma transação Pix | ||
|
||
Para cancelar uma transação Pix, você deve informar o id da transação Pix que deseja cancelar. | ||
|
||
```java | ||
PixTransaction cancelledPixTransaction = PixTransaction | ||
.canceller("35363f6e-93e2-11ec-b9d9-96f4053b1bd4") | ||
.create(); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters