sbanken

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.3.0

type Config struct {
	AccountAliases map[string]string `yaml:"account-aliases"`
}

func LoadConfig added in v1.3.0

func LoadConfig(path string) (*Config, error)

type Connection

type Connection struct {
	// contains filtered or unexported fields
}

Connection holds the sbanken client and the output writer.

func NewEmptyConnection

func NewEmptyConnection() (*Connection, error)

NewEmptyConnection returns a new connection without a connected client.

func (*Connection) ConnectClient

func (c *Connection) ConnectClient(ctx context.Context, cliCtx *cli.Context, version string) error

ConnectClient sets up a connection to the sbanken client.

func (*Connection) GetCustomer added in v1.3.0

func (c *Connection) GetCustomer(ctx *cli.Context) error

func (*Connection) ListAccounts

func (c *Connection) ListAccounts(ctx *cli.Context) error

ListAccounts handles the accounts list command.

func (*Connection) ListCards

func (c *Connection) ListCards(ctx *cli.Context) error

ListCards handles the cards command.

func (*Connection) ListEfakturas

func (c *Connection) ListEfakturas(ctx *cli.Context) error

ListEfakturas handles the efakturas list command.

func (*Connection) ListNewEfakturas

func (c *Connection) ListNewEfakturas(ctx *cli.Context) error

ListNewEfakturas handles the efakturas list command with the --new option set.

func (*Connection) ListPayments

func (c *Connection) ListPayments(ctx *cli.Context) error

ListPayments handles the payments list command.

func (*Connection) ListStandingOrders

func (c *Connection) ListStandingOrders(ctx *cli.Context) error

ListStandingOrders handles the standing orders command.

func (*Connection) ListTransactions

func (c *Connection) ListTransactions(ctx *cli.Context) error

ListTransactions handles the list transactions command.

func (*Connection) PayEfaktura

func (c *Connection) PayEfaktura(ctx *cli.Context) error

PayEfaktura handles the efakturas pay command.

func (*Connection) ReadAccount

func (c *Connection) ReadAccount(ctx *cli.Context) error

ReadAccount handles the accounts read command.

func (*Connection) ReadEfaktura

func (c *Connection) ReadEfaktura(ctx *cli.Context) error

ReadEfaktura handles the read efakturas command.

func (*Connection) ReadPayment

func (c *Connection) ReadPayment(ctx *cli.Context) error

ReadPayment handles the payments read command.

func (*Connection) SetConfig added in v1.3.0

func (c *Connection) SetConfig(cfg *Config)

func (*Connection) SetWriter added in v1.5.0

func (c *Connection) SetWriter(ctx *cli.Context)

func (*Connection) Transfer

func (c *Connection) Transfer(ctx *cli.Context) error

Transfer handles the transfer command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL