payment

package
v0.0.0-...-0642f7a Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(
	dbRepositoryDynamo *db.DBRepositoryDynamo,
	provider paymentprovider.PaymentProvider,
) *Handler

func (*Handler) Charge

func (*Handler) Refund

type RepositoryPaymentDynamo

type RepositoryPaymentDynamo struct {
	*db.DBRepositoryDynamo
}

func (RepositoryPaymentDynamo) Get

func (r RepositoryPaymentDynamo) Get(ctx context.Context, payment *payment) error

func (RepositoryPaymentDynamo) Insert

func (r RepositoryPaymentDynamo) Insert(ctx context.Context, payment *payment) error

func (RepositoryPaymentDynamo) List

func (r RepositoryPaymentDynamo) List(ctx context.Context, payment *paymentlist, pagination db.Pagination) (int32, string, error)

func (RepositoryPaymentDynamo) Update

func (r RepositoryPaymentDynamo) Update(ctx context.Context, payment *payment) error

Jump to

Keyboard shortcuts

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