Skip to content

Commit

Permalink
upd: melhorando doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdev01 committed Sep 26, 2024
1 parent 9c79cdb commit 71616bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/transfer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ResourceSet<Transfer> transferList = Transfer.reader().read();

## Criar transferência TED
```java
// cria a conta bancária de destino
BankAccountSetting bankAccountSetting = new BankAccountSetting()
.setBank(new BankSetting().setCode("085"))
.setAccountName("Paulo")
Expand All @@ -16,6 +17,7 @@ BankAccountSetting bankAccountSetting = new BankAccountSetting()
.setAccountDigit("5")
.setBankAccountType(BankAccountType.CONTA_CORRENTE);

// efetua o TED
Transfer ted = Transfer.tedCreator()
.setBankAccount(bankAccountSetting)
.setValue(Money.create(new BigDecimal(1.01)))
Expand Down

0 comments on commit 71616bc

Please sign in to comment.