payment

package
v0.0.0-...-96288a7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Pending = iota
	Accepted
	Rejected
	Refunded
)

Status values

Variables

This section is empty.

Functions

func HasPending

func HasPending(ctx context.Context, userID, courseID string) (exists bool, err error)

HasPending checks is has course pending payment

func SetStatus

func SetStatus(ctx context.Context, id string, status int) error

SetStatus sets payment status

Types

This section is empty.

Jump to

Keyboard shortcuts

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