account_application

package
v0.0.0-...-36d8597 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountService

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

func New

func New(logger logger.Logger, accountRepository billing_store.AccountRepository) (*AccountService, error)

func (*AccountService) Add

func (*AccountService) Delete

func (acc *AccountService) Delete(ctx context.Context, id string) error

func (*AccountService) Get

func (acc *AccountService) Get(ctx context.Context, id string) (*billing.Account, error)

func (*AccountService) List

func (acc *AccountService) List(ctx context.Context, filter interface{}) ([]*billing.Account, error)

func (*AccountService) Update

func (acc *AccountService) Update(ctx context.Context, in *billing.Account) (*billing.Account, error)

Jump to

Keyboard shortcuts

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