sbanken

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

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

Connection holds the sbanken client and the output writer.

func NewEmptyConnection

func NewEmptyConnection(tw tableWriter) (*Connection, error)

NewEmptyConnection returns a new connection without a connected client.

func (*Connection) ConnectClient

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

ConnectClient sets up a connection to the sbanken client.

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) 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