123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- package wechat
- import "time"
- type WepayResponseDetail struct {
- Field string `json:"field"`
- Value string `json:"value"`
- Issue string `json:"issue"`
- Location string `json:"location"`
- }
- type WepayResponseMessageV3 struct {
- Code string `json:"code"`
- Message string `json:"message"`
- Detail WepayResponseDetail `json:"detail"`
- }
- type PayResultNotifyV3Resource struct {
-
- OriginalType string `json:"original_type"`
-
- Algorithm string `json:"algorithm"`
-
- Ciphertext string `json:"ciphertext"`
-
- AssociatedData string `json:"associated_data"`
-
- Nonce string `json:"nonce"`
- }
- type PayResultNotifyV3 struct {
-
- ID string `json:"id"`
-
- CreateTime time.Time `json:"create_time"`
-
- ResourceType string `json:"resource_type"`
-
- EventType string `json:"event_type"`
-
- Summary string `json:"summary"`
-
- Resource PayResultNotifyV3Resource `json:"resource"`
- }
- type PayOrderPayerV3 struct {
-
- OpenID string `json:"openid"`
- }
- type PayOrderAmountV3 struct {
-
- Total int `json:"total"`
-
- PayerTotal int `json:"payer_total"`
-
- Currency string `json:"currency"`
-
- PayerCurrency string `json:"payer_currency"`
- }
- type PayOrderInfoV3 struct {
-
- MchID string `json:"mchid"`
-
- AppID string `json:"appid"`
-
- OutTradeNo string `json:"out_trade_no"`
-
- TransactionID string `json:"transaction_id"`
-
-
-
-
-
-
-
- TradeType string `json:"trade_type"`
-
-
-
-
-
-
-
-
- TradeState string `json:"trade_state"`
-
- TradeStateDesc string `json:"trade_state_desc"`
-
- BankType string `json:"bank_type"`
-
- Attach string `json:"attach"`
-
- SuccessTime time.Time `json:"success_time"`
-
- Payer PayOrderPayerV3 `json:"payer"`
-
- Amount PayOrderAmountV3 `json:"amount"`
- }
- type PayRefundAmountV3 struct {
-
- Total int `json:"total"`
-
- Refund int `json:"refund"`
-
- PayerTotal int `json:"payer_total"`
-
- PayerRefund int `json:"payer_refund"`
- }
- type PayRefundInfoV3 struct {
-
- MchID string `json:"mchid"`
-
- OutTradeNo string `json:"out_trade_no"`
-
- TransactionID string `json:"transaction_id"`
-
- OutRefundNo string `json:"out_refund_no"`
-
- RefundID string `json:"refund_id"`
-
-
-
-
- RefundStatus string `json:"refund_status"`
-
-
-
- SuccessTime string `json:"success_time"`
-
-
-
-
-
- UserReceivedAccount string `json:"user_received_account"`
-
- Amount PayRefundAmountV3 `json:"amount"`
- }
- type PayScoreParkingNotifyV3Result struct {
-
- MchID string `json:"sp_mchid"`
-
- SubMchID string `json:"sub_mchid"`
-
- ParkingID string `json:"parking_id"`
-
- OutParkingNo string `json:"out_parking_no"`
-
- PlateNumber string `json:"plate_number"`
-
-
-
-
-
-
-
- PlateColor string `json:"plate_color"`
-
- StartTime time.Time `json:"start_time"`
-
- ParkingName string `json:"parking_name"`
-
- FreeDuration int `json:"free_duration"`
-
-
-
- ParkingState string `json:"parking_state"`
-
-
-
-
- BlockedStateDescription string `json:"blocked_state_description"`
-
- StateUpdateTime time.Time `json:"state_update_time"`
- }
|