postgresql

package
v0.0.0-...-7544875 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Payment

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

Payment represent orders tables

func NewPayment

func NewPayment(d db.DBTX) *Payment

func (*Payment) FindByPaymentTrxID

func (p *Payment) FindByPaymentTrxID(ctx context.Context, paymentTrxID string) (payment.Payment, error)

func (*Payment) PaidPayment

func (p *Payment) PaidPayment(ctx context.Context, paymentTrxID string) error

func (*Payment) Register

func (p *Payment) Register(ctx context.Context, payments payment.Payment) error

Register

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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