model

package
v2.16.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PaymentState = map[string]string{
		"CREATED":            "250",
		"IN_PROCESS":         "251",
		"IN_BLOCK":           "252",
		"REFUND_IN_PROGRESS": "256",
		"SUCCESS":            "253",
		"REFUND_COMPLETE":    "254",
		"CANCEL_COMPLETE":    "255",
		"FAIL":               "258",
		"REJECT":             "259",
	}
)

Functions

func ConvertPayment added in v2.10.0

func ConvertPayment(in *bid_inonse.PaymentResponse, out *pb_payment.Payment) error

func ConvertPaymentOrder added in v2.10.0

func ConvertPaymentOrder(in *bid_inonse.OrderResponse, out *pb_payment.Payment) error

func Status added in v2.16.0

func Status(status string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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