service

package
v0.0.0-...-70c8d4d Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: GPL-3.0 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 interface {
	AddNewAccount(dto.NewAccountRequest) (*dto.AccountResponse, *errs.AppError)
}

type CustomerService

type CustomerService interface {
	GetAllCustomers(string) ([]dto.CustomerResponse, *errs.AppError)
	GetCustomer(string) (*dto.CustomerResponse, *errs.AppError)
}

type DefaultAccountService

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

func NewAccountService

func NewAccountService(repository domain.AccountRepository) DefaultAccountService

func (DefaultAccountService) AddNewAccount

type DefaultCustomerService

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

func NewCustomerService

func NewCustomerService(repository domain.CustomerRepository) DefaultCustomerService

func (DefaultCustomerService) GetAllCustomers

func (s DefaultCustomerService) GetAllCustomers(status string) ([]dto.CustomerResponse, *errs.AppError)

func (DefaultCustomerService) GetCustomer

type DefaultTranscationService

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

func NewTransactionService

func NewTransactionService(repository domain.TransactionRepository) DefaultTranscationService

func (DefaultTranscationService) WithdrawTransaction

type TranscationService

type TranscationService interface {
	WithdrawTransaction(dto.TransactionRequest) (*dto.TransactionResponse, *errs.AppError)
}

Jump to

Keyboard shortcuts

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