response

package
v3.0.54 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amount

type Amount struct {
	Currency      string `json:"currency"`
	PayerCurrency string `json:"payer_currency"`
	PayerTotal    int    `json:"payer_total"`
	Total         int    `json:"total"`
}

type Payer

type Payer struct {
	SpOpenid  string `json:"sp_openid"`
	SubOpenid string `json:"sub_openid"`
}

type ResponseCodeURL

type ResponseCodeURL struct {
	response.ResponsePayment

	CodeURL string `json:"code_url"`
}

type ResponseH5URL

type ResponseH5URL struct {
	response.ResponsePayment

	H5URL string `json:"h5_url"`
}

type ResponseHeaderCloseOrdr

type ResponseHeaderCloseOrdr struct {
	response.ResponsePayment

	Status string `header:"status"`
}

type ResponseOrder

type ResponseOrder struct {
	response.ResponsePayment

	Amount          *Amount           `json:"amount"`
	Attach          string            `json:"attach"`
	BankType        string            `json:"bank_type"`
	OutTradeNo      string            `json:"out_trade_no"`
	Payer           *Payer            `json:"payer"`
	PromotionDetail []*object.HashMap `json:"promotion_detail"`
	SpAppId         string            `json:"sp_appid"`
	SpMchId         string            `json:"sp_mchid"`
	SubAppId        string            `json:"sub_appid"`
	SubMchId        string            `json:"sub_mchid"`
	SuccessTime     time.Time         `json:"success_time"`
	TradeState      string            `json:"trade_state"`
	TradeStateDesc  string            `json:"trade_state_desc"`
	TradeType       string            `json:"trade_type"`
	TransactionId   string            `json:"transaction_id"`
}

type ResponseUnitfy

type ResponseUnitfy struct {
	response.ResponsePayment

	PrepayID string `json:"prepay_id"`
}

Jump to

Keyboard shortcuts

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