response

package
v3.2.17 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalInfo

type AdditionalInfo struct {
	Type           string         `json:"type"`
	SharePowerInfo SharePowerInfo `json:"share_power_info"`
}

type ComplainOrderInfo

type ComplainOrderInfo struct {
	TransactionId string `json:"transaction_id"`
	OutTradeNo    string `json:"out_trade_no"`
	Amount        int    `json:"amount"`
}

type ComplaintMediaList

type ComplaintMediaList struct {
	MediaType string   `json:"media_type"`
	MediaUrl  []string `json:"media_url"`
}

type Data

type Data struct {
	LogId              string             `json:"log_id"`
	Operator           string             `json:"operator"`
	OperateTime        time.Time          `json:"operate_time"`
	OperateType        string             `json:"operate_type"`
	OperateDetails     string             `json:"operate_details"`
	ImageList          []string           `json:"image_list"`
	ComplaintMediaList ComplaintMediaList `json:"complaint_media_list"`
}

type ResponseComplaints

type ResponseComplaints struct {
	response.ResponsePayment

	Data       []ResponseQueryComplaint `json:"data"`
	Limit      int                      `json:"limit"`
	Offset     int                      `json:"offset"`
	TotalCount int                      `json:"total_count"`
}

type ResponseCreateComplaintNotifications

type ResponseCreateComplaintNotifications struct {
	MchId string `json:"mchid"`
	Url   string `json:"url"`
}

type ResponseMediaUpload

type ResponseMediaUpload struct {
	response.ResponsePayment
	MediaId string `json:"media_id"`
}

type ResponseQueryComplaint

type ResponseQueryComplaint struct {
	response.ResponsePayment

	ComplaintId           string               `json:"complaint_id"`
	ComplaintTime         time.Time            `json:"complaint_time"`
	ComplaintDetail       string               `json:"complaint_detail"`
	ComplaintState        string               `json:"complaint_state"`
	PayerPhone            string               `json:"payer_phone"`
	ComplaintOrderInfo    []ComplainOrderInfo  `json:"complaint_order_info"`
	ComplaintFullRefunded bool                 `json:"complaint_full_refunded"`
	IncomingUserResponse  bool                 `json:"incoming_user_response"`
	UserComplaintTimes    int                  `json:"user_complaint_times"`
	ComplaintMediaList    []ComplaintMediaList `json:"complaint_media_list"`
	ProblemDescription    string               `json:"problem_description"`
	ProblemType           string               `json:"problem_type"`
	ApplyRefundAmount     int                  `json:"apply_refund_amount"`
	UserTagList           []string             `json:"user_tag_list"`
	ServiceOrderInfo      []ServiceOrderInfo   `json:"service_order_info"`
	AdditionalInfo        AdditionalInfo       `json:"additional_info"`
}

type ResponseQueryNegotiationHistoriesByComplaint

type ResponseQueryNegotiationHistoriesByComplaint struct {
	Data       []Data `json:"data"`
	Limit      int    `json:"limit"`
	Offset     int    `json:"offset"`
	TotalCount int    `json:"total_count"`
}

type ReturnAddressInfo

type ReturnAddressInfo struct {
	ReturnAddress string `json:"return_address"`
	Longitude     string `json:"longitude"`
	Latitude      string `json:"latitude"`
}

type ServiceOrderInfo

type ServiceOrderInfo struct {
	OrderId    string `json:"order_id"`
	OutOrderNo string `json:"out_order_no"`
	State      string `json:"state"`
}

type SharePowerInfo

type SharePowerInfo struct {
	ReturnTime        time.Time         `json:"return_time"`
	ReturnAddressInfo ReturnAddressInfo `json:"return_address_info"`
}

Jump to

Keyboard shortcuts

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