File: pin_tan_dialog_examples_test.go

package info (click to toggle)
golang-github-mitch000001-go-hbci 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,468 kB
  • sloc: java: 1,092; makefile: 5
file content (19 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package dialog_test

import (
	"github.com/mitch000001/go-hbci/domain"
)
import "github.com/mitch000001/go-hbci/dialog"

func ExamplePinTanDialog() {
	cfg := dialog.Config{
		HBCIURL: "https://bank.de/hbci",
		UserID:  "100000000",
		BankID: domain.BankID{
			CountryCode: 280,
			ID:          "1000000",
		},
	}
	d := dialog.NewPinTanDialog(cfg)
	d.SetPin("12345")
}