service

package
v0.0.0-...-9035b86 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 4 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 {
	NewAccount(request dto.AccountRequest) (*dto.AccountResponse, *errs.AppError)
	MakeTransaction(request dto.TransactionRequest) (*dto.TransactionResponse, *errs.AppError)
}

type CustomerService

type CustomerService interface {
	GetAllCustomer(status string) ([]dto.CustomerResponse, *errs.AppError)
	GetById(id string) (*dto.CustomerResponse, *errs.AppError)
}

type DefaultAccountService

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

func (DefaultAccountService) MakeTransaction

func (DefaultAccountService) NewAccount

type DefaultCustomerService

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

func NewCustomerService

func NewCustomerService(repository domain.CustomerRepository) DefaultCustomerService

func (DefaultCustomerService) GetAllCustomer

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

func (DefaultCustomerService) GetById

Jump to

Keyboard shortcuts

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