response

package
v3.2.40 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtocolCategory added in v3.0.41

type ProtocolCategory struct {
	Category []struct {
		PrimaryCategoryID int    `json:"primary_category_id"`
		CategoryName      string `json:"category_name"`
		SecondaryCategory []struct {
			SecondaryCategoryID     int      `json:"secondary_category_id"`
			CategoryName            string   `json:"category_name"`
			NeedQualificationStuffs []string `json:"need_qualification_stuffs"`
			CanChoosePrepaidCard    int      `json:"can_choose_prepaid_card"`
			CanChoosePaymentCard    int      `json:"can_choose_payment_card"`
		} `json:"secondary_category"`
	} `json:"category"`
	Errcode int    `json:"errcode"`
	Errmsg  string `json:"errmsg"`
}

type ResponseCardCreate

type ResponseCardCreate struct {
	response.ResponseOfficialAccount

	CardID string `json:"card_id"`
}

type ResponseCardGet

type ResponseCardGet struct {
	response.ResponseOfficialAccount

	Card request.Card `json:"card"`
}

type ResponseCardList

type ResponseCardList struct {
	response.ResponseOfficialAccount

	CardIDList []string `json:"card_id_list"`
	TotalNum   int      `json:"total_num"`
}

type ResponseCardUpdate

type ResponseCardUpdate struct {
	response.ResponseOfficialAccount

	SendCheck bool `json:"send_check"`
}

type ResponseCreateQrCode

type ResponseCreateQrCode struct {
	response.ResponseOfficialAccount

	Ticket        string `json:"ticket"`
	ExpireSeconds int    `json:"expire_seconds"`
	URL           string `json:"url"`
	ShowQrcodeURL string `json:"show_qrcode_url"`
}

type SubmerchantInfo added in v3.0.41

type SubmerchantInfo struct {
	MerchantID          int    `json:"merchant_id"`
	AppID               string `json:"app_id"`
	CreateTime          int    `json:"create_time"`
	UpdateTime          int    `json:"update_time"`
	BrandName           string `json:"brand_name"`
	LogoURL             string `json:"logo_url"`
	Status              string `json:"status"`
	BeginTime           int    `json:"begin_time"`
	EndTime             int    `json:"end_time"`
	PrimaryCategoryID   int    `json:"primary_category_id"`
	SecondaryCategoryID int    `json:"secondary_category_id"`
}

type SubmerchantSubmit added in v3.0.41

type SubmerchantSubmit struct {
	Info *SubmerchantInfo `json:"info"`
}

Jump to

Keyboard shortcuts

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