FinancePayCreate

package
v5.1.37 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUserToOrg

func CreateUserToOrg(args *ArgsCreateUserToOrg) (payData FinancePay.FieldsPayType, errCode string, err error)

CreateUserToOrg 给商户付款创建支付请求

Types

type ArgsCreateUserToOrg

type ArgsCreateUserToOrg struct {
	//服务用户ID
	UserID int64 `db:"user_id" json:"userID" check:"id"`
	//组织ID
	OrgID int64 `db:"org_id" json:"orgID" check:"id"`
	//是否为退款
	IsRefund bool `db:"is_refund" json:"isRefund" check:"bool"`
	//货币
	Currency int `db:"currency" json:"currency" check:"currency"`
	//单位报价
	// 服务负责人在收款前可以协商变更
	Price int64 `db:"price" json:"price" check:"price" empty:"true"`
	//支付方式
	// 如果为退单,则为付款方式
	PaymentChannel CoreSQLFrom.FieldsFrom `json:"paymentChannel"`
	//交易过期时间
	// 如果提交空的时间,将直接按照过期处理
	ExpireAt time.Time `db:"expire_at" json:"expireAt" check:"isoTime"`
	//备注
	Des string `db:"des" json:"des" check:"des" min:"1" max:"500" empty:"true"`
}

ArgsCreateUserToOrg 给商户付款创建支付请求参数

Jump to

Keyboard shortcuts

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