dialog/pin_tan_dialog_examples_test.go
raw| 1 | package dialog_test |
| 2 | |
| 3 | import ( |
| 4 | "github.com/mitch000001/go-hbci/domain" |
| 5 | ) |
| 6 | import "github.com/mitch000001/go-hbci/dialog" |
| 7 | |
| 8 | func ExamplePinTanDialog() { |
| 9 | cfg := dialog.Config{ |
| 10 | HBCIURL: "https://bank.de/hbci", |
| 11 | UserID: "100000000", |
| 12 | BankID: domain.BankID{ |
| 13 | CountryCode: 280, |
| 14 | ID: "1000000", |
| 15 | }, |
| 16 | } |
| 17 | d := dialog.NewPinTanDialog(cfg) |
| 18 | d.SetPin("12345") |
| 19 | } |