domain

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChannelTypeCredit = iota + 1
	ChannelTypeWechat
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Payment

type Payment struct {
	ID          int64
	SN          string
	OrderID     int64
	OrderSN     string
	TotalAmount int64
	Deadline    int64
	PaidAt      int64
	Status      int64
	Records     []PaymentRecord
	Ctime       int64
	Utime       int64
}

type PaymentChannel

type PaymentChannel struct {
	Type int64
	Desc string
}

type PaymentRecord

type PaymentRecord struct {
	PaymentNO3rd  string
	Channel       int64
	Amount        int64
	PaidAt        int64
	Status        int64
	WechatCodeURL string
}

Jump to

Keyboard shortcuts

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