merchantapi

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockchainService

type BlockchainService interface {
	blockchain.Resolver
	blockchain.Convertor
}

type Handler

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

func NewHandler

func NewHandler(
	merchants *merchant.Service,
	tokens *auth.TokenAuthManager,
	payments *payment.Service,
	wallets *wallet.Service,
	blockchainService BlockchainService,
	publisher bus.Publisher,
	logger *zerolog.Logger,
) *Handler

func (*Handler) CreateFormSubmission

func (h *Handler) CreateFormSubmission(c echo.Context) error

func (*Handler) CreateMerchant

func (h *Handler) CreateMerchant(c echo.Context) error

func (*Handler) CreateMerchantAddress

func (h *Handler) CreateMerchantAddress(c echo.Context) error

func (*Handler) CreateMerchantToken

func (h *Handler) CreateMerchantToken(c echo.Context) error

func (*Handler) CreatePayment

func (h *Handler) CreatePayment(c echo.Context) error
func (h *Handler) CreatePaymentLink(c echo.Context) error

func (*Handler) CreateWithdrawal

func (h *Handler) CreateWithdrawal(c echo.Context) error

func (*Handler) DeleteMerchant

func (h *Handler) DeleteMerchant(c echo.Context) error

func (*Handler) DeleteMerchantAddress

func (h *Handler) DeleteMerchantAddress(c echo.Context) error

func (*Handler) DeleteMerchantTokens

func (h *Handler) DeleteMerchantTokens(c echo.Context) error
func (h *Handler) DeletePaymentLink(c echo.Context) error

func (*Handler) GetCurrencyConvert

func (h *Handler) GetCurrencyConvert(c echo.Context) error

func (*Handler) GetCustomerDetails

func (h *Handler) GetCustomerDetails(c echo.Context) error

func (*Handler) GetMerchant

func (h *Handler) GetMerchant(c echo.Context) error

func (*Handler) GetMerchantAddress

func (h *Handler) GetMerchantAddress(c echo.Context) error

func (*Handler) GetPayment

func (h *Handler) GetPayment(c echo.Context) error
func (h *Handler) GetPaymentLink(c echo.Context) error

func (*Handler) GetWithdrawalFee

func (h *Handler) GetWithdrawalFee(c echo.Context) error

func (*Handler) ListBalances

func (h *Handler) ListBalances(c echo.Context) error

func (*Handler) ListCustomers

func (h *Handler) ListCustomers(c echo.Context) error

func (*Handler) ListMerchantAddresses

func (h *Handler) ListMerchantAddresses(c echo.Context) error

func (*Handler) ListMerchantTokens

func (h *Handler) ListMerchantTokens(c echo.Context) error

func (*Handler) ListMerchants

func (h *Handler) ListMerchants(c echo.Context) error
func (h *Handler) ListPaymentLinks(c echo.Context) error

func (*Handler) ListPayments

func (h *Handler) ListPayments(c echo.Context) error

func (*Handler) MerchantService

func (h *Handler) MerchantService() *merchant.Service

func (*Handler) UpdateMerchant

func (h *Handler) UpdateMerchant(c echo.Context) error

func (*Handler) UpdateMerchantAddress

func (h *Handler) UpdateMerchantAddress(c echo.Context) error

func (*Handler) UpdateMerchantSupportedMethods

func (h *Handler) UpdateMerchantSupportedMethods(c echo.Context) error

func (*Handler) UpdateMerchantWebhook

func (h *Handler) UpdateMerchantWebhook(c echo.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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