alipay

package
v1.5.106 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 31 Imported by: 37

Documentation

Index

Constants

View Source
const (
	LocationShanghai          = "Asia/Shanghai"
	PKCS1            PKCSType = 1 // 非Java
	PKCS8            PKCSType = 2 // Java
	RSA                       = "RSA"
	RSA2                      = "RSA2"
	UTF8                      = "utf-8"
)

Variables

This section is empty.

Functions

func DecryptOpenDataToBodyMap

func DecryptOpenDataToBodyMap(encryptedData, secretKey string) (bm gopay.BodyMap, err error)

DecryptOpenDataToBodyMap 解密支付宝开放数据到 BodyMap encryptedData:包括敏感数据在内的完整用户信息的加密数据 secretKey:AES密钥,支付宝管理平台配置 文档:https://opendocs.alipay.com/common/02mse3

func DecryptOpenDataToStruct

func DecryptOpenDataToStruct(encryptedData, secretKey string, beanPtr any) (err error)

DecryptOpenDataToStruct 解密支付宝开放数据到 结构体 encryptedData:包括敏感数据在内的完整用户信息的加密数据 secretKey:AES密钥,支付宝管理平台配置 beanPtr:需要解析到的结构体指针 文档:https://opendocs.alipay.com/common/02mse3

func FormatURLParam

func FormatURLParam(body gopay.BodyMap) (urlParam string)

格式化请求URL参数

func GetCertSN

func GetCertSN(certPathOrData any) (sn string, err error)

GetCertSN 获取证书序列号SN certPathOrData x509证书文件路径(appPublicCert.crt、alipayPublicCert.crt) 或证书 buffer 返回 sn:证书序列号(app_cert_sn、alipay_cert_sn) 返回 err:error 信息

func GetRootCertSN

func GetRootCertSN(rootCertPathOrData any) (sn string, err error)

GetRootCertSN 获取root证书序列号SN rootCertPathOrData x509证书文件路径(alipayRootCert.crt) 或文件 buffer 返回 sn:证书序列号(alipay_root_cert_sn) 返回 err:error 信息

func GetRsaSign

func GetRsaSign(bm gopay.BodyMap, signType string, privateKey *rsa.PrivateKey) (sign string, err error)

获取支付宝参数签名 bm:签名参数 signType:签名类型,alipay.RSA 或 alipay.RSA2 privateKey:应用私钥,支持PKCS1和PKCS8

func ParseNotifyByURLValues

func ParseNotifyByURLValues(value url.Values) (bm gopay.BodyMap, err error)

通过 url.Values 解析支付宝支付异步通知的参数到BodyMap value:url.Values 返回参数notifyReq:Notify请求的参数 返回参数err:错误信息 文档:https://opendocs.alipay.com/open/203/105286

func ParseNotifyToBodyMap

func ParseNotifyToBodyMap(req *http.Request) (bm gopay.BodyMap, err error)

解析支付宝支付异步通知的参数到BodyMap req:*http.Request 返回参数bm:Notify请求的参数 返回参数err:错误信息 文档:https://opendocs.alipay.com/open/203/105286

func VerifySign

func VerifySign(alipayPublicKey string, notifyBean any) (ok bool, err error)

VerifySign 支付宝异步通知验签(公钥模式) 注意:APP支付,手机网站支付,电脑网站支付 暂不支持同步返回验签 alipayPublicKey:支付宝平台获取的支付宝公钥 notifyBean:此参数为异步通知解析的结构体或BodyMap:notifyReq 或 bm,推荐通 BodyMap 验签 返回参数ok:是否验签通过 返回参数err:错误信息 验签文档:https://opendocs.alipay.com/common/02mse7

func VerifySignWithCert

func VerifySignWithCert(aliPayPublicKeyCert, notifyBean any) (ok bool, err error)

支付宝异步通知验签(公钥证书模式) 注意:APP支付,手机网站支付,电脑网站支付 暂不支持同步返回验签 aliPayPublicKeyCert:支付宝公钥证书存放路径 alipayPublicCert.crt 或文件内容[]byte notifyBean:此参数为异步通知解析的结构体或BodyMap:notifyReq 或 bm,推荐通 BodyMap 验签 返回参数ok:是否验签通过 返回参数err:错误信息 验签文档:https://opendocs.alipay.com/common/02mse7

func VerifySyncSign

func VerifySyncSign(aliPayPublicKey, signData, sign string) (ok bool, err error)

VerifySyncSign 支付宝同步返回验签(公钥模式) 注意:APP支付,手机网站支付,电脑网站支付,身份认证开始认证 不支持同步返回验签 aliPayPublicKey:支付宝平台获取的支付宝公钥 signData:待验签参数,aliRsp.SignData sign:待验签sign,aliRsp.Sign 返回参数ok:是否验签通过 返回参数err:错误信息 验签文档:https://opendocs.alipay.com/open/200/106120

func VerifySyncSignWithCert

func VerifySyncSignWithCert(alipayPublicKeyCert any, signData, sign string) (ok bool, err error)

VerifySyncSignWithCert 支付宝同步返回验签(公钥证书模式) 注意:APP支付,手机网站支付,电脑网站支付,身份认证开始认证 不支持同步返回验签 aliPayPublicKeyCert:支付宝公钥证书存放路径 alipayPublicCert.crt 或文件内容[]byte signData:待验签参数,aliRsp.SignData sign:待验签sign,aliRsp.Sign 返回参数ok:是否验签通过 返回参数err:错误信息 验签文档:https://opendocs.alipay.com/open/200/106120

Types

type AbsolutePeriodInfo added in v1.5.101

type AbsolutePeriodInfo struct {
	ValidBeginTime   string            `json:"valid_begin_time"`
	ValidEndTime     string            `json:"valid_end_time"`
	TimeRestrictInfo *TimeRestrictInfo `json:"time_restrict_info"`
}

type AccountLogItemResult added in v1.5.97

type AccountLogItemResult struct {
	TransDt             string `json:"trans_dt,omitempty"`
	AccountLogId        string `json:"account_log_id,omitempty"`
	AlipayOrderNo       string `json:"alipay_order_no,omitempty"`
	MerchantOrderNo     string `json:"merchant_order_no,omitempty"`
	TransAmount         string `json:"trans_amount,omitempty"`
	Balance             string `json:"balance,omitempty"`
	Type                string `json:"type,omitempty"`
	OtherAccount        string `json:"other_account,omitempty"`
	TransMemo           string `json:"trans_memo,omitempty"`
	Direction           string `json:"direction,omitempty"`
	BillSource          string `json:"bill_source,omitempty"`
	BizNos              string `json:"biz_nos,omitempty"`
	BizOrigNo           string `json:"biz_orig_no,omitempty"`
	BizDesc             string `json:"biz_desc,omitempty"`
	MerchantOutRefundNo string `json:"merchant_out_refund_no,omitempty"`
	ComplementInfo      string `json:"complement_info,omitempty"`
	StoreName           string `json:"store_name,omitempty"`
}

type ActivityBaseInfo added in v1.5.101

type ActivityBaseInfo struct {
	ActivityId              string              `json:"activity_id"`
	ActivityName            string              `json:"activity_name,omitempty"`
	BelongMerchantInfo      *BelongMerchantInfo `json:"belong_merchant_info"`
	CodeMode                string              `json:"code_mode,omitempty"`
	ActivityOperationStatus string              `json:"activity_operation_status,omitempty"`
	ActivityStatus          string              `json:"activity_status"`
	ActivityProductType     string              `json:"activity_product_type,omitempty"`
}

type ActivityLiteInfo added in v1.5.101

type ActivityLiteInfo struct {
	ActivityBaseInfo          *ActivityBaseInfo          `json:"activity_base_info"`
	VoucherDeductInfo         *VoucherDeductInfo         `json:"voucher_deduct_info"`
	VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
	VoucherAvailableScopeInfo *VoucherAvailableScopeInfo `json:"voucher_available_scope_info"`
}

type AntMerchantExpandIndirectImageUpload added in v1.5.101

type AntMerchantExpandIndirectImageUpload struct {
	ErrorResponse
	ImageId string `json:"image_id"`
}

type AntMerchantExpandIndirectImageUploadRsp added in v1.5.101

type AntMerchantExpandIndirectImageUploadRsp struct {
	Response     *AntMerchantExpandIndirectImageUpload `json:"ant_merchant_expand_indirect_image_upload_response"`
	AlipayCertSn string                                `json:"alipay_cert_sn,omitempty"`
	SignData     string                                `json:"-"`
	Sign         string                                `json:"sign"`
}

type AntMerchantExpandMccQuery added in v1.5.102

type AntMerchantExpandMccQuery struct {
	ErrorResponse
	MccInfoList []*MccInfo `json:"mcc_info_list"`
}

type AntMerchantExpandMccQueryRsp added in v1.5.102

type AntMerchantExpandMccQueryRsp struct {
	Response     *AntMerchantExpandMccQuery `json:"ant_merchant_expand_mcc_query_response"`
	AlipayCertSn string                     `json:"alipay_cert_sn,omitempty"`
	SignData     string                     `json:"-"`
	Sign         string                     `json:"sign"`
}

type AntMerchantExpandShopReceiptAccountSave added in v1.5.102

type AntMerchantExpandShopReceiptAccountSave struct {
	ErrorResponse
}

type AntMerchantExpandShopReceiptAccountSaveRsp added in v1.5.102

type AntMerchantExpandShopReceiptAccountSaveRsp struct {
	Response     *AntMerchantExpandShopReceiptAccountSave `json:"ant_merchant_expand_shop_receiptaccount_save_response"`
	AlipayCertSn string                                   `json:"alipay_cert_sn,omitempty"`
	SignData     string                                   `json:"-"`
	Sign         string                                   `json:"sign"`
}

type AntMerchantOrderQuery added in v1.5.58

type AntMerchantOrderQuery struct {
	ErrorResponse
	IPRoleID     []string `json:"ip_role_id,omitempty"`
	MerchantName string   `json:"merchant_name"`
	Status       string   `json:"status"`
	ApplyTime    string   `json:"apply_time"`
	ExtInfo      string   `json:"ext_info"`
}

type AntMerchantOrderQueryRsp added in v1.5.58

type AntMerchantOrderQueryRsp struct {
	Response     *AntMerchantOrderQuery `json:"ant_merchant_expand_order_query_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type AntMerchantShopClose added in v1.5.58

type AntMerchantShopClose struct {
	ErrorResponse
}

type AntMerchantShopCloseRsp added in v1.5.58

type AntMerchantShopCloseRsp struct {
	Response     *AntMerchantShopClose `json:"ant_merchant_expand_shop_close_response"`
	AlipayCertSn string                `json:"alipay_cert_sn,omitempty"`
	SignData     string                `json:"-"`
	Sign         string                `json:"sign"`
}

type AntMerchantShopConsult added in v1.5.56

type AntMerchantShopConsult struct {
	ErrorResponse
	AccountAudit bool   `json:"account_audit"`
	RiskAudit    bool   `json:"risk_audit"`
	OrderId      string `json:"order_id"`
}

type AntMerchantShopConsultRsp added in v1.5.56

type AntMerchantShopConsultRsp struct {
	Response     *AntMerchantShopConsult `json:"ant_merchant_expand_shop_consult_response"`
	AlipayCertSn string                  `json:"alipay_cert_sn,omitempty"`
	SignData     string                  `json:"-"`
	Sign         string                  `json:"sign"`
}

type AntMerchantShopCreate added in v1.5.56

type AntMerchantShopCreate struct {
	ErrorResponse
	OrderId string `json:"order_id"`
}

type AntMerchantShopCreateRsp added in v1.5.56

type AntMerchantShopCreateRsp struct {
	Response     *AntMerchantShopCreate `json:"ant_merchant_expand_shop_create_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type AntMerchantShopModify added in v1.5.56

type AntMerchantShopModify struct {
	ErrorResponse
	OrderId string `json:"order_id"`
}

type AntMerchantShopModifyRsp added in v1.5.56

type AntMerchantShopModifyRsp struct {
	Response     *AntMerchantShopModify `json:"ant_merchant_expand_shop_modify_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type AntMerchantShopPageQuery added in v1.5.102

type AntMerchantShopPageQuery struct {
	ErrorResponse
	ShopInfos   []*AntShopInfo `json:"shop_infos"`
	TotalPages  int            `json:"total_pages"`
	AlipayPoiid string         `json:"alipay_poiid"`
}

type AntMerchantShopPageQueryRsp added in v1.5.102

type AntMerchantShopPageQueryRsp struct {
	Response     *AntMerchantShopPageQuery `json:"ant_merchant_expand_shop_page_query_response"`
	AlipayCertSn string                    `json:"alipay_cert_sn,omitempty"`
	SignData     string                    `json:"-"`
	Sign         string                    `json:"sign"`
}

type AntMerchantShopQuery added in v1.5.58

type AntMerchantShopQuery struct {
	ErrorResponse
	ShopID          string `json:"shop_id"`
	BusinessAddress struct {
		CityCode     string `json:"city_code"`
		DistrictCode string `json:"district_code"`
		Address      string `json:"address"`
		ProvinceCode string `json:"province_code"`
		Poiid        string `json:"poiid,omitempty"`
		Longitude    string `json:"longitude,omitempty"`
		Latitude     string `json:"latitude,omitempty"`
		Type         string `json:"type,omitempty"`
	} `json:"business_address"`
	ShopCategory   string   `json:"shop_category"`
	StoreID        string   `json:"store_id"`
	ShopType       string   `json:"shop_type"`
	IPRoleID       string   `json:"ip_role_id"`
	ShopName       string   `json:"shop_name"`
	ContactPhone   string   `json:"contact_phone"`
	ContactMobile  string   `json:"contact_mobile"`
	CertNo         string   `json:"cert_no"`
	OutDoorImages  []string `json:"out_door_images,omitempty"`
	Qualifications []struct {
		IndustryQualificationType  string `json:"industry_qualification_type,omitempty"`
		IndustryQualificationImage string `json:"industry_qualification_image,omitempty"`
	} `json:"qualifications,omitempty"`
	CertType               string `json:"cert_type,omitempty"`
	CertName               string `json:"cert_name,omitempty"`
	CertImage              string `json:"cert_image,omitempty"`
	LegalName              string `json:"legal_name,omitempty"`
	LegalCertNo            string `json:"legal_cert_no,omitempty"`
	LicenseAuthLetterImage string `json:"license_auth_letter_image,omitempty"`
	SettleAlipayLogonID    string `json:"settle_alipay_logon_id,omitempty"`
	ExtInfos               []struct {
		KeyName string `json:"key_name"`
		Value   string `json:"value"`
	} `json:"ext_infos,omitempty"`
	BusinessTime []struct {
		WeekDay   int    `json:"week_day"`
		OpenTime  string `json:"open_time"`
		CloseTime string `json:"close_time"`
	} `json:"business_time,omitempty"`
	ContactInfos []struct {
		Name     string   `json:"name"`
		Phone    string   `json:"phone,omitempty"`
		Mobile   string   `json:"mobile,omitempty"`
		Email    string   `json:"email,omitempty"`
		Tag      []string `json:"tag"`
		Type     string   `json:"type"`
		IDCardNo string   `json:"id_card_no,omitempty"`
	} `json:"contact_infos,omitempty"`
	Memo            string `json:"memo,omitempty"`
	BrandID         string `json:"brand_id,omitempty"`
	Scene           string `json:"scene,omitempty"`
	NewShopCategory string `json:"new_shop_category"`
}

type AntMerchantShopQueryRsp added in v1.5.58

type AntMerchantShopQueryRsp struct {
	Response     *AntMerchantShopQuery `json:"ant_merchant_expand_shop_query_response"`
	AlipayCertSn string                `json:"alipay_cert_sn,omitempty"`
	SignData     string                `json:"-"`
	Sign         string                `json:"sign"`
}

type AntShopInfo added in v1.5.102

type AntShopInfo struct {
	ShopId          string           `json:"shop_id"`
	BusinessAddress *BusinessAddress `json:"business_address"`
	ShopCategory    string           `json:"shop_category"`
	NewShopCategory string           `json:"new_shop_category"`
	StoreId         string           `json:"store_id"`
	ShopType        string           `json:"shop_type"`
	ShopName        string           `json:"shop_name"`
	ContactPhone    string           `json:"contact_phone"`
	ContactMobile   string           `json:"contact_mobile"`
	BusinessTime    []*BusinessTime  `json:"business_time"`
	ShopStatus      string           `json:"shop_status"`
	ShopInfoStatus  string           `json:"shop_info_status"`
}

type Apis added in v1.5.89

type Apis struct {
	ApiName     string `json:"api_name,omitempty"`
	FieldName   string `json:"field_name,omitempty"`
	PackageCode string `json:"package_code,omitempty"`
}

type AppInfo added in v1.5.101

type AppInfo struct {
	MiniAppId string `json:"mini_app_id"`
}

type AppItemInfo added in v1.5.101

type AppItemInfo struct {
	ItemId      string `json:"item_id"`
	ItemUseType string `json:"item_use_type"`
	OutItemId   string `json:"out_item_id"`
	MiniAppId   string `json:"mini_app_id"`
}

type AuthTokenApp added in v1.5.45

type AuthTokenApp struct {
	ErrorResponse
	UserId          string   `json:"user_id,omitempty"`
	AuthAppId       string   `json:"auth_app_id,omitempty"`
	AppAuthToken    string   `json:"app_auth_token,omitempty"`
	ExpiresIn       int      `json:"expires_in,omitempty"`
	AppRefreshToken string   `json:"app_refresh_token,omitempty"`
	ReExpiresIn     int      `json:"re_expires_in,omitempty"`
	Tokens          []*Token `json:"tokens,omitempty"`
}

type AuthTokenAppQuery added in v1.5.88

type AuthTokenAppQuery struct {
	ErrorResponse
	UserId      string   `json:"user_id"`      //授权商户的user_id
	AuthAppId   string   `json:"auth_app_id"`  //授权商户的appid
	ExpiresIn   int      `json:"expires_in"`   //应用授权令牌失效时间,单位到秒
	AuthMethods []string `json:"auth_methods"` //当前app_auth_token的授权接口列表
	AuthStart   string   `json:"auth_start"`   //授权生效时间
	AuthEnd     string   `json:"auth_end"`     //授权失效时间
	Status      string   `json:"status"`       //valid:有效状态;invalid:无效状态
}

type AvailableGeographyAllShopResultInfo added in v1.5.103

type AvailableGeographyAllShopResultInfo struct {
	SuccessExcludeShopIds []string               `json:"success_exclude_shop_ids"`
	FailExcludeShopInfos  []*FailExcludeShopInfo `json:"fail_exclude_shop_infos"`
}

type AvailableGeographyShopInfo added in v1.5.101

type AvailableGeographyShopInfo struct {
	AvailableShopIds []string `json:"available_shop_ids"`
}

type AvailableGeographyShopResultInfo added in v1.5.103

type AvailableGeographyShopResultInfo struct {
	SuccessAvailableShopIds             []string                             `json:"success_available_shop_ids"`
	FailAvailableShopInfos              []*FailAvailableShopInfo             `json:"fail_available_shop_infos"`
	AvailableGeographyAllShopResultInfo *AvailableGeographyAllShopResultInfo `json:"available_geography_all_shop_result_info"`
}

type BasicConfig added in v1.5.101

type BasicConfig struct {
	TemplateName       string `json:"template_name"`
	PartnerId          string `json:"partner_id"`
	IsvPid             string `json:"isv_pid"`
	BizType            string `json:"biz_type"`
	OutBizNo           string `json:"out_biz_no"`
	Contact            string `json:"contact"`
	TemplateNo         string `json:"template_no"`
}

type BelongMerchantInfo added in v1.5.101

type BelongMerchantInfo struct {
	MerchantIdType string `json:"merchant_id_type"`
	MerchantId     string `json:"merchant_id"`
}

type BizErr added in v1.5.76

type BizErr struct {
	Code    string `json:"code"`
	Msg     string `json:"msg"`
	SubCode string `json:"sub_code"`
	SubMsg  string `json:"sub_msg"`
}

BizErr 用于判断支付宝的业务逻辑是否有错误

func IsBizError added in v1.5.76

func IsBizError(err error) (*BizErr, bool)

func (*BizErr) Error added in v1.5.76

func (e *BizErr) Error() string

type BkAgentRespInfo added in v1.5.97

type BkAgentRespInfo struct {
	BindtrxId        string `json:"bindtrx_id,omitempty"`
	BindclrissrId    string `json:"bindclrissr_id,omitempty"`
	BindpyeracctbkId string `json:"bindpyeracctbk_id,omitempty"`
	BkpyeruserCode   string `json:"bkpyeruser_code,omitempty"`
	EstterLocation   string `json:"estter_location,omitempty"`
}

type BusinessAddress added in v1.5.102

type BusinessAddress struct {
	CityCode     string `json:"city_code"`
	DistrictCode string `json:"district_code"`
	Address      string `json:"address"`
	ProvinceCode string `json:"province_code"`
	Poiid        string `json:"poiid"`
	Longitude    string `json:"longitude"`
	Latitude     string `json:"latitude"`
	Type         string `json:"type"`
}

type BusinessTime added in v1.5.102

type BusinessTime struct {
	WeekDay   int    `json:"week_day"`
	OpenTime  string `json:"open_time"`
	CloseTime string `json:"close_time"`
}

type CardInfo added in v1.5.104

type CardInfo struct {
	BizCardNo      string       `json:"biz_card_no"`
	ExternalCardNo string       `json:"external_card_no"`
	OpenDate       string       `json:"open_date"`
	ValidDate      string       `json:"valid_date"`
	Level          string       `json:"level"`
	Point          string       `json:"point"`
	Balance        string       `json:"balance"`
	TemplateId     string       `json:"template_id"`
	MdcodeInfo     *MdcodeInfo  `json:"mdcode_info"`
	FrontTextList  []*FrontText `json:"front_text_list"`
	FrontImageId   string       `json:"front_image_id"`
}

type CardLevelConf added in v1.5.104

type CardLevelConf struct {
	Level         string `json:"level"`
	LevelShowName string `json:"level_show_name"`
	LevelIcon     string `json:"level_icon"`
	LevelDesc     string `json:"level_desc"`
}

type CashCampaignInfo added in v1.5.100

type CashCampaignInfo struct {
	CrowdNo       string `json:"crowd_no"`
	OriginCrowdNo string `json:"origin_crowd_no"`
	CampStatus    string `json:"camp_status"`
	CouponName    string `json:"coupon_name"`
}

type CategoryTagOption added in v1.5.106

type CategoryTagOption struct {
	TagOptionCategoryId   int          `json:"tag_option_category_id"`
	TagOptionCategoryName string       `json:"tag_option_category_name"`
	TagOptionList         []*TagOption `json:"tag_option_list"`
}

type ChannelInfo added in v1.5.103

type ChannelInfo struct {
	ChannelIndex         string       `json:"channel_index"`
	ChannelName          string       `json:"channel_name"`
	ChannelEnable        bool         `json:"channel_enable"`
	ChannelCode          string       `json:"channel_code"`
	ChannelOperationInfo string       `json:"channel_operation_info"`
	OperationList        []*Operation `json:"operation_list"`
}

type ChargeInfo added in v1.5.97

type ChargeInfo struct {
	ChargeFee               string    `json:"charge_fee,omitempty"`
	OriginalChargeFee       string    `json:"original_charge_fee,omitempty"`
	SwitchFeeRate           string    `json:"switch_fee_rate,omitempty"`
	IsRatingOnTradeReceiver string    `json:"is_rating_on_trade_receiver,omitempty"`
	IsRatingOnSwitch        string    `json:"is_rating_on_switch,omitempty"`
	ChargeType              string    `json:"charge_type,omitempty"`
	SubFeeDetailList        []*SubFee `json:"sub_fee_detail_list,omitempty"`
}

type Children added in v1.5.106

type Children struct {
	Text  string `json:"text"`
	Value string `json:"value"`
}

type City added in v1.5.106

type City struct {
	PortraitValue string `json:"portrait_value"`
	AreaCode      string `json:"area_code"`
	Num           int    `json:"num"`
}

type Client

type Client struct {
	AppId              string
	AppCertSN          string
	AliPayPublicCertSN string
	AliPayRootCertSN   string
	ReturnUrl          string
	NotifyUrl          string
	Charset            string
	SignType           string
	AppAuthToken       string
	IsProd             bool

	DebugSwitch gopay.DebugSwitch
	// contains filtered or unexported fields
}

func NewClient

func NewClient(appid, privateKey string, isProd bool) (client *Client, err error)

初始化支付宝客户端 注意:如果使用支付宝公钥证书验签,请使用 client.SetCertSnByContent() 或 client.SetCertSnByPath() 设置 应用公钥证书、支付宝公钥证书、支付宝根证书 appid:应用ID privateKey:应用私钥,支持PKCS1和PKCS8 isProd:是否是正式环境,沙箱环境请选择新版沙箱应用。

func (*Client) AcquireCustoms added in v1.5.49

func (a *Client) AcquireCustoms(ctx context.Context, bm gopay.BodyMap) (aliRspBs []byte, err error)

alipay.acquire.customs(报关接口) 文档地址:https://opendocs.alipay.com/pre-open/01x3kh

func (*Client) AcquireCustomsQuery added in v1.5.49

func (a *Client) AcquireCustomsQuery(ctx context.Context, bm gopay.BodyMap) (aliRspBs []byte, err error)

alipay.overseas.acquire.customs.query(报关查询接口) 文档地址:https://opendocs.alipay.com/pre-open/01x3ki

func (*Client) AntMerchantExpandIndirectImageUpload added in v1.5.101

func (a *Client) AntMerchantExpandIndirectImageUpload(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantExpandIndirectImageUploadRsp, err error)

ant.merchant.expand.indirect.image.upload(图片上传) bm参数中 image_content 可不传,file为必传参数 文档地址:https://opendocs.alipay.com/open/04fgwt

func (*Client) AntMerchantExpandMccQuery added in v1.5.102

func (a *Client) AntMerchantExpandMccQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantExpandMccQueryRsp, err error)

ant.merchant.expand.mcc.query(商户mcc信息查询) 文档地址:https://opendocs.alipay.com/open/04fgwu

func (*Client) AntMerchantExpandShopReceiptAccountSave added in v1.5.102

func (a *Client) AntMerchantExpandShopReceiptAccountSave(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantExpandShopReceiptAccountSaveRsp, err error)

ant.merchant.expand.shop.receiptaccount.save(店铺增加收单账号) 文档地址:https://opendocs.alipay.com/open/54b69b89_ant.merchant.expand.shop.receiptaccount.save

func (*Client) AntMerchantOrderQuery added in v1.5.58

func (a *Client) AntMerchantOrderQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantOrderQueryRsp, err error)

ant.merchant.expand.order.query(商户申请单查询) 文档地址:https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.order.query

func (*Client) AntMerchantShopClose added in v1.5.58

func (a *Client) AntMerchantShopClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopCloseRsp, err error)

ant.merchant.expand.shop.close(蚂蚁店铺关闭) 文档地址:https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.shop.close

func (*Client) AntMerchantShopConsult added in v1.5.56

func (a *Client) AntMerchantShopConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopConsultRsp, err error)

ant.merchant.expand.shop.consult(蚂蚁店铺创建咨询) 文档地址:https://opendocs.alipay.com/apis/014yig

func (*Client) AntMerchantShopCreate added in v1.5.56

func (a *Client) AntMerchantShopCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopCreateRsp, err error)

ant.merchant.expand.shop.create(蚂蚁店铺创建) 文档地址:https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.shop.create

func (*Client) AntMerchantShopModify added in v1.5.56

func (a *Client) AntMerchantShopModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopModifyRsp, err error)

ant.merchant.expand.shop.modify(修改蚂蚁店铺) 文档地址:https://opendocs.alipay.com/apis/014tmb

func (*Client) AntMerchantShopPageQuery added in v1.5.102

func (a *Client) AntMerchantShopPageQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopPageQueryRsp, err error)

ant.merchant.expand.shop.page.query(店铺分页查询接口) 文档地址:https://opendocs.alipay.com/open/04fgwq

func (*Client) AntMerchantShopQuery added in v1.5.58

func (a *Client) AntMerchantShopQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopQueryRsp, err error)

ant.merchant.expand.shop.query(店铺查询接口) 文档地址:https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.shop.query

func (*Client) AutoVerifySign added in v1.5.45

func (a *Client) AutoVerifySign(alipayPublicKeyContent []byte)

开启请求完自动验签功能(默认不开启,推荐开启,只支持证书模式) 注意:只支持证书模式 alipayPublicKeyContent:支付宝公钥证书文件内容[]byte

func (*Client) CommerceAirCallcenterTradeApply added in v1.5.52

func (a *Client) CommerceAirCallcenterTradeApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceAirCallcenterTradeApplyRsp, err error)

alipay.commerce.air.callcenter.trade.apply(航司电话订票待申请接口) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.commerce.air.callcenter.trade.apply

func (*Client) CommerceBenefitApply added in v1.5.59

func (a *Client) CommerceBenefitApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceBenefitApplyRsp, err error)

alipay.commerce.operation.gamemarketing.benefit.apply(申请权益发放) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.commerce.operation.gamemarketing.benefit.apply

func (*Client) CommerceBenefitVerify added in v1.5.59

func (a *Client) CommerceBenefitVerify(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceBenefitVerifyRsp, err error)

alipay.commerce.operation.gamemarketing.benefit.verify(权益核销) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.commerce.operation.gamemarketing.benefit.verify

func (*Client) CommerceTransportNfccardSend added in v1.5.52

func (a *Client) CommerceTransportNfccardSend(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceTransportNfccardSendRsp, err error)

alipay.commerce.transport.nfccard.send(NFC用户卡信息同步) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.commerce.transport.nfccard.send

func (*Client) DataBillAccountLogQuery added in v1.5.97

func (a *Client) DataBillAccountLogQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillAccountLogQueryResponse, err error)

alipay.data.bill.accountlog.query(支付宝商家账户账务明细查询) 文档地址:https://opendocs.alipay.com/open/dae3ac99_alipay.data.bill.accountlog.query

func (*Client) DataBillBalanceQuery

func (a *Client) DataBillBalanceQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillBalanceQueryResponse, err error)

alipay.data.bill.balance.query(支付宝商家账户当前余额查询) 文档地址:https://opendocs.alipay.com/open/2acb3c34_alipay.data.bill.balance.query

func (*Client) DataBillDownloadUrlQuery

func (a *Client) DataBillDownloadUrlQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillDownloadUrlQueryResponse, err error)

alipay.data.dataservice.bill.downloadurl.query(查询对账单下载地址) 文档地址:https://opendocs.alipay.com/open/02e7gr

func (*Client) DataBillEreceiptApply added in v1.5.102

func (a *Client) DataBillEreceiptApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillEreceiptApplyRsp, err error)

alipay.data.bill.ereceipt.apply(申请电子回单(incubating)) 文档地址:https://opendocs.alipay.com/open/1aad1956_alipay.data.bill.ereceipt.apply

func (*Client) DataBillEreceiptQuery added in v1.5.102

func (a *Client) DataBillEreceiptQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillEreceiptQueryRsp, err error)

alipay.data.bill.ereceipt.query(查询电子回单状态(incubating)) 文档地址:https://opendocs.alipay.com/open/30b94a2f_alipay.data.bill.ereceipt.query

func (*Client) DataDataserviceAdDataQuery added in v1.5.52

func (a *Client) DataDataserviceAdDataQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataDataserviceAdDataQueryRsp, err error)

alipay.data.dataservice.ad.data.query(广告投放数据查询) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.data.dataservice.ad.data.query

func (*Client) DoAliPay added in v1.5.95

func (a *Client) DoAliPay(ctx context.Context, bm gopay.BodyMap, method string, authToken ...string) (bs []byte, err error)

向支付宝发送请求

func (*Client) FaceCertifyInitialize added in v1.5.102

func (a *Client) FaceCertifyInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *FaceCertifyInitializeRsp, err error)

datadigital.fincloud.generalsaas.face.certify.initialize(H5人脸核身初始化) 文档地址:https://opendocs.alipay.com/open/02zloa

func (*Client) FaceCertifyQuery added in v1.5.102

func (a *Client) FaceCertifyQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FaceCertifyQueryRsp, err error)

datadigital.fincloud.generalsaas.face.certify.query(H5人脸核身查询记录) 文档地址:https://opendocs.alipay.com/open/02zloc

func (*Client) FaceCertifyVerify added in v1.5.102

func (a *Client) FaceCertifyVerify(ctx context.Context, bm gopay.BodyMap) (aliRsp *FaceCertifyVerifyRsp, err error)

datadigital.fincloud.generalsaas.face.certify.verify(H5人脸核身开始认证) 文档地址:https://opendocs.alipay.com/open/02zlob

func (*Client) FaceCheckInitialize added in v1.5.102

func (a *Client) FaceCheckInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *FaceCheckInitializeRsp, err error)

datadigital.fincloud.generalsaas.face.check.initialize(活体检测初始化) 文档地址:https://opendocs.alipay.com/open/03nisu

func (*Client) FaceCheckQuery added in v1.5.102

func (a *Client) FaceCheckQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FaceCheckQueryRsp, err error)

datadigital.fincloud.generalsaas.face.check.query(活体检测结果查询) 文档地址:https://opendocs.alipay.com/open/03nisv

func (*Client) FaceSourceCertify added in v1.5.102

func (a *Client) FaceSourceCertify(ctx context.Context, bm gopay.BodyMap) (aliRsp *FaceSourceCertifyRsp, err error)

datadigital.fincloud.generalsaas.face.source.certify(纯服务端人脸核身) 文档地址:https://opendocs.alipay.com/open/04pxq6

func (*Client) FaceVerificationInitialize added in v1.5.102

func (a *Client) FaceVerificationInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *FaceVerificationInitializeRsp, err error)

datadigital.fincloud.generalsaas.face.verification.initialize(人脸核身初始化) 文档地址:https://opendocs.alipay.com/open/04jg6r

func (*Client) FaceVerificationQuery added in v1.5.102

func (a *Client) FaceVerificationQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FaceVerificationQueryRsp, err error)

datadigital.fincloud.generalsaas.face.verification.query(人脸核身结果查询) 文档地址:https://opendocs.alipay.com/open/04jg6s

func (*Client) FileUploadRequest added in v1.5.101

func (a *Client) FileUploadRequest(ctx context.Context, bm gopay.BodyMap, method string) (bs []byte, err error)

文件上传

func (*Client) FundAccountQuery

func (a *Client) FundAccountQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAccountQueryResponse, err error)

alipay.fund.account.query(支付宝资金账户资产查询接口) 文档地址:https://opendocs.alipay.com/open/02byuq

func (*Client) FundAuthOperationCancel

func (a *Client) FundAuthOperationCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOperationCancelResponse, err error)

alipay.fund.auth.operation.cancel(资金授权撤销接口) 文档地址: https://opendocs.alipay.com/open/02fkbb

func (*Client) FundAuthOperationDetailQuery

func (a *Client) FundAuthOperationDetailQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOperationDetailQueryResponse, err error)

alipay.fund.auth.operation.detail.query(资金授权操作查询接口) 文档地址: https://opendocs.alipay.com/open/02fkbd

func (*Client) FundAuthOrderAppFreeze

func (a *Client) FundAuthOrderAppFreeze(ctx context.Context, bm gopay.BodyMap) (payParam string, err error)

alipay.fund.auth.order.app.freeze(线上资金授权冻结接口) 文档地址: https://opendocs.alipay.com/open/02f912

func (*Client) FundAuthOrderFreeze

func (a *Client) FundAuthOrderFreeze(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOrderFreezeResponse, err error)

alipay.fund.auth.order.freeze(资金授权冻结接口) 文档地址: https://opendocs.alipay.com/open/02fkb9

func (*Client) FundAuthOrderUnfreeze

func (a *Client) FundAuthOrderUnfreeze(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOrderUnfreezeResponse, err error)

alipay.fund.auth.order.unfreeze(资金授权解冻接口) 文档地址: https://opendocs.alipay.com/open/02fkbc

func (*Client) FundAuthOrderVoucherCreate

func (a *Client) FundAuthOrderVoucherCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOrderVoucherCreateResponse, err error)

alipay.fund.auth.order.voucher.create(资金授权发码接口) 文档地址: https://opendocs.alipay.com/open/02fit5

func (*Client) FundBatchClose

func (a *Client) FundBatchClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundBatchCloseResponse, err error)

alipay.fund.batch.close(批量转账关单接口) 文档地址: https://opendocs.alipay.com/apis/api_28/alipay.fund.batch.close

func (*Client) FundBatchCreate

func (a *Client) FundBatchCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundBatchCreateResponse, err error)

alipay.fund.batch.create(批次下单接口) 文档地址: https://opendocs.alipay.com/apis/api_28/alipay.fund.batch.create

func (*Client) FundBatchDetailQuery

func (a *Client) FundBatchDetailQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundBatchDetailQueryResponse, err error)

alipay.fund.batch.detail.query(批量转账明细查询接口) 文档地址: https://opendocs.alipay.com/apis/api_28/alipay.fund.batch.detail.query

func (*Client) FundTransAppPay

func (a *Client) FundTransAppPay(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransAppPayResponse, err error)

alipay.fund.trans.app.pay(现金红包无线支付接口) 文档地址: https://opendocs.alipay.com/open/03rbyf

func (*Client) FundTransCommonQuery

func (a *Client) FundTransCommonQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransCommonQueryResponse, err error)

alipay.fund.trans.common.query(转账业务单据查询接口) 文档地址:https://opendocs.alipay.com/open/02byup

func (*Client) FundTransOrderQuery

func (a *Client) FundTransOrderQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransOrderQueryResponse, err error)

alipay.fund.trans.order.query(查询转账订单接口) 文档地址: https://opendocs.alipay.com/apis/api_28/alipay.fund.trans.order.query

func (*Client) FundTransPagePay added in v1.5.59

func (a *Client) FundTransPagePay(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransPagePayRsp, err error)

alipay.fund.trans.page.pay(资金转账页面支付接口) 文档地址: https://opendocs.alipay.com/open/03rbye

func (*Client) FundTransPayeeBindQuery added in v1.5.45

func (a *Client) FundTransPayeeBindQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransPayeeBindQueryRsp, err error)

alipay.fund.trans.payee.bind.query(资金收款账号绑定关系查询) 文档地址: https://opendocs.alipay.com/apis/020tl1

func (*Client) FundTransRefund

func (a *Client) FundTransRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransRefundResponse, err error)

alipay.fund.trans.refund(资金退回接口) 文档地址: https://opendocs.alipay.com/open/02byvd

func (*Client) FundTransUniTransfer

func (a *Client) FundTransUniTransfer(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransUniTransferResponse, err error)

alipay.fund.trans.uni.transfer(单笔转账接口) 文档地址:https://opendocs.alipay.com/open/02byuo

func (*Client) GetRequestSignParam

func (a *Client) GetRequestSignParam(bm gopay.BodyMap, method string) (string, error)

Deprecated 推荐使用 RequestParam()

func (*Client) KoubeiTradeItemorderBuy added in v1.5.52

func (a *Client) KoubeiTradeItemorderBuy(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeItemorderBuyRsp, err error)

koubei.trade.itemorder.buy(口碑商品交易购买接口) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.itemorder.buy

func (*Client) KoubeiTradeItemorderQuery added in v1.5.55

func (a *Client) KoubeiTradeItemorderQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeItemorderQueryRsp, err error)

koubei.trade.itemorder.query(口碑商品交易查询接口) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.itemorder.query

func (*Client) KoubeiTradeItemorderRefund added in v1.5.55

func (a *Client) KoubeiTradeItemorderRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeItemorderRefundRsp, err error)

koubei.trade.itemorder.refund(口碑商品交易退货接口) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.itemorder.refund

func (*Client) KoubeiTradeOrderAggregateConsult added in v1.5.52

func (a *Client) KoubeiTradeOrderAggregateConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeOrderAggregateConsultRsp, err error)

koubei.trade.order.aggregate.consult(聚合支付订单咨询服务) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.order.aggregate.consult

func (*Client) KoubeiTradeOrderConsult added in v1.5.55

func (a *Client) KoubeiTradeOrderConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeOrderConsultRsp, err error)

koubei.trade.order.consult(口碑订单预咨询) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.order.consult

func (*Client) KoubeiTradeOrderPrecreate added in v1.5.52

func (a *Client) KoubeiTradeOrderPrecreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeOrderPrecreateRsp, err error)

koubei.trade.order.precreate(口碑订单预下单) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.order.precreate

func (*Client) KoubeiTradeTicketTicketcodeCancel added in v1.5.56

func (a *Client) KoubeiTradeTicketTicketcodeCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeCancelRsp, err error)

koubei.trade.ticket.ticketcode.cancel(口碑凭证码撤销核销) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.ticket.ticketcode.cancel

func (*Client) KoubeiTradeTicketTicketcodeDelay added in v1.5.56

func (a *Client) KoubeiTradeTicketTicketcodeDelay(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeDelayRsp, err error)

koubei.trade.ticket.ticketcode.delay(口碑凭证延期接口) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.ticket.ticketcode.delay

func (*Client) KoubeiTradeTicketTicketcodeQuery added in v1.5.56

func (a *Client) KoubeiTradeTicketTicketcodeQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeQueryRsp, err error)

koubei.trade.ticket.ticketcode.query(口碑凭证码查询) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.ticket.ticketcode.query

func (*Client) KoubeiTradeTicketTicketcodeSend added in v1.5.56

func (a *Client) KoubeiTradeTicketTicketcodeSend(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeSendRsp, err error)

koubei.trade.ticket.ticketcode.send(码商发码成功回调接口) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.ticket.ticketcode.send

func (*Client) MarketingActivityBatchQuery added in v1.5.101

func (a *Client) MarketingActivityBatchQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityBatchQueryRsp, err error)

alipay.marketing.activity.batchquery(条件查询活动列表) 文档地址:https://opendocs.alipay.com/open/04fgw9

func (*Client) MarketingActivityConsult added in v1.5.101

func (a *Client) MarketingActivityConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityConsultRsp, err error)

alipay.marketing.activity.consult(活动领取咨询接口) 文档地址:https://opendocs.alipay.com/open/04fgwa

func (*Client) MarketingActivityDeliveryChanged added in v1.5.101

func (a *Client) MarketingActivityDeliveryChanged(ctx context.Context, bm gopay.BodyMap) (success bool, err error)

alipay.marketing.activity.delivery.changed(推广计划状态变更消息) 文档地址:https://opendocs.alipay.com/open/85544608_alipay.marketing.activity.delivery.changed

func (*Client) MarketingActivityDeliveryCreate added in v1.5.101

func (a *Client) MarketingActivityDeliveryCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityDeliveryCreateRsp, err error)

alipay.marketing.activity.delivery.create(创建推广计划) 文档地址:https://opendocs.alipay.com/open/47498bf2_alipay.marketing.activity.delivery.create

func (*Client) MarketingActivityDeliveryQuery added in v1.5.101

func (a *Client) MarketingActivityDeliveryQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityDeliveryQueryRsp, err error)

alipay.marketing.activity.delivery.query(查询推广计划) 文档地址:https://opendocs.alipay.com/open/69c6d6c2_alipay.marketing.activity.delivery.query

func (*Client) MarketingActivityDeliveryStop added in v1.5.101

func (a *Client) MarketingActivityDeliveryStop(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityDeliveryStopRsp, err error)

alipay.marketing.activity.delivery.stop(停止推广计划) 文档地址:https://opendocs.alipay.com/open/39c69f03_alipay.marketing.activity.delivery.stop

func (*Client) MarketingActivityOrderVoucherAppend added in v1.5.103

func (a *Client) MarketingActivityOrderVoucherAppend(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityOrderVoucherAppendRsp, err error)

alipay.marketing.activity.ordervoucher.append(修改商家券活动发券数量上限) 文档地址:https://opendocs.alipay.com/open/4e2acff5_alipay.marketing.activity.ordervoucher.append

func (*Client) MarketingActivityOrderVoucherCodeCount added in v1.5.103

func (a *Client) MarketingActivityOrderVoucherCodeCount(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityOrderVoucherCodeCountRsp, err error)

alipay.marketing.activity.ordervoucher.codecount(统计商家券券码数量) 文档地址:https://opendocs.alipay.com/open/f6e49e82_alipay.marketing.activity.ordervoucher.codecount

func (*Client) MarketingActivityOrderVoucherCodeDeposit added in v1.5.103

func (a *Client) MarketingActivityOrderVoucherCodeDeposit(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityOrderVoucherCodeDepositRsp, err error)

alipay.marketing.activity.ordervoucher.codedeposit(同步商家券券码) 文档地址:https://opendocs.alipay.com/open/7ed0450d_alipay.marketing.activity.ordervoucher.codedeposit

func (*Client) MarketingActivityOrderVoucherCreate added in v1.5.103

func (a *Client) MarketingActivityOrderVoucherCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityOrderVoucherCreateRsp, err error)

alipay.marketing.activity.ordervoucher.create(创建商家券活动) 文档地址:https://opendocs.alipay.com/open/7ad3a7bf_alipay.marketing.activity.ordervoucher.create

func (*Client) MarketingActivityOrderVoucherModify added in v1.5.103

func (a *Client) MarketingActivityOrderVoucherModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityOrderVoucherModifyRsp, err error)

alipay.marketing.activity.ordervoucher.modify(修改商家券活动基本信息) 文档地址:https://opendocs.alipay.com/open/528f83f6_alipay.marketing.activity.ordervoucher.modify

func (*Client) MarketingActivityOrderVoucherQuery added in v1.5.103

func (a *Client) MarketingActivityOrderVoucherQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityOrderVoucherQueryRsp, err error)

alipay.marketing.activity.ordervoucher.query(查询商家券活动) 文档地址:https://opendocs.alipay.com/open/51f5946e_alipay.marketing.activity.ordervoucher.query

func (*Client) MarketingActivityOrderVoucherRefund added in v1.5.103

func (a *Client) MarketingActivityOrderVoucherRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityOrderVoucherRefundRsp, err error)

alipay.marketing.activity.ordervoucher.refund(取消券核销状态) 文档地址:https://opendocs.alipay.com/open/4682759b_alipay.marketing.activity.ordervoucher.refund?scene=common

func (*Client) MarketingActivityOrderVoucherStop added in v1.5.103

func (a *Client) MarketingActivityOrderVoucherStop(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityOrderVoucherStopRsp, err error)

alipay.marketing.activity.ordervoucher.stop(停止商家券活动) 文档地址:https://opendocs.alipay.com/open/16803efe_alipay.marketing.activity.ordervoucher.stop

func (*Client) MarketingActivityOrderVoucherUse added in v1.5.103

func (a *Client) MarketingActivityOrderVoucherUse(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityOrderVoucherUseRsp, err error)

alipay.marketing.activity.ordervoucher.use(同步券核销状态) 文档地址:https://opendocs.alipay.com/open/3ffce87f_alipay.marketing.activity.ordervoucher.use

func (*Client) MarketingActivityQuery added in v1.5.101

func (a *Client) MarketingActivityQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityQueryRsp, err error)

alipay.marketing.activity.query(查询活动详情) 文档地址:https://opendocs.alipay.com/open/04fgwb

func (*Client) MarketingActivityQueryAppBatchQuery added in v1.5.101

func (a *Client) MarketingActivityQueryAppBatchQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityQueryAppBatchQueryRsp, err error)

alipay.marketing.activity.app.batchquery(查询活动可用小程序) 文档地址:https://opendocs.alipay.com/open/04fgwd

func (*Client) MarketingActivityQueryGoodsBatchQuery added in v1.5.101

func (a *Client) MarketingActivityQueryGoodsBatchQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityQueryGoodsBatchQueryRsp, err error)

alipay.marketing.activity.goods.batchquery(查询活动适用商品) 文档地址:https://opendocs.alipay.com/open/04fgwf

func (*Client) MarketingActivityQueryMerchantBatchQuery added in v1.5.101

func (a *Client) MarketingActivityQueryMerchantBatchQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityQueryMerchantBatchQueryRsp, err error)

alipay.marketing.activity.merchant.batchquery(查询活动可用商户) 文档地址:https://opendocs.alipay.com/open/04fgwc

func (*Client) MarketingActivityQueryShopBatchQuery added in v1.5.101

func (a *Client) MarketingActivityQueryShopBatchQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityQueryShopBatchQueryRsp, err error)

alipay.marketing.activity.shop.batchquery(查询活动可用门店) 文档地址:https://opendocs.alipay.com/open/04fgwe

func (*Client) MarketingActivityQueryUserBatchQueryVoucher added in v1.5.101

func (a *Client) MarketingActivityQueryUserBatchQueryVoucher(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityQueryUserBatchQueryVoucherRsp, err error)

alipay.marketing.activity.user.batchqueryvoucher(条件查询用户券) 文档地址:https://opendocs.alipay.com/open/04fgwg

func (*Client) MarketingActivityQueryUserQueryVoucher added in v1.5.101

func (a *Client) MarketingActivityQueryUserQueryVoucher(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityQueryUserQueryVoucherRsp, err error)

alipay.marketing.activity.user.queryvoucher(查询用户券详情) 文档地址:https://opendocs.alipay.com/open/04fgwh

func (*Client) MarketingActivityVoucherAppend added in v1.5.101

func (a *Client) MarketingActivityVoucherAppend(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityVoucherAppendRsp, err error)

alipay.marketing.activity.voucher.append(追加支付券预算) 文档地址:https://opendocs.alipay.com/open/049d68

func (*Client) MarketingActivityVoucherCreate added in v1.5.101

func (a *Client) MarketingActivityVoucherCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityVoucherCreateRsp, err error)

alipay.marketing.activity.voucher.create(创建支付券) 文档地址:https://opendocs.alipay.com/open/049d65

func (*Client) MarketingActivityVoucherModify added in v1.5.101

func (a *Client) MarketingActivityVoucherModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityVoucherModifyRsp, err error)

alipay.marketing.activity.voucher.modify(修改支付券基本信息) 文档地址:https://opendocs.alipay.com/open/049d67

func (*Client) MarketingActivityVoucherPublish added in v1.5.101

func (a *Client) MarketingActivityVoucherPublish(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityVoucherPublishRsp, err error)

alipay.marketing.activity.voucher.publish(激活支付券) 文档地址:https://opendocs.alipay.com/open/049d66

func (*Client) MarketingActivityVoucherQuery added in v1.5.101

func (a *Client) MarketingActivityVoucherQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityVoucherQueryRsp, err error)

alipay.marketing.activity.voucher.query(查询支付券详情) 文档地址:https://opendocs.alipay.com/open/049d6g

func (*Client) MarketingActivityVoucherStop added in v1.5.101

func (a *Client) MarketingActivityVoucherStop(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityVoucherStopRsp, err error)

alipay.marketing.activity.voucher.stop(停止支付券) 文档地址:https://opendocs.alipay.com/open/049d69

func (*Client) MarketingCampaignCashCreate added in v1.5.100

func (a *Client) MarketingCampaignCashCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashCreateRsp, err error)

alipay.marketing.campaign.cash.create(创建现金活动接口) 文档地址:https://opendocs.alipay.com/open/029yy9

func (*Client) MarketingCampaignCashDetailQuery added in v1.5.100

func (a *Client) MarketingCampaignCashDetailQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashDetailQueryRsp, err error)

alipay.marketing.campaign.cash.detail.query(现金活动详情查询) 文档地址:https://opendocs.alipay.com/open/02a1fa

func (*Client) MarketingCampaignCashListQuery added in v1.5.100

func (a *Client) MarketingCampaignCashListQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashListQueryRsp, err error)

alipay.marketing.campaign.cash.list.query(现金活动列表查询接口) 文档地址:https://opendocs.alipay.com/open/02a1f9

func (*Client) MarketingCampaignCashStatusModify added in v1.5.100

func (a *Client) MarketingCampaignCashStatusModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashStatusModifyRsp, err error)

alipay.marketing.campaign.cash.status.modify(更改现金活动状态接口) 文档地址:https://opendocs.alipay.com/open/029yyb

func (*Client) MarketingCampaignCashTrigger added in v1.5.100

func (a *Client) MarketingCampaignCashTrigger(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashTriggerRsp, err error)

alipay.marketing.campaign.cash.trigger(触发现金红包活动) 文档地址:https://opendocs.alipay.com/open/029yya

func (*Client) MarketingCampaignOrderVoucherConsult added in v1.5.101

func (a *Client) MarketingCampaignOrderVoucherConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignOrderVoucherConsultRsp, err error)

alipay.marketing.campaign.order.voucher.consult(订单优惠前置咨询) 文档地址:https://opendocs.alipay.com/open/04fgwi

func (*Client) MarketingCardDelete added in v1.5.104

func (a *Client) MarketingCardDelete(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCardDeleteRsp, err error)

alipay.marketing.card.delete(会员卡删卡) 文档地址:https://opendocs.alipay.com/open/8efddab3_alipay.marketing.card.delete

func (*Client) MarketingCardFormTemplateSet added in v1.5.104

func (a *Client) MarketingCardFormTemplateSet(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCardFormTemplateSetRsp, err error)

alipay.marketing.card.formtemplate.set(会员卡开卡表单模板配置) 文档地址:https://opendocs.alipay.com/open/78c84d3f_alipay.marketing.card.formtemplate.set

func (*Client) MarketingCardMessageNotify added in v1.5.104

func (a *Client) MarketingCardMessageNotify(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCardMessageNotifyRsp, err error)

alipay.marketing.card.message.notify(会员卡消息通知) 文档地址:https://opendocs.alipay.com/open/4c052993_alipay.marketing.card.message.notify

func (*Client) MarketingCardQuery added in v1.5.104

func (a *Client) MarketingCardQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCardQueryRsp, err error)

alipay.marketing.card.query(会员卡查询) 文档地址:https://opendocs.alipay.com/open/023c20c1_alipay.marketing.card.query

func (*Client) MarketingCardTemplateCreate added in v1.5.104

func (a *Client) MarketingCardTemplateCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCardTemplateCreateRsp, err error)

alipay.marketing.card.template.create(会员卡模板创建) 文档地址:https://opendocs.alipay.com/open/b2854ad3_alipay.marketing.card.template.create

func (*Client) MarketingCardTemplateModify added in v1.5.104

func (a *Client) MarketingCardTemplateModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCardTemplateModifyRsp, err error)

alipay.marketing.card.template.modify(会员卡模板修改) 文档地址:https://opendocs.alipay.com/open/e3227c82_alipay.marketing.card.template.modify

func (*Client) MarketingCardTemplateQuery added in v1.5.104

func (a *Client) MarketingCardTemplateQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCardTemplateQueryRsp, err error)

alipay.marketing.card.template.query(会员卡模板查询接口) 文档地址:https://opendocs.alipay.com/open/690f3d16_alipay.marketing.card.template.query

func (*Client) MarketingCardUpdate added in v1.5.104

func (a *Client) MarketingCardUpdate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCardUpdateRsp, err error)

alipay.marketing.card.update(会员卡更新) 文档地址:https://opendocs.alipay.com/open/89b55b6d_alipay.marketing.card.update

func (*Client) MarketingMaterialImageUpload added in v1.5.101

func (a *Client) MarketingMaterialImageUpload(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingMaterialImageUploadRsp, err error)

alipay.marketing.material.image.upload(营销图片资源上传接口) bm参数中 file_content 可不传,file为必传参数 文档地址:https://opendocs.alipay.com/open/389b24b6_alipay.marketing.material.image.upload

func (*Client) MarketingQipanBehaviorQuery added in v1.5.106

func (a *Client) MarketingQipanBehaviorQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanBehaviorQueryRsp, err error)

alipay.merchant.qipan.behavior.query(行为分析) 文档地址:https://opendocs.alipay.com/open/56735ac5_alipay.merchant.qipan.behavior.query

func (*Client) MarketingQipanBoardQuery added in v1.5.106

func (a *Client) MarketingQipanBoardQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanBoardQueryRsp, err error)

alipay.merchant.qipan.board.query(看板分析) 文档地址:https://opendocs.alipay.com/open/aa5066aa_alipay.merchant.qipan.board.query

func (*Client) MarketingQipanCrowdBatchQuery added in v1.5.106

func (a *Client) MarketingQipanCrowdBatchQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanCrowdBatchQueryRsp, err error)

alipay.merchant.qipan.crowd.batchquery(查询人群列表) 文档地址:https://opendocs.alipay.com/open/b7f3caec_alipay.merchant.qipan.crowd.batchquery

func (*Client) MarketingQipanCrowdModify added in v1.5.106

func (a *Client) MarketingQipanCrowdModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanCrowdModifyRsp, err error)

alipay.merchant.qipan.crowd.modify(修改人群) 文档地址:https://opendocs.alipay.com/open/6c8ebb31_alipay.merchant.qipan.crowd.modify

func (*Client) MarketingQipanCrowdOperationCreate added in v1.5.106

func (a *Client) MarketingQipanCrowdOperationCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanCrowdOperationCreateRsp, err error)

alipay.marketing.qipan.crowdoperation.create(棋盘人群创建) 文档地址:https://opendocs.alipay.com/open/09c10677_alipay.marketing.qipan.crowdoperation.create

func (*Client) MarketingQipanCrowdQuery added in v1.5.106

func (a *Client) MarketingQipanCrowdQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanCrowdQueryRsp, err error)

alipay.merchant.qipan.crowd.query(查询人群详情) 文档地址:https://opendocs.alipay.com/open/be384367_alipay.merchant.qipan.crowd.query

func (*Client) MarketingQipanCrowdTagQuery added in v1.5.106

func (a *Client) MarketingQipanCrowdTagQuery(ctx context.Context) (aliRsp *MarketingQipanCrowdTagQueryRsp, err error)

alipay.marketing.qipan.crowdtag.query(查询圈选标签列表) 文档地址:https://opendocs.alipay.com/open/8e411cec_alipay.marketing.qipan.crowdtag.query

func (*Client) MarketingQipanCrowdWithTagCreate added in v1.5.106

func (a *Client) MarketingQipanCrowdWithTagCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanCrowdWithTagCreateRsp, err error)

alipay.marketing.qipan.crowdwithtag.create(标签圈选创建人群) 文档地址:https://opendocs.alipay.com/open/cbf0efa4_alipay.marketing.qipan.crowdwithtag.create

func (*Client) MarketingQipanCrowdWithTagQuery added in v1.5.106

func (a *Client) MarketingQipanCrowdWithTagQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanCrowdWithTagQueryRsp, err error)

alipay.marketing.qipan.crowdwithtag.query(标签圈选预估人群规模) 文档地址:https://opendocs.alipay.com/open/adb5dd04_alipay.marketing.qipan.crowdwithtag.query

func (*Client) MarketingQipanInsightCityQuery added in v1.5.106

func (a *Client) MarketingQipanInsightCityQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanInsightCityQueryRsp, err error)

alipay.merchant.qipan.insightcity.query(常住省市查询) 文档地址:https://opendocs.alipay.com/open/f7d99821_alipay.merchant.qipan.insightcity.query

func (*Client) MarketingQipanInsightQuery added in v1.5.106

func (a *Client) MarketingQipanInsightQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanInsightQueryRsp, err error)

alipay.merchant.qipan.insight.query(画像分析) 文档地址:https://opendocs.alipay.com/open/46a75f4e_alipay.merchant.qipan.insight.query

func (*Client) MarketingQipanTagBaseBatchQuery added in v1.5.106

func (a *Client) MarketingQipanTagBaseBatchQuery(ctx context.Context) (aliRsp *MarketingQipanTagBaseBatchQueryRsp, err error)

alipay.marketing.qipan.tagbase.batchquery(棋盘人群圈选标签基本信息查询) 文档地址:https://opendocs.alipay.com/open/ce6aee00_alipay.marketing.qipan.tagbase.batchquery

func (*Client) MarketingQipanTagQuery added in v1.5.106

func (a *Client) MarketingQipanTagQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanTagQueryRsp, err error)

alipay.marketing.qipan.tag.query(棋盘标签圈选值查询) 文档地址:https://opendocs.alipay.com/open/e322cb35_alipay.marketing.qipan.tag.query

func (*Client) MarketingQipanTrendQuery added in v1.5.106

func (a *Client) MarketingQipanTrendQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingQipanTrendQueryRsp, err error)

alipay.merchant.qipan.trend.query(趋势分析) 文档地址:https://opendocs.alipay.com/open/8ee7795a_alipay.merchant.qipan.trend.query

func (*Client) MemberDataIsvCreate added in v1.5.51

func (a *Client) MemberDataIsvCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MemberDataIsvCreateRsp, err error)

koubei.member.data.isv.create(isv 会员CRM数据回流) 文档地址:https://opendocs.alipay.com/apis/api_2/koubei.member.data.isv.create

func (*Client) MerchantItemFileUpload added in v1.5.45

func (a *Client) MerchantItemFileUpload(ctx context.Context, bm gopay.BodyMap) (aliRsp *MerchantItemFileUploadRsp, err error)

alipay.merchant.item.file.upload(商品文件上传接口) 文档地址:https://opendocs.alipay.com/apis/api_4/alipay.merchant.item.file.upload

func (*Client) MerchantQipanCrowdCreate added in v1.5.106

func (a *Client) MerchantQipanCrowdCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MerchantQipanCrowdCreateRsp, err error)

alipay.merchant.qipan.crowd.create(上传创建人群) 文档地址:https://opendocs.alipay.com/open/e93d9a54_alipay.merchant.qipan.crowd.create

func (*Client) MerchantQipanCrowdUserAdd added in v1.5.106

func (a *Client) MerchantQipanCrowdUserAdd(ctx context.Context, bm gopay.BodyMap) (aliRsp *MerchantQipanCrowdUserAddRsp, err error)

alipay.merchant.qipan.crowduser.add(人群中追加用户) 文档地址:https://opendocs.alipay.com/open/04330914_alipay.merchant.qipan.crowduser.add

func (*Client) MerchantQipanCrowdUserDelete added in v1.5.106

func (a *Client) MerchantQipanCrowdUserDelete(ctx context.Context, bm gopay.BodyMap) (aliRsp *MerchantQipanCrowdUserDeleteRsp, err error)

alipay.merchant.qipan.crowduser.delete(人群中删除用户) 文档地址:https://opendocs.alipay.com/open/80646633_alipay.merchant.qipan.crowduser.delete

func (*Client) OcrCommonDetect added in v1.5.102

func (a *Client) OcrCommonDetect(ctx context.Context, bm gopay.BodyMap) (aliRsp *OcrCommonDetectRsp, err error)

datadigital.fincloud.generalsaas.ocr.common.detect(文字识别OCR) 文档地址:https://opendocs.alipay.com/open/0776c2cb_datadigital.fincloud.generalsaas.ocr.common.detect

func (*Client) OcrMobileInitialize added in v1.5.102

func (a *Client) OcrMobileInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *OcrMobileInitializeRsp, err error)

datadigital.fincloud.generalsaas.ocr.mobile.initialize(App端OCR初始化) 文档地址:https://opendocs.alipay.com/open/043ksf

func (*Client) OcrServerDetect added in v1.5.102

func (a *Client) OcrServerDetect(ctx context.Context, bm gopay.BodyMap) (aliRsp *OcrServerDetectRsp, err error)

datadigital.fincloud.generalsaas.ocr.server.detect(服务端OCR) 文档地址:https://opendocs.alipay.com/open/05ut8h

func (*Client) OfflineMaterialImageUpload added in v1.5.104

func (a *Client) OfflineMaterialImageUpload(ctx context.Context, bm gopay.BodyMap) (aliRsp *OfflineMaterialImageUploadRsp, err error)

alipay.offline.material.image.upload(上传门店照片和视频接口) 文档地址:https://opendocs.alipay.com/open/0af852ff_alipay.offline.material.image.upload

func (*Client) OpenAppApiQuery added in v1.5.89

func (a *Client) OpenAppApiQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAppApiQueryResponse, err error)

alipay.open.app.api.query(查询应用可申请的接口出参敏感字段列表) 文档地址:https://opendocs.alipay.com/isv/04f74n

func (*Client) OpenAppQrcodeCreate added in v1.5.45

func (a *Client) OpenAppQrcodeCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAppQrcodeCreateRsp, err error)

alipay.open.app.qrcode.create(小程序生成推广二维码接口) 文档地址:https://opendocs.alipay.com/apis/009zva

func (*Client) OpenAuthTokenApp

func (a *Client) OpenAuthTokenApp(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAuthTokenAppResponse, err error)

alipay.open.auth.token.app(换取应用授权令牌) 文档地址:https://opendocs.alipay.com/isv/04h3uf

func (*Client) OpenAuthTokenAppInviteCreate added in v1.5.89

func (a *Client) OpenAuthTokenAppInviteCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAuthTokenAppInviteCreateResponse, err error)

alipay.open.auth.appauth.invite.create(ISV向商户发起应用授权邀约) 文档地址:https://opendocs.alipay.com/isv/06evao

func (*Client) OpenAuthTokenAppQuery added in v1.5.88

func (a *Client) OpenAuthTokenAppQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAuthTokenAppQueryResponse, err error)

alipay.open.auth.token.app.query(查询某个应用授权AppAuthToken的授权信息) 文档地址:https://opendocs.alipay.com/isv/04hgcp

func (*Client) PageExecute added in v1.5.92

func (a *Client) PageExecute(ctx context.Context, bm gopay.BodyMap, method string, authToken ...string) (url string, err error)

保持和官方 SDK 命名方式一致

func (*Client) PayAppMarketingConsult added in v1.5.103

func (a *Client) PayAppMarketingConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *PayAppMarketingConsultRsp, err error)

alipay.pay.app.marketing.consult(商户前置内容咨询接口) 文档地址:https://opendocs.alipay.com/pre-open/296d225f_alipay.pay.app.marketing.consult

func (*Client) PaymentTradeOrderCreate added in v1.5.52

func (a *Client) PaymentTradeOrderCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *PaymentTradeOrderCreateRsp, err error)

mybank.payment.trade.order.create(网商银行全渠道收单业务订单创建) 文档地址:https://opendocs.alipay.com/apis/api_1/mybank.payment.trade.order.create

func (*Client) PcreditHuabeiAuthSettleApply added in v1.5.52

func (a *Client) PcreditHuabeiAuthSettleApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *PcreditHuabeiAuthSettleApplyRsp, err error)

alipay.pcredit.huabei.auth.settle.apply(花芝轻会员结算申请) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.pcredit.huabei.auth.settle.apply

func (*Client) PostAliPayAPISelfV2

func (a *Client) PostAliPayAPISelfV2(ctx context.Context, bodyMap gopay.BodyMap, method string, aliRsp any) (err error)

PostAliPayAPISelfV2 支付宝接口自行实现方法 注意:biz_content 需要自行通过bm.SetBodyMap()设置,不设置则没有此参数 示例:请参考 client_test.go 的 TestClient_PostAliPayAPISelfV2() 方法

func (*Client) PostFileAliPayAPISelfV2 added in v1.5.98

func (a *Client) PostFileAliPayAPISelfV2(ctx context.Context, bm gopay.BodyMap, method string, aliRsp any) (err error)

PostFileAliPayAPISelfV2 用于支付宝带有文件上传的接口自行实现方法 注意:最新版本的支付宝接口,对于文件的上传已统一改为通过formData上传 请求form格式如下: {file: "fileData", "data": BodyMap{"key": "value"}} 其中file为file请求字段名称,data为其他请求参数(key为文件名,value为文件内容)

func (*Client) PublicCertDownload added in v1.5.45

func (a *Client) PublicCertDownload(ctx context.Context, bm gopay.BodyMap) (aliRsp *PublicCertDownloadRsp, err error)

alipay.open.app.alipaycert.download(应用支付宝公钥证书下载) 文档地址:https://opendocs.alipay.com/apis/api_9/alipay.open.app.alipaycert.download

func (*Client) RequestParam added in v1.5.45

func (a *Client) RequestParam(bm gopay.BodyMap, method string) (string, error)

RequestParam 获取支付宝完整请求参数包含签名 注意:biz_content 需要自行通过bm.SetBodyMap()设置,不设置则没有此参数

func (*Client) SecurityCustomerRiskSend added in v1.5.101

func (a *Client) SecurityCustomerRiskSend(ctx context.Context, bm gopay.BodyMap) (aliRsp *SecurityCustomerRiskSendRsp, err error)

alipay.security.risk.customerrisk.send(商户数据同步) 文档地址:https://opendocs.alipay.com/open/02qth4

func (*Client) SetAESKey added in v1.5.97

func (a *Client) SetAESKey(aesKey string)

SetAESKey 设置 biz_content 的AES加密key,设置此参数默认开启 biz_content 参数加密 注意:目前不可用,设置后会报错

func (*Client) SetAliPayPublicCertSN

func (a *Client) SetAliPayPublicCertSN(aliPayPublicCertSN string) (client *Client)

Deprecated 推荐使用 client.SetCertSnByContent() 或 client.SetCertSnByPath() 设置 支付宝公钥证书SN aliPayPublicCertSN:支付宝公钥证书SN,通过 alipay.GetCertSN() 获取

func (*Client) SetAliPayRootCertSN

func (a *Client) SetAliPayRootCertSN(aliPayRootCertSN string) (client *Client)

Deprecated 推荐使用 client.SetCertSnByContent() 或 client.SetCertSnByPath() 设置 支付宝CA根证书SN aliPayRootCertSN:支付宝CA根证书SN,通过 alipay.GetRootCertSN() 获取

func (*Client) SetAppAuthToken

func (a *Client) SetAppAuthToken(appAuthToken string) (client *Client)

设置应用授权

func (*Client) SetAppCertSN

func (a *Client) SetAppCertSN(appCertSN string) (client *Client)

Deprecated 推荐使用 client.SetCertSnByContent() 或 client.SetCertSnByPath() 设置 应用公钥证书SN appCertSN:应用公钥证书SN,通过 alipay.GetCertSN() 获取

func (*Client) SetBodySize added in v1.5.82

func (a *Client) SetBodySize(sizeMB int)

SetBodySize 设置http response body size(MB)

func (*Client) SetCertSnByContent

func (a *Client) SetCertSnByContent(appCertContent, aliPayRootCertContent, aliPayPublicCertContent []byte) (err error)

通过应用公钥证书内容设置 app_cert_sn、alipay_root_cert_sn、alipay_cert_sn appCertContent:应用公钥证书文件内容 aliPayRootCertContent:支付宝根证书文件内容 aliPayPublicCertContent:支付宝公钥证书文件内容

func (*Client) SetCertSnByPath

func (a *Client) SetCertSnByPath(appCertPath, aliPayRootCertPath, aliPayPublicCertPath string) (err error)

通过应用公钥证书路径设置 app_cert_sn、alipay_root_cert_sn、alipay_cert_sn appCertPath:应用公钥证书路径 aliPayRootCertPath:支付宝根证书文件路径 aliPayPublicCertPath:支付宝公钥证书文件路径

func (*Client) SetCharset

func (a *Client) SetCharset(charset string) (client *Client)

设置编码格式,如utf-8,gbk,gb2312等,默认推荐使用 utf-8

func (*Client) SetHttpClient added in v1.5.102

func (a *Client) SetHttpClient(client *xhttp.Client)

SetHttpClient 设置自定义的xhttp.Client

func (*Client) SetLocation

func (a *Client) SetLocation(name string) (client *Client)

设置 时区,不设置或出错均为默认服务器时间

func (*Client) SetLogger added in v1.5.103

func (a *Client) SetLogger(logger xlog.XLogger)

SetLogger 设置自定义的logger

func (*Client) SetNotifyUrl

func (a *Client) SetNotifyUrl(url string) (client *Client)

设置支付宝服务器主动通知商户服务器里指定的页面http/https路径。

func (*Client) SetPrivateKeyType

func (a *Client) SetPrivateKeyType(t PKCSType) (client *Client)

Deprecated

func (*Client) SetReturnUrl

func (a *Client) SetReturnUrl(url string) (client *Client)

设置支付后的ReturnUrl

func (*Client) SetSignType

func (a *Client) SetSignType(signType string) (client *Client)

设置签名算法类型,目前支持RSA2和RSA,默认推荐使用 RSA2

func (*Client) SystemOauthToken

func (a *Client) SystemOauthToken(ctx context.Context, bm gopay.BodyMap) (aliRsp *SystemOauthTokenResponse, err error)

alipay.system.oauth.token(换取授权访问令牌) 文档地址:https://opendocs.alipay.com/open/02ailc

func (*Client) TradeAdvanceConsult added in v1.5.45

func (a *Client) TradeAdvanceConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeAdvanceConsultRsp, err error)

alipay.trade.advance.consult(订单咨询服务) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.trade.advance.consult

func (*Client) TradeAppPay

func (a *Client) TradeAppPay(ctx context.Context, bm gopay.BodyMap) (payParam string, err error)

alipay.trade.app.pay(app支付接口2.0) 文档地址:https://opendocs.alipay.com/open/02e7gq

func (*Client) TradeCancel

func (a *Client) TradeCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCancelResponse, err error)

alipay.trade.cancel(统一收单交易撤销接口) 文档地址:https://opendocs.alipay.com/open/02ekfi

func (*Client) TradeClose

func (a *Client) TradeClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCloseResponse, err error)

alipay.trade.close(统一收单交易关闭接口) 文档地址:https://opendocs.alipay.com/open/02e7gn

func (*Client) TradeCreate

func (a *Client) TradeCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCreateResponse, err error)

alipay.trade.create(统一收单交易创建接口) 文档地址:https://opendocs.alipay.com/open/02ekfj

func (*Client) TradeCustomsDeclare added in v1.5.49

func (a *Client) TradeCustomsDeclare(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCustomsDeclareRsp, err error)

alipay.trade.customs.declare(统一收单报关接口) 文档地址:https://opendocs.alipay.com/apis/api_29/alipay.trade.customs.declare

func (*Client) TradeFastPayRefundQuery

func (a *Client) TradeFastPayRefundQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeFastpayRefundQueryResponse, err error)

alipay.trade.fastpay.refund.query(统一收单交易退款查询) 文档地址:https://opendocs.alipay.com/open/02e7gp

func (*Client) TradeOrderInfoSync added in v1.5.45

func (a *Client) TradeOrderInfoSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderInfoSyncRsp, err error)

alipay.trade.orderinfo.sync(支付宝订单信息同步接口) 文档地址:https://opendocs.alipay.com/open/02cnou

func (*Client) TradeOrderOnSettleQuery added in v1.5.97

func (a *Client) TradeOrderOnSettleQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderOnSettleQueryResponse, err error)

alipay.trade.order.onsettle.query(分账剩余金额查询) 文档地址:https://opendocs.alipay.com/open/d87dc009_alipay.trade.order.onsettle.query

func (*Client) TradeOrderPay added in v1.5.101

func (a *Client) TradeOrderPay(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderPayResponse, err error)

alipay.trade.order.pay(统一收单交易订单支付接口) 文档地址:https://opendocs.alipay.com/open/03vtew

func (*Client) TradeOrderSettle

func (a *Client) TradeOrderSettle(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderSettleResponse, err error)

alipay.trade.order.settle(统一收单交易结算接口) 文档地址:https://opendocs.alipay.com/open/c3b24498_alipay.trade.order.settle

func (*Client) TradeOrderSettleQuery added in v1.5.83

func (a *Client) TradeOrderSettleQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderSettleQueryResponse, err error)

alipay.trade.order.settle.query(交易分账查询接口) 文档地址:https://opendocs.alipay.com/open/02pj6l

func (*Client) TradePagePay

func (a *Client) TradePagePay(ctx context.Context, bm gopay.BodyMap) (payUrl string, err error)

alipay.trade.page.pay(统一收单下单并支付页面接口) 文档地址:https://opendocs.alipay.com/open/028r8t

func (*Client) TradePageRefund

func (a *Client) TradePageRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradePageRefundResponse, err error)

alipay.trade.page.refund(统一收单退款页面接口) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.trade.page.refund

func (*Client) TradePay

func (a *Client) TradePay(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradePayResponse, err error)

alipay.trade.pay(统一收单交易支付接口) 文档地址:https://opendocs.alipay.com/open/02cdx8

func (*Client) TradePrecreate

func (a *Client) TradePrecreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradePrecreateResponse, err error)

alipay.trade.precreate(统一收单线下交易预创建) 文档地址:https://opendocs.alipay.com/open/02ekfg

func (*Client) TradeQuery

func (a *Client) TradeQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeQueryResponse, err error)

alipay.trade.query(统一收单线下交易查询) 文档地址:https://opendocs.alipay.com/open/02e7gm

func (*Client) TradeRefund

func (a *Client) TradeRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRefundResponse, err error)

alipay.trade.refund(统一收单交易退款接口) 文档地址:https://opendocs.alipay.com/open/02e7go

func (*Client) TradeRelationBatchQuery added in v1.5.83

func (a *Client) TradeRelationBatchQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRelationBatchQueryResponse, err error)

alipay.trade.royalty.relation.batchquery(分账关系查询) 文档地址:https://opendocs.alipay.com/open/1860be54_alipay.trade.royalty.relation.batchquery

func (*Client) TradeRelationBind added in v1.5.83

func (a *Client) TradeRelationBind(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRelationBindResponse, err error)

alipay.trade.royalty.relation.bind(分账关系绑定) 文档地址:https://opendocs.alipay.com/open/c21931d6_alipay.trade.royalty.relation.bind

func (*Client) TradeRelationUnbind added in v1.5.83

func (a *Client) TradeRelationUnbind(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRelationUnbindResponse, err error)

alipay.trade.royalty.relation.unbind(分账关系解绑) 文档地址:https://opendocs.alipay.com/open/3613f4e1_alipay.trade.royalty.relation.unbind

func (*Client) TradeRepaybillQuery added in v1.5.59

func (a *Client) TradeRepaybillQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRepaybillQueryRsp, err error)

alipay.trade.repaybill.query(还款账单查询) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.trade.repaybill.query

func (*Client) TradeRoyaltyRateQuery added in v1.5.97

func (a *Client) TradeRoyaltyRateQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRoyaltyRateQueryResponse, err error)

alipay.trade.royalty.rate.query(分账比例查询) 文档地址:https://opendocs.alipay.com/open/6f314ee9_alipay.trade.royalty.rate.query

func (*Client) TradeSettleConfirm added in v1.5.94

func (a *Client) TradeSettleConfirm(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeSettleConfirmResponse, err error)

alipay.trade.settle.confirm(统一收单确认结算接口) 文档地址:https://opendocs.alipay.com/open/028xqy

func (*Client) TradeWapPay

func (a *Client) TradeWapPay(ctx context.Context, bm gopay.BodyMap) (payUrl string, err error)

alipay.trade.wap.pay(手机网站支付接口2.0) 文档地址:https://opendocs.alipay.com/open/02ivbs

func (*Client) UserAgreementExecutionplanModify added in v1.5.51

func (a *Client) UserAgreementExecutionplanModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementExecutionplanModifyRsp, err error)

alipay.user.agreement.executionplan.modify(周期性扣款协议执行计划修改接口) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.agreement.executionplan.modify

func (*Client) UserAgreementPageSign added in v1.5.45

func (a *Client) UserAgreementPageSign(ctx context.Context, bm gopay.BodyMap) (ret string, err error)

alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 文档地址:https://opendocs.alipay.com/open/8bccfa0b_alipay.user.agreement.page.sign

func (*Client) UserAgreementPageSignInApp added in v1.5.89

func (a *Client) UserAgreementPageSignInApp(ctx context.Context, bm gopay.BodyMap) (ret string, err error)

alipay.user.agreement.page.sign(APP 支付宝个人协议页面签约接口) 文档地址:https://opendocs.alipay.com/open/00a05b 通过 App 唤起支付宝的签约页面

func (*Client) UserAgreementPageUnSign added in v1.5.45

func (a *Client) UserAgreementPageUnSign(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementPageUnSignRsp, err error)

alipay.user.agreement.unsign(支付宝个人代扣协议解约接口) 文档地址:https://opendocs.alipay.com/open/b841da1f_alipay.user.agreement.unsign

func (*Client) UserAgreementQuery added in v1.5.45

func (a *Client) UserAgreementQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementQueryRsp, err error)

alipay.user.agreement.query(支付宝个人代扣协议查询接口) 文档地址:https://opendocs.alipay.com/open/3dab71bc_alipay.user.agreement.query

func (*Client) UserAgreementTransfer added in v1.5.51

func (a *Client) UserAgreementTransfer(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementTransferRsp, err error)

alipay.user.agreement.transfer(协议由普通通用代扣协议产品转移到周期扣协议产品) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.agreement.transfer

func (*Client) UserAlipaypointBudgetlibQuery added in v1.5.52

func (a *Client) UserAlipaypointBudgetlibQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAlipaypointBudgetlibQueryRsp, err error)

alipay.user.alipaypoint.budgetlib.query(查询集分宝预算库详情) 文档地址:https://opendocs.alipay.com/apis/01zrby

func (*Client) UserAlipaypointSend added in v1.5.51

func (a *Client) UserAlipaypointSend(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAlipaypointSendRsp, err error)

alipay.user.alipaypoint.send(集分宝发放接口) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.alipaypoint.send

func (*Client) UserAuthRelationshipQuery added in v1.5.101

func (a *Client) UserAuthRelationshipQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAuthRelationshipQueryRsp, err error)

alipay.open.auth.userauth.relationship.query(用户授权关系查询) 文档地址:https://opendocs.alipay.com/open/6b97edd1_alipay.open.auth.userauth.relationship.query

func (*Client) UserAuthZhimaorgIdentityApply added in v1.5.51

func (a *Client) UserAuthZhimaorgIdentityApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAuthZhimaorgIdentityApplyRsp, err error)

alipay.user.auth.zhimaorg.identity.apply(芝麻企业征信基于身份的协议授权) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.auth.zhimaorg.identity.apply

func (*Client) UserCertdocCertverifyConsult added in v1.5.52

func (a *Client) UserCertdocCertverifyConsult(ctx context.Context, bm gopay.BodyMap, authToken string) (aliRsp *UserCertdocCertverifyConsultRsp, err error)

alipay.user.certdoc.certverify.consult(实名证件信息比对验证咨询) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.certdoc.certverify.consult

func (*Client) UserCertdocCertverifyPreconsult added in v1.5.52

func (a *Client) UserCertdocCertverifyPreconsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCertdocCertverifyPreconsultRsp, err error)

alipay.user.certdoc.certverify.preconsult(实名证件信息比对验证预咨询) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.certdoc.certverify.preconsult

func (*Client) UserCertifyOpenCertify

func (a *Client) UserCertifyOpenCertify(ctx context.Context, bm gopay.BodyMap) (certifyUrl string, err error)

alipay.user.certify.open.certify(身份认证开始认证) API文档地址:https://opendocs.alipay.com/open/02ahk0

func (*Client) UserCertifyOpenInit

func (a *Client) UserCertifyOpenInit(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCertifyOpenInitResponse, err error)

alipay.user.certify.open.initialize(身份认证初始化服务) 文档地址:https://opendocs.alipay.com/open/02ahjy

func (*Client) UserCertifyOpenQuery

func (a *Client) UserCertifyOpenQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCertifyOpenQueryResponse, err error)

alipay.user.certify.open.query(身份认证记录查询) 文档地址:https://opendocs.alipay.com/open/02ahjw

func (*Client) UserCharityRecordexistQuery added in v1.5.51

func (a *Client) UserCharityRecordexistQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCharityRecordexistQueryRsp, err error)

alipay.user.charity.recordexist.query(查询是否在支付宝公益捐赠的接口) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.charity.recordexist.query

func (*Client) UserDelOAuthDetailQuery added in v1.5.101

func (a *Client) UserDelOAuthDetailQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserDelOAuthDetailQueryRsp, err error)

alipay.user.deloauth.detail.query(查询解除授权明细) 文档地址:https://opendocs.alipay.com/open/77e7fec5_alipay.user.deloauth.detail.query

func (*Client) UserDtbankQrcodedataQuery added in v1.5.52

func (a *Client) UserDtbankQrcodedataQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserDtbankQrcodedataQueryRsp, err error)

alipay.user.dtbank.qrcodedata.query(数字分行银行码明细数据查询) 文档地址:https://opendocs.alipay.com/apis/01ozks

func (*Client) UserFamilyArchiveInitialize added in v1.5.52

func (a *Client) UserFamilyArchiveInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserFamilyArchiveInitializeRsp, err error)

alipay.user.family.archive.initialize(初始化家人信息档案(选人授权)组件) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.family.archive.initialize

func (*Client) UserFamilyArchiveQuery added in v1.5.51

func (a *Client) UserFamilyArchiveQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserFamilyArchiveQueryRsp, err error)

alipay.user.family.archive.query(查询家人信息档案(选人授权)组件已选的家人档案信息) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.family.archive.query

func (*Client) UserFamilyShareZmgoInitialize added in v1.5.52

func (a *Client) UserFamilyShareZmgoInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserFamilyShareZmgoInitializeRsp, err error)

alipay.user.family.share.zmgo.initialize(初始化家庭芝麻GO共享组件) 文档地址:https://opendocs.alipay.com/apis/01n4yx

func (*Client) UserInfoAuth

func (a *Client) UserInfoAuth(ctx context.Context, bm gopay.BodyMap) (html []byte, err error)

alipay.user.info.auth(用户登陆授权) 注意:不支持自动验签 文档地址:https://opendocs.alipay.com/open/02aile

func (*Client) UserInfoShare

func (a *Client) UserInfoShare(ctx context.Context, authToken string) (aliRsp *UserInfoShareResponse, err error)

alipay.user.info.share(支付宝会员授权信息查询接口) body:此接口无需body参数 文档地址:https://opendocs.alipay.com/open/02aild

func (*Client) UserTwostageCommonUse added in v1.5.51

func (a *Client) UserTwostageCommonUse(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserTwostageCommonUseRsp, err error)

alipay.user.twostage.common.use(通用当面付二阶段接口) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.twostage.common.use

func (*Client) ZhimaCreditEpSceneAgreementCancel added in v1.5.50

func (a *Client) ZhimaCreditEpSceneAgreementCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneAgreementCancelRsp, err error)

zhima.credit.ep.scene.agreement.cancel(取消信用服务) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.ep.scene.agreement.cancel

func (*Client) ZhimaCreditEpSceneAgreementUse added in v1.5.50

func (a *Client) ZhimaCreditEpSceneAgreementUse(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneAgreementUseRsp, err error)

zhima.credit.ep.scene.agreement.use(加入信用服务) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.ep.scene.agreement.use

func (*Client) ZhimaCreditEpSceneFulfillmentSync added in v1.5.50

func (a *Client) ZhimaCreditEpSceneFulfillmentSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneFulfillmentSyncRsp, err error)

zhima.credit.ep.scene.fulfillment.sync(信用服务履约同步) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.ep.scene.fulfillment.sync

func (*Client) ZhimaCreditEpSceneFulfillmentlistSync added in v1.5.50

func (a *Client) ZhimaCreditEpSceneFulfillmentlistSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneFulfillmentlistSyncRsp, err error)

zhima.credit.ep.scene.fulfillmentlist.sync(信用服务履约同步(批量)) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.ep.scene.fulfillmentlist.sync

func (*Client) ZhimaCreditEpSceneRatingInitialize added in v1.5.50

func (a *Client) ZhimaCreditEpSceneRatingInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneRatingInitializeRsp, err error)

zhima.credit.ep.scene.rating.initialize(芝麻企业信用信用评估初始化) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.ep.scene.rating.initialize

func (*Client) ZhimaCreditPayAfterUseAgreementQuery added in v1.5.101

func (a *Client) ZhimaCreditPayAfterUseAgreementQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPayAfterUseAgreementQueryRsp, err error)

zhima.credit.payafteruse.creditagreement.query(查询服务开通/授权信息) 文档地址:https://opendocs.alipay.com/open/03ulp0

func (*Client) ZhimaCreditPayAfterUseAgreementSign added in v1.5.101

func (a *Client) ZhimaCreditPayAfterUseAgreementSign(ctx context.Context, bm gopay.BodyMap) (orderStr string, err error)

zhima.credit.payafteruse.creditagreement.sign(信用服务开通/授权) 文档地址:https://opendocs.alipay.com/open/03uloz

func (*Client) ZhimaCreditPayAfterUseCreditBizOrder added in v1.5.101

func (a *Client) ZhimaCreditPayAfterUseCreditBizOrder(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPayAfterUseCreditBizOrderRsp, err error)

zhima.credit.payafteruse.creditbizorder.order(芝麻信用服务下单(免用户确认场景)) 文档地址:https://opendocs.alipay.com/open/03ulpo

func (*Client) ZhimaCreditPayAfterUseCreditBizOrderFinish added in v1.5.101

func (a *Client) ZhimaCreditPayAfterUseCreditBizOrderFinish(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPayAfterUseCreditBizOrderFinishRsp, err error)

zhima.credit.payafteruse.creditbizorder.finish(结束信用服务订单) 文档地址:https://opendocs.alipay.com/open/03vteu

func (*Client) ZhimaCreditPayAfterUseCreditBizOrderQuery added in v1.5.101

func (a *Client) ZhimaCreditPayAfterUseCreditBizOrderQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPayAfterUseCreditBizOrderQueryRsp, err error)

zhima.credit.payafteruse.creditbizorder.query(信用服务订单查询) 文档地址:https://opendocs.alipay.com/open/03vtet

func (*Client) ZhimaCreditPeZmgoAgreementQuery added in v1.5.51

func (a *Client) ZhimaCreditPeZmgoAgreementQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoAgreementQueryRsp, err error)

zhima.credit.pe.zmgo.agreement.query(芝麻Go协议查询接口) 文档地址:https://opendocs.alipay.com/open/03utv3

func (*Client) ZhimaCreditPeZmgoAgreementUnsign added in v1.5.51

func (a *Client) ZhimaCreditPeZmgoAgreementUnsign(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoAgreementUnsignRsp, err error)

zhima.credit.pe.zmgo.agreement.unsign(芝麻GO协议解约) 文档地址:https://opendocs.alipay.com/open/03ub1g

func (*Client) ZhimaCreditPeZmgoBizoptClose added in v1.5.50

func (a *Client) ZhimaCreditPeZmgoBizoptClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoBizoptCloseRsp, err error)

zhima.credit.pe.zmgo.bizopt.close(芝麻GO签约关单) 文档地址:https://opendocs.alipay.com/apis/01qii3

func (*Client) ZhimaCreditPeZmgoCumulationSync added in v1.5.50

func (a *Client) ZhimaCreditPeZmgoCumulationSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoCumulationSyncRsp, err error)

zhima.credit.pe.zmgo.cumulation.sync(芝麻go用户数据回传) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.pe.zmgo.cumulation.sync

func (*Client) ZhimaCreditPeZmgoPaysignApply added in v1.5.51

func (a *Client) ZhimaCreditPeZmgoPaysignApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoPaysignApplyRsp, err error)

zhima.credit.pe.zmgo.paysign.apply(芝麻GO支付下单链路签约申请) 文档地址:https://opendocs.alipay.com/apis/01xdtu

func (*Client) ZhimaCreditPeZmgoPaysignConfirm added in v1.5.51

func (a *Client) ZhimaCreditPeZmgoPaysignConfirm(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoPaysignConfirmRsp, err error)

zhima.credit.pe.zmgo.paysign.confirm(芝麻GO支付下单链路签约确认) 文档地址:https://opendocs.alipay.com/apis/01xcif

func (*Client) ZhimaCreditPeZmgoPreorderCreate added in v1.5.50

func (a *Client) ZhimaCreditPeZmgoPreorderCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoPreorderCreateRsp, err error)

zhima.credit.pe.zmgo.preorder.create(芝麻GO签约预创单) 文档地址:https://opendocs.alipay.com/open/03ujao

func (*Client) ZhimaCreditPeZmgoSettleApply added in v1.5.101

func (a *Client) ZhimaCreditPeZmgoSettleApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoSettleApplyRsp, err error)

zhima.credit.pe.zmgo.settle.apply(芝麻GO结算申请) 文档地址:https://opendocs.alipay.com/open/03usxk

func (*Client) ZhimaCreditPeZmgoSettleRefund added in v1.5.50

func (a *Client) ZhimaCreditPeZmgoSettleRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoSettleRefundRsp, err error)

zhima.credit.pe.zmgo.settle.refund(芝麻GO结算退款接口) 文档地址:https://opendocs.alipay.com/open/03ub1e

func (*Client) ZhimaCreditPeZmgoSettleUnfreeze added in v1.5.51

func (a *Client) ZhimaCreditPeZmgoSettleUnfreeze(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoSettleUnfreezeRsp, err error)

zhima.credit.pe.zmgo.settle.unfreeze(芝麻Go解冻接口) 文档地址:https://opendocs.alipay.com/apis/01vx41

func (*Client) ZhimaCreditPeZmgoSignApply added in v1.5.101

func (a *Client) ZhimaCreditPeZmgoSignApply(ctx context.Context, bm gopay.BodyMap) (orderStr string, err error)

zhima.credit.pe.zmgo.sign.apply(芝麻GO页面签约接口) 文档地址:https://opendocs.alipay.com/open/03u934

func (*Client) ZhimaCreditScoreGet

func (a *Client) ZhimaCreditScoreGet(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditScoreGetResponse, err error)

Deprecated zhima.credit.score.get(查询芝麻用户的芝麻分) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.score.get

func (*Client) ZhimaCustomerJobworthAdapterQuery added in v1.5.51

func (a *Client) ZhimaCustomerJobworthAdapterQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCustomerJobworthAdapterQueryRsp, err error)

zhima.customer.jobworth.adapter.query(职得工作证信息匹配度查询) 文档地址:https://opendocs.alipay.com/apis/022mvz

func (*Client) ZhimaCustomerJobworthAuthPreConsult added in v1.5.101

func (a *Client) ZhimaCustomerJobworthAuthPreConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCustomerJobworthAuthPreConsultRsp, err error)

zhima.customer.jobworth.authentication.preconsult(身份验真预咨询服务) 文档地址:https://opendocs.alipay.com/open/16f72e43_zhima.customer.jobworth.authentication.preconsult

func (*Client) ZhimaCustomerJobworthAuthQuery added in v1.5.101

func (a *Client) ZhimaCustomerJobworthAuthQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCustomerJobworthAuthQueryRsp, err error)

zhima.customer.jobworth.authentication.query(职得身份认证查询接口) 文档地址:https://opendocs.alipay.com/open/351177b5_zhima.customer.jobworth.authentication.query

func (*Client) ZhimaCustomerJobworthSceneUse added in v1.5.51

func (a *Client) ZhimaCustomerJobworthSceneUse(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCustomerJobworthSceneUseRsp, err error)

zhima.customer.jobworth.scene.use(职得工作证外部渠道应用数据回流) 文档地址:https://opendocs.alipay.com/apis/022waz

func (*Client) ZhimaMerchantZmgoCumulateQuery added in v1.5.50

func (a *Client) ZhimaMerchantZmgoCumulateQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaMerchantZmgoCumulateQueryRsp, err error)

zhima.merchant.zmgo.cumulate.query(商家芝麻GO累计数据查询接口) 文档地址:https://opendocs.alipay.com/open/03ui2q

func (*Client) ZhimaMerchantZmgoCumulateSync added in v1.5.50

func (a *Client) ZhimaMerchantZmgoCumulateSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaMerchantZmgoCumulateSyncRsp, err error)

zhima.merchant.zmgo.cumulate.sync(商家芝麻GO累计数据回传接口) 文档地址:https://opendocs.alipay.com/apis/01ol9h

func (*Client) ZhimaMerchantZmgoTemplateCreate added in v1.5.101

func (a *Client) ZhimaMerchantZmgoTemplateCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaMerchantZmgoTemplateCreateRsp, err error)

zhima.merchant.zmgo.template.create(商户创建芝麻GO模板接口) 文档地址:https://opendocs.alipay.com/open/03uq08

func (*Client) ZhimaMerchantZmgoTemplateQuery added in v1.5.101

func (a *Client) ZhimaMerchantZmgoTemplateQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaMerchantZmgoTemplateQueryRsp, err error)

zhima.merchant.zmgo.template.query(芝麻GO模板查询) 文档地址:https://opendocs.alipay.com/open/04m8ci

func (*Client) ZolozAuthenticationCustomerFtokenQuery added in v1.5.101

func (a *Client) ZolozAuthenticationCustomerFtokenQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZolozAuthenticationCustomerFtokenQueryRsp, err error)

zoloz.authentication.customer.ftoken.query(查询刷脸结果信息接口) 文档地址:https://opendocs.alipay.com/open/c8e4d285_zoloz.authentication.customer.ftoken.query

func (*Client) ZolozAuthenticationSmilepayInitialize added in v1.5.101

func (a *Client) ZolozAuthenticationSmilepayInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZolozAuthenticationSmilepayInitializeRsp, err error)

zoloz.authentication.smilepay.initialize(刷脸支付初始化) 文档地址:https://opendocs.alipay.com/open/2f7c1d5f_zoloz.authentication.smilepay.initialize

type CommerceAirCallcenterTradeApply added in v1.5.52

type CommerceAirCallcenterTradeApply struct {
	ErrorResponse
}

type CommerceAirCallcenterTradeApplyRsp added in v1.5.52

type CommerceAirCallcenterTradeApplyRsp struct {
	Response     *CommerceAirCallcenterTradeApply `json:"alipay_commerce_air_callcenter_trade_apply_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type CommerceBenefitApply added in v1.5.59

type CommerceBenefitApply struct {
	ErrorResponse
	ApplyVoucherCodeList string `json:"apply_voucher_code_list,omitempty"`
}

type CommerceBenefitApplyRsp added in v1.5.59

type CommerceBenefitApplyRsp struct {
	Response     *CommerceBenefitApply `json:"alipay_commerce_operation_gamemarketing_benefit_apply_response"`
	AlipayCertSn string                `json:"alipay_cert_sn,omitempty"`
	SignData     string                `json:"-"`
	Sign         string                `json:"sign"`
}

type CommerceBenefitVerify added in v1.5.59

type CommerceBenefitVerify struct {
	ErrorResponse
	VoucherVerifyStatus bool `json:"voucher_verify_status,omitempty"`
}

type CommerceBenefitVerifyRsp added in v1.5.59

type CommerceBenefitVerifyRsp struct {
	Response     *CommerceBenefitVerify `json:"alipay_commerce_operation_gamemarketing_benefit_verify_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type CommerceTransportNfccardSend added in v1.5.52

type CommerceTransportNfccardSend struct {
	ErrorResponse
}

type CommerceTransportNfccardSendRsp added in v1.5.52

type CommerceTransportNfccardSendRsp struct {
	Response     *CommerceTransportNfccardSend `json:"alipay_commerce_transport_nfccard_send_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

type ConsultResultInfo added in v1.5.101

type ConsultResultInfo struct {
	ActivityId        string `json:"activity_id"`
	ConsultResultCode string `json:"consult_result_code"`
}

type ContributeDetail added in v1.5.100

type ContributeDetail struct {
	ContributeType   string `json:"contributeType,omitempty"`
	ContributeAmount string `json:"contributeAmount,omitempty"`
}

type ConversionDataDetail added in v1.5.52

type ConversionDataDetail struct {
	ConversionId     string `json:"conversion_id,omitempty"`
	ConversionResult string `json:"conversion_result,omitempty"`
}

type Crowd added in v1.5.106

type Crowd struct {
	CrowdCode         string   `json:"crowd_code"`
	CrowdName         string   `json:"crowd_name"`
	CrowdDesc         string   `json:"crowd_desc"`
	ExternalCrowdCode string   `json:"external_crowd_code"`
	Status            string   `json:"status"`
	Processable       bool     `json:"processable"`
	ApplyChannelList  []string `json:"apply_channel_list"`
	CrowdSize         string   `json:"crowd_size"`
	Hidden            bool     `json:"hidden"`
}

type CrowdInfo added in v1.5.106

type CrowdInfo struct {
	CrowdCode         string   `json:"crowd_code"`
	CrowdName         string   `json:"crowd_name"`
	CrowdDesc         string   `json:"crowd_desc"`
	ExternalCrowdCode string   `json:"external_crowd_code"`
	Status            string   `json:"status"`
	Processable       bool     `json:"processable"`
	ApplyChannelList  []string `json:"apply_channel_list"`
	CrowdSize         string   `json:"crowd_size"`
	Hidden            bool     `json:"hidden"`
}

type CumulateDataDetail added in v1.5.50

type CumulateDataDetail struct {
	OutBizNo       string `json:"out_biz_no,omitempty"`
	ReferOutBizNo  string `json:"refer_out_biz_no,omitempty"`
	BizTime        string `json:"biz_time,omitempty"`
	ActionType     string `json:"action_type,omitempty"`
	DataType       string `json:"data_type,omitempty"`
	SubDataType    string `json:"sub_data_type,omitempty"`
	TaskDesc       string `json:"task_desc,omitempty"`
	TaskAmount     string `json:"task_amount,omitempty"`
	TaskTimes      int64  `json:"task_times,omitempty"`
	DiscountDesc   string `json:"discount_desc,omitempty"`
	DiscountAmount string `json:"discount_amount,omitempty"`
}

type CycleFlexWithholdConfig added in v1.5.101

type CycleFlexWithholdConfig struct {
	CycleFlexWithholdTotalPeriodCount int    `json:"cycle_flex_withhold_total_period_count"`
	CycleFlexWithholdMaxPrice         int    `json:"cycle_flex_withhold_max_price"`
	CycleFlexWithholdFeeName          string `json:"cycle_flex_withhold_fee_name"`
}

type CycleInfo added in v1.5.104

type CycleInfo struct {
	OpenStatus              string `json:"open_status"`
	CloseReason             string `json:"close_reason"`
	CycleType               string `json:"cycle_type"`
	AlipayDeductScene       string `json:"alipay_deduct_scene"`
	AlipayDeductProductCode string `json:"alipay_deduct_product_code"`
	AlipayDeductAgreement   string `json:"alipay_deduct_agreement"`
}

type CycleWithholdConfig added in v1.5.101

type CycleWithholdConfig struct {
	WithholdMode                 string   `json:"withhold_mode"`
	PeriodType                   string   `json:"period_type"`
	Period                       string   `json:"period"`
	SupportCycleWithholdHighMode bool     `json:"support_cycle_withhold_high_mode"`
	DeductPlan                   []string `json:"deduct_plan"`
	SupportExemptionPeriod       bool     `json:"support_exemption_period"`
	ExemptionPeriod              string   `json:"exemption_period"`
}

type Data added in v1.5.106

type Data struct {
	PortraitValue string  `json:"portrait_value"`
	Num           int     `json:"num"`
	AreaCode      string  `json:"area_code"`
	CityList      []*City `json:"city_list"`
}

type DataBillAccountLogQuery added in v1.5.97

type DataBillAccountLogQuery struct {
	ErrorResponse
	PageNo     string                  `json:"page_no,omitempty"`
	PageSize   string                  `json:"page_size,omitempty"`
	TotalSize  string                  `json:"total_size,omitempty"`
	DetailList []*AccountLogItemResult `json:"detail_list,omitempty"`
}

type DataBillAccountLogQueryResponse added in v1.5.97

type DataBillAccountLogQueryResponse struct {
	Response     *DataBillAccountLogQuery `json:"alipay_data_bill_accountlog_query_response"`
	AlipayCertSn string                   `json:"alipay_cert_sn,omitempty"`
	SignData     string                   `json:"-"`
	Sign         string                   `json:"sign"`
}

type DataBillBalanceQuery added in v1.5.45

type DataBillBalanceQuery struct {
	ErrorResponse
	TotalAmount     string `json:"total_amount,omitempty"`
	AvailableAmount string `json:"available_amount,omitempty"`
	FreezeAmount    string `json:"freeze_amount,omitempty"`
	SettleAmount    string `json:"settle_amount,omitempty"`
}

type DataBillBalanceQueryResponse

type DataBillBalanceQueryResponse struct {
	Response     *DataBillBalanceQuery `json:"alipay_data_bill_balance_query_response"`
	AlipayCertSn string                `json:"alipay_cert_sn,omitempty"`
	SignData     string                `json:"-"`
	Sign         string                `json:"sign"`
}

type DataBillDownloadUrlQuery added in v1.5.45

type DataBillDownloadUrlQuery struct {
	ErrorResponse
	BillDownloadUrl string `json:"bill_download_url,omitempty"`
}

type DataBillDownloadUrlQueryResponse

type DataBillDownloadUrlQueryResponse struct {
	Response     *DataBillDownloadUrlQuery `json:"alipay_data_dataservice_bill_downloadurl_query_response"`
	AlipayCertSn string                    `json:"alipay_cert_sn,omitempty"`
	SignData     string                    `json:"-"`
	Sign         string                    `json:"sign"`
}

type DataBillEreceiptApply added in v1.5.102

type DataBillEreceiptApply struct {
	ErrorResponse
	FileId string `json:"file_id"`
}

type DataBillEreceiptApplyRsp added in v1.5.102

type DataBillEreceiptApplyRsp struct {
	Response     *DataBillEreceiptApply `json:"alipay_data_bill_ereceipt_apply_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type DataBillEreceiptQuery added in v1.5.102

type DataBillEreceiptQuery struct {
	ErrorResponse
	Status       string `json:"status"`
	DownloadUrl  string `json:"download_url"`
	ErrorMessage string `json:"error_message"`
}

type DataBillEreceiptQueryRsp added in v1.5.102

type DataBillEreceiptQueryRsp struct {
	Response     *DataBillEreceiptQuery `json:"alipay_data_bill_ereceipt_query_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type DataDataserviceAdDataQuery added in v1.5.52

type DataDataserviceAdDataQuery struct {
	ErrorResponse
	DataList []*DataDetail `json:"data_list,omitempty"`
}

type DataDataserviceAdDataQueryRsp added in v1.5.52

type DataDataserviceAdDataQueryRsp struct {
	Response     *DataDataserviceAdDataQuery `json:"alipay_data_dataservice_ad_data_query_response"`
	AlipayCertSn string                      `json:"alipay_cert_sn,omitempty"`
	SignData     string                      `json:"-"`
	Sign         string                      `json:"sign"`
}

===================================================

type DataDetail added in v1.5.52

type DataDetail struct {
	OuterId            string                  `json:"outer_id,omitempty"`
	Impression         int64                   `json:"impression,omitempty"`
	Click              int64                   `json:"click,omitempty"`
	Cost               int64                   `json:"cost,omitempty"`
	ConversionDataList []*ConversionDataDetail `json:"conversion_data_list,omitempty"`
	BizDate            string                  `json:"biz_date,omitempty"`
}

type DataItem added in v1.5.106

type DataItem struct {
	Value string `json:"value"`
	Num   string `json:"num"`
}

type DateRangeInfo added in v1.5.101

type DateRangeInfo struct {
	BeginDate string `json:"begin_date"`
	EndDate   string `json:"end_date"`
}

type DateRuleInfo added in v1.5.101

type DateRuleInfo struct {
	DateRangeInfo *DateRangeInfo `json:"date_range_info"`
	TimeRangeInfo *TimeRangeInfo `json:"time_range_info"`
}

type DelOAuthDetail added in v1.5.101

type DelOAuthDetail struct {
	DelAuthTime string `json:"del_auth_time"`
	UserId      string `json:"user_id"`
	OpenId      string `json:"open_id"`
}

type DeliveryActivityContent added in v1.5.101

type DeliveryActivityContent struct {
	ActivityId string `json:"activity_id"`
}

type DeliveryAppContent added in v1.5.101

type DeliveryAppContent struct {
	MiniAppId           string   `json:"mini_app_id"`
	ServiceCodeList     []string `json:"service_code_list"`
	MiniAppDeliveryType string   `json:"mini_app_delivery_type"`
}

type DeliveryBaseInfo added in v1.5.101

type DeliveryBaseInfo struct {
	DeliveryName      string `json:"delivery_name"`
	DeliveryBeginTime string `json:"delivery_begin_time"`
	DeliveryEndTime   string `json:"delivery_end_time"`
}

type DeliveryCityCodeRule added in v1.5.101

type DeliveryCityCodeRule struct {
	CityCodes []string `json:"city_codes"`
	AllCity   bool     `json:"all_city"`
}

type DeliveryContentInfo added in v1.5.101

type DeliveryContentInfo struct {
	DeliveryContentType     string                   `json:"delivery_content_type"`
	DeliveryActivityContent *DeliveryActivityContent `json:"delivery_activity_content"`
	DeliveryAppContent      *DeliveryAppContent      `json:"delivery_app_content"`
	DeliveryDisplayInfo     *DeliveryDisplayInfo     `json:"delivery_display_info"`
}

type DeliveryDisplayInfo added in v1.5.101

type DeliveryDisplayInfo struct {
	MainTitle string `json:"main_title"`
	SubTitle  string `json:"sub_title"`
}

type DeliveryFullSendConfig added in v1.5.101

type DeliveryFullSendConfig struct {
	DeliveryFloorAmount string               `json:"delivery_floor_amount"`
	DeliveryContentInfo *DeliveryContentInfo `json:"delivery_content_info"`
}

type DeliveryMerchantInfo added in v1.5.101

type DeliveryMerchantInfo struct {
	MerchantIdType string `json:"merchant_id_type"`
	MerchantId     string `json:"merchant_id"`
}

type DeliveryMerchantRule added in v1.5.101

type DeliveryMerchantRule struct {
	DeliveryMerchantMode  string                  `json:"delivery_merchant_mode"`
	DeliveryMerchantInfos []*DeliveryMerchantInfo `json:"delivery_merchant_infos"`
}

type DeliveryPlayConfig added in v1.5.101

type DeliveryPlayConfig struct {
	DeliverySingleSendConfig *DeliverySingleSendConfig `json:"delivery_single_send_config"`
	DeliveryFullSendConfig   *DeliveryFullSendConfig   `json:"delivery_full_send_config"`
}

type DeliverySingleSendConfig added in v1.5.101

type DeliverySingleSendConfig struct {
	DeliveryContentInfo *DeliveryContentInfo `json:"delivery_content_info"`
}

type DeliveryTargetRule added in v1.5.101

type DeliveryTargetRule struct {
	DeliveryMerchantRule *DeliveryMerchantRule `json:"delivery_merchant_rule"`
	DeliveryCityCodeRule *DeliveryCityCodeRule `json:"delivery_city_code_rule"`
	DeliveryPromoTags    string                `json:"delivery_promo_tags"`
}

type DepositBackInfo added in v1.5.58

type DepositBackInfo struct {
	HasDepositBack     string `json:"has_deposit_back,omitempty"`
	DbackStatus        string `json:"dback_status,omitempty"`
	DbackAmount        string `json:"dback_amount,omitempty"`
	BankAckTime        string `json:"bank_ack_time,omitempty"`
	EstBankReceiptTime string `json:"est_bank_receipt_time,omitempty"`
}

type DisablePeriodInfoItem added in v1.5.101

type DisablePeriodInfoItem struct {
	RuleType        string           `json:"rule_type"`
	DateRuleInfo    *DateRuleInfo    `json:"date_rule_info"`
	HolidayRuleInfo *HolidayRuleInfo `json:"holiday_rule_info"`
}

type DiscountDetailInfo added in v1.5.50

type DiscountDetailInfo struct {
	Id     string `json:"id,omitempty"`
	Name   string `json:"name,omitempty"`
	Type   string `json:"type,omitempty"`
	Amount string `json:"amount,omitempty"`
}

type DiscountVoucherInfo added in v1.5.101

type DiscountVoucherInfo struct {
	Discount      string `json:"discount"`
	CeilingAmount string `json:"ceiling_amount"`
	FloorAmount   string `json:"floor_amount"`
}

type EndTimeInfo added in v1.5.101

type EndTimeInfo struct {
	EndTimeType string `json:"end_time_type"`
	EndTime     string `json:"end_time"`
}

type ErrorResponse

type ErrorResponse struct {
	Code    string `json:"code"`
	Msg     string `json:"msg"`
	SubCode string `json:"sub_code,omitempty"`
	SubMsg  string `json:"sub_msg,omitempty"`
}

type ExchangeVoucherInfo added in v1.5.101

type ExchangeVoucherInfo struct {
	Amount      string `json:"amount"`
	FloorAmount string `json:"floor_amount"`
	BizType     string `json:"biz_type"`
}

type ExtCardInfo added in v1.5.45

type ExtCardInfo struct {
	CardNo       string `json:"card_no,omitempty"`
	BankAccName  string `json:"bank_acc_name,omitempty"`
	CardBranch   string `json:"card_branch,omitempty"`
	CardBank     string `json:"card_bank,omitempty"`
	CardLocation string `json:"card_location,omitempty"`
	CardDeposit  string `json:"card_deposit,omitempty"`
	Status       string `json:"status,omitempty"`
}

type ExtConfig added in v1.5.101

type ExtConfig struct {
	TextContentFillRuleId   string `json:"text_content_fill_rule_id"`
	TextContentFillVariable string `json:"text_content_fill_variable"`
}

type FaceCertifyInitialize added in v1.5.102

type FaceCertifyInitialize struct {
	ErrorResponse
	CertifyId string `json:"certify_id"`
}

type FaceCertifyInitializeRsp added in v1.5.102

type FaceCertifyInitializeRsp struct {
	Response     *FaceCertifyInitialize `json:"datadigital_fincloud_generalsaas_face_certify_initialize_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type FaceCertifyQuery added in v1.5.102

type FaceCertifyQuery struct {
	ErrorResponse
	Passed string `json:"passed"`
}

type FaceCertifyQueryRsp added in v1.5.102

type FaceCertifyQueryRsp struct {
	Response     *FaceCertifyQuery `json:"datadigital_fincloud_generalsaas_face_certify_query_response"`
	AlipayCertSn string            `json:"alipay_cert_sn,omitempty"`
	SignData     string            `json:"-"`
	Sign         string            `json:"sign"`
}

type FaceCertifyVerify added in v1.5.102

type FaceCertifyVerify struct {
	ErrorResponse
	CertifyUrl string `json:"certify_url"`
}

type FaceCertifyVerifyRsp added in v1.5.102

type FaceCertifyVerifyRsp struct {
	Response     *FaceCertifyVerify `json:"datadigital_fincloud_generalsaas_face_certify_verify_response"`
	AlipayCertSn string             `json:"alipay_cert_sn,omitempty"`
	SignData     string             `json:"-"`
	Sign         string             `json:"sign"`
}

type FaceCheckInitialize added in v1.5.102

type FaceCheckInitialize struct {
	ErrorResponse
	CertifyId string `json:"certify_id"`
	WebUrl    string `json:"web_url"`
}

type FaceCheckInitializeRsp added in v1.5.102

type FaceCheckInitializeRsp struct {
	Response     *FaceCheckInitialize `json:"datadigital_fincloud_generalsaas_face_check_initialize_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type FaceCheckQuery added in v1.5.102

type FaceCheckQuery struct {
	ErrorResponse
	CertifyState string `json:"certify_state"`
	Quality      string `json:"quality"`
	AlivePhoto   string `json:"alive_photo"`
}

type FaceCheckQueryRsp added in v1.5.102

type FaceCheckQueryRsp struct {
	Response     *FaceCheckQuery `json:"datadigital_fincloud_generalsaas_face_check_query_response"`
	AlipayCertSn string          `json:"alipay_cert_sn,omitempty"`
	SignData     string          `json:"-"`
	Sign         string          `json:"sign"`
}

type FaceSourceCertify added in v1.5.102

type FaceSourceCertify struct {
	ErrorResponse
	CertifyNo      string `json:"certify_no"`
	Passed         string `json:"passed"`
	Score          string `json:"score"`
	Quality        string `json:"quality"`
	MismatchReason string `json:"mismatch_reason"`
}

type FaceSourceCertifyRsp added in v1.5.102

type FaceSourceCertifyRsp struct {
	Response     *FaceSourceCertify `json:"datadigital_fincloud_generalsaas_face_source_certify_response"`
	AlipayCertSn string             `json:"alipay_cert_sn,omitempty"`
	SignData     string             `json:"-"`
	Sign         string             `json:"sign"`
}

type FaceVerificationInitialize added in v1.5.102

type FaceVerificationInitialize struct {
	ErrorResponse
	CertifyId string `json:"certify_id"`
	WebUrl    string `json:"web_url"`
}

type FaceVerificationInitializeRsp added in v1.5.102

type FaceVerificationInitializeRsp struct {
	Response     *FaceVerificationInitialize `json:"datadigital_fincloud_generalsaas_face_verification_initialize_response"`
	AlipayCertSn string                      `json:"alipay_cert_sn,omitempty"`
	SignData     string                      `json:"-"`
	Sign         string                      `json:"sign"`
}

type FaceVerificationQuery added in v1.5.102

type FaceVerificationQuery struct {
	ErrorResponse
	CertifyState string `json:"certify_state"`
	Score        string `json:"score"`
	Quality      string `json:"quality"`
	AlivePhoto   string `json:"alive_photo"`
	AttackFlag   string `json:"attack_flag"`
}

type FaceVerificationQueryRsp added in v1.5.102

type FaceVerificationQueryRsp struct {
	Response     *FaceVerificationQuery `json:"datadigital_fincloud_generalsaas_face_verification_query_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type FailAvailableShopInfo added in v1.5.103

type FailAvailableShopInfo struct {
	ShopId      string   `json:"shop_id"`
	FailReasons []string `json:"fail_reasons"`
	FailMessage string   `json:"fail_message"`
}

type FailExcludeShopInfo added in v1.5.103

type FailExcludeShopInfo struct {
	ShopId      string   `json:"shop_id"`
	RealShopId  string   `json:"real_shop_id"`
	FailReasons []string `json:"fail_reasons"`
	FailMessage string   `json:"fail_message"`
}

type FailVoucherCodeDetail added in v1.5.103

type FailVoucherCodeDetail struct {
	VoucherCode string `json:"voucher_code"`
	ErrorCode   string `json:"error_code"`
	ErrorMsg    string `json:"error_msg"`
}

type FamilyArchiveDetail added in v1.5.51

type FamilyArchiveDetail struct {
	ArchiveId            string `json:"archive_id"`
	RealName             string `json:"real_name,omitempty"`
	CertNo               string `json:"cert_no,omitempty"`
	CertType             string `json:"cert_type,omitempty"`
	Mobile               string `json:"mobile,omitempty"`
	Email                string `json:"email,omitempty"`
	Role                 string `json:"role,omitempty"`
	Province             string `json:"province,omitempty"`
	City                 string `json:"city,omitempty"`
	DesensitizedLogonId  string `json:"desensitized_logon_id,omitempty"`
	Area                 string `json:"area,omitempty"`
	DesensitizedRealName string `json:"desensitized_real_name,omitempty"`
	Address              string `json:"address,omitempty"`
	Zip                  string `json:"zip,omitempty"`
	Birthday             string `json:"birthday,omitempty"`
	Gender               string `json:"gender,omitempty"`
	Profession           string `json:"profession,omitempty"`
}

type Fields added in v1.5.104

type Fields struct {
	Required []string `json:"required"`
	Optional []string `json:"optional"`
}

type FixVoucherInfo added in v1.5.101

type FixVoucherInfo struct {
	Amount      string `json:"amount"`
	FloorAmount string `json:"floor_amount"`
}

type FrontText added in v1.5.104

type FrontText struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type FulfillmentResult added in v1.5.50

type FulfillmentResult struct {
	FulfillmentOrderNo string `json:"fulfillment_order_no"`
	OutOrderNo         string `json:"out_order_no"`
}

type FundAccountQuery added in v1.5.45

type FundAccountQuery struct {
	ErrorResponse
	AvailableAmount string       `json:"available_amount,omitempty"`
	FreezeAmount    string       `json:"freeze_amount,omitempty"`
	ExtCardInfo     *ExtCardInfo `json:"ext_card_info,omitempty"`
}

type FundAccountQueryResponse

type FundAccountQueryResponse struct {
	Response     *FundAccountQuery `json:"alipay_fund_account_query_response"`
	AlipayCertSn string            `json:"alipay_cert_sn,omitempty"`
	SignData     string            `json:"-"`
	Sign         string            `json:"sign"`
}

type FundAuthOperationCancel added in v1.5.45

type FundAuthOperationCancel struct {
	ErrorResponse
	AuthNo       string `json:"auth_no,omitempty"`
	OutOrderNo   string `json:"out_order_no,omitempty"`
	OperationId  string `json:"operation_id,omitempty"`
	OutRequestNo string `json:"out_request_no,omitempty"`
	Action       string `json:"action,omitempty"`
}

type FundAuthOperationCancelResponse

type FundAuthOperationCancelResponse struct {
	Response     *FundAuthOperationCancel `json:"alipay_fund_auth_operation_cancel_response"`
	AlipayCertSn string                   `json:"alipay_cert_sn,omitempty"`
	SignData     string                   `json:"-"`
	Sign         string                   `json:"sign"`
}

type FundAuthOperationDetailQuery added in v1.5.45

type FundAuthOperationDetailQuery struct {
	ErrorResponse
	AuthNo                  string `json:"auth_no,omitempty"`
	OutOrderNo              string `json:"out_order_no,omitempty"`
	OrderStatus             string `json:"order_status,omitempty"`
	TotalFreezeAmount       string `json:"total_freeze_amount,omitempty"`
	RestAmount              string `json:"rest_amount,omitempty"`
	TotalPayAmount          string `json:"total_pay_amount,omitempty"`
	OrderTitle              string `json:"order_title,omitempty"`
	PayerLogonId            string `json:"payer_logon_id,omitempty"`
	PayerUserId             string `json:"payer_user_id,omitempty"`
	PayerOpenId             string `json:"payer_open_id,omitempty"`
	ExtraParam              string `json:"extra_param,omitempty"`
	OperationId             string `json:"operation_id,omitempty"`
	OutRequestNo            string `json:"out_request_no,omitempty"`
	Amount                  string `json:"amount,omitempty"`
	OperationType           string `json:"operation_type,omitempty"`
	Status                  string `json:"status,omitempty"`
	Remark                  string `json:"remark,omitempty"`
	GmtCreate               string `json:"gmt_create,omitempty"`
	GmtTrans                string `json:"gmt_trans,omitempty"`
	PreAuthType             string `json:"pre_auth_type,omitempty"`
	TransCurrency           string `json:"trans_currency,omitempty"`
	TotalFreezeCreditAmount string `json:"total_freeze_credit_amount,omitempty"`
	TotalFreezeFundAmount   string `json:"total_freeze_fund_amount,omitempty"`
	TotalPayCreditAmount    string `json:"total_pay_credit_amount,omitempty"`
	TotalPayFundAmount      string `json:"total_pay_fund_amount,omitempty"`
	RestCreditAmount        string `json:"rest_credit_amount,omitempty"`
	RestFundAmount          string `json:"rest_fund_amount,omitempty"`
	CreditAmount            string `json:"credit_amount,omitempty"`
	FundAmount              string `json:"fund_amount,omitempty"`
}

type FundAuthOperationDetailQueryResponse

type FundAuthOperationDetailQueryResponse struct {
	Response     *FundAuthOperationDetailQuery `json:"alipay_fund_auth_operation_detail_query_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

type FundAuthOrderAppFreeze added in v1.5.45

type FundAuthOrderAppFreeze struct {
	ErrorResponse
	AuthNo        string `json:"auth_no,omitempty"`
	OutOrderNo    string `json:"out_order_no,omitempty"`
	OperationId   string `json:"operation_id,omitempty"`
	OutRequestNo  string `json:"out_request_no,omitempty"`
	Amount        string `json:"amount,omitempty"`
	Status        string `json:"status,omitempty"`
	PayerUserId   string `json:"payer_user_id,omitempty"`
	GmtTrans      string `json:"gmt_trans,omitempty"`
	PreAuthType   string `json:"pre_auth_type,omitempty"`
	CreditAmount  string `json:"credit_amount,omitempty"`
	FundAmount    string `json:"fund_amount,omitempty"`
	TransCurrency string `json:"trans_currency,omitempty"`
}

type FundAuthOrderAppFreezeResponse

type FundAuthOrderAppFreezeResponse struct {
	Response     *FundAuthOrderAppFreeze `json:"alipay_fund_auth_order_app_freeze_response"`
	AlipayCertSn string                  `json:"alipay_cert_sn,omitempty"`
	SignData     string                  `json:"-"`
	Sign         string                  `json:"sign"`
}

===================================================

type FundAuthOrderFreeze added in v1.5.45

type FundAuthOrderFreeze struct {
	ErrorResponse
	AuthNo       string `json:"auth_no,omitempty"`
	OutOrderNo   string `json:"out_order_no,omitempty"`
	OperationId  string `json:"operation_id,omitempty"`
	OutRequestNo string `json:"out_request_no,omitempty"`
	Amount       string `json:"amount,omitempty"`
	Status       string `json:"status,omitempty"`
	PayerUserId  string `json:"payer_user_id,omitempty"`
	PayerOpenId  string `json:"payer_open_id,omitempty"`
	PayerLogonId string `json:"payer_logon_id,omitempty"`
	GmtTrans     string `json:"gmt_trans,omitempty"`
}

type FundAuthOrderFreezeResponse

type FundAuthOrderFreezeResponse struct {
	Response     *FundAuthOrderFreeze `json:"alipay_fund_auth_order_freeze_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type FundAuthOrderUnfreeze added in v1.5.45

type FundAuthOrderUnfreeze struct {
	ErrorResponse
	AuthNo       string `json:"auth_no,omitempty"`
	OutOrderNo   string `json:"out_order_no,omitempty"`
	OperationId  string `json:"operation_id,omitempty"`
	OutRequestNo string `json:"out_request_no,omitempty"`
	Amount       string `json:"amount,omitempty"`
	Status       string `json:"status,omitempty"`
	GmtTrans     string `json:"gmt_trans,omitempty"`
	CreditAmount string `json:"credit_amount,omitempty"`
	FundAmount   string `json:"fund_amount,omitempty"`
}

type FundAuthOrderUnfreezeResponse

type FundAuthOrderUnfreezeResponse struct {
	Response     *FundAuthOrderUnfreeze `json:"alipay_fund_auth_order_unfreeze_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type FundAuthOrderVoucherCreate added in v1.5.45

type FundAuthOrderVoucherCreate struct {
	ErrorResponse
	OutOrderNo   string `json:"out_order_no,omitempty"`
	OutRequestNo string `json:"out_request_no,omitempty"`
	CodeType     string `json:"code_type,omitempty"`
	CodeValue    string `json:"code_value,omitempty"`
	CodeUrl      string `json:"code_url,omitempty"`
}

type FundAuthOrderVoucherCreateResponse

type FundAuthOrderVoucherCreateResponse struct {
	Response     *FundAuthOrderVoucherCreate `json:"alipay_fund_auth_order_voucher_create_response"`
	AlipayCertSn string                      `json:"alipay_cert_sn,omitempty"`
	SignData     string                      `json:"-"`
	Sign         string                      `json:"sign"`
}

type FundBatchClose added in v1.5.45

type FundBatchClose struct {
	ErrorResponse
	BatchTransId string `json:"batch_trans_id,omitempty"`
	Status       string `json:"status,omitempty"`
}

type FundBatchCloseResponse

type FundBatchCloseResponse struct {
	Response     *FundBatchClose `json:"alipay_fund_batch_close_response"`
	AlipayCertSn string          `json:"alipay_cert_sn,omitempty"`
	SignData     string          `json:"-"`
	Sign         string          `json:"sign"`
}

type FundBatchCreate added in v1.5.45

type FundBatchCreate struct {
	ErrorResponse
	OutBatchNo   string `json:"out_batch_no,omitempty"`
	BatchTransId string `json:"batch_trans_id,omitempty"`
	Status       string `json:"status,omitempty"`
}

type FundBatchCreateResponse

type FundBatchCreateResponse struct {
	Response     *FundBatchCreate `json:"alipay_fund_batch_create_response"`
	AlipayCertSn string           `json:"alipay_cert_sn,omitempty"`
	SignData     string           `json:"-"`
	Sign         string           `json:"sign"`
}

type FundBatchDetailQuery added in v1.5.45

type FundBatchDetailQuery struct {
	ErrorResponse
	BatchTransId    string `json:"batch_trans_id,omitempty"`
	BatchNo         string `json:"batch_no,omitempty"`
	BizCode         string `json:"biz_code,omitempty"`
	BizScene        string `json:"biz_scene,omitempty"`
	BatchStatus     string `json:"batch_status,omitempty"`
	ApprovalStatus  string `json:"approval_status,omitempty"`
	ErrorCode       string `json:"error_code,omitempty"`
	FailReason      string `json:"fail_reason,omitempty"`
	SignPrincipal   string `json:"sign_principal,omitempty"`
	PaymentAmount   string `json:"payment_amount,omitempty"`
	PaymentCurrency string `json:"payment_currency,omitempty"`
	PageSize        int    `json:"page_size,omitempty"`
	PageNum         int    `json:"page_num,omitempty"`
	ProductCode     string `json:"product_code,omitempty"`
	TotalPageCount  string `json:"total_page_count,omitempty"`
	OutBatchNo      string `json:"out_batch_no,omitempty"`
	GmtFinish       string `json:"gmt_finish,omitempty"`
	TotalAmount     string `json:"total_amount,omitempty"`
	GmtPayFinish    string `json:"gmt_pay_finish,omitempty"`
	PayerId         string `json:"payer_id,omitempty"`
	SuccessAmount   string `json:"success_amount,omitempty"`
	FailAmount      string `json:"fail_amount,omitempty"`
	FailCount       string `json:"fail_count,omitempty"`
	SuccessCount    string `json:"success_count,omitempty"`
	TotalItemCount  string `json:"total_item_count,omitempty"`
	AccDetailList   []*struct {
		DetailNo           string `json:"detail_no,omitempty"`
		PaymentAmount      string `json:"payment_amount,omitempty"`
		PaymentCurrency    string `json:"payment_currency,omitempty"`
		TransAmount        string `json:"trans_amount,omitempty"`
		TransCurrency      string `json:"trans_currency,omitempty"`
		SettlementAmount   string `json:"settlement_amount,omitempty"`
		SettlementCurrency string `json:"settlement_currency,omitempty"`
		PayeeInfo          *struct {
			PayeeAccount string `json:"payee_account,omitempty"`
			PayeeType    string `json:"payee_type,omitempty"`
			PayeeName    string `json:"payee_name,omitempty"`
		} `json:"payee_info,omitempty"`
		CertInfo *struct {
			CertNo   string `json:"cert_no,omitempty"`
			CertType string `json:"cert_type,omitempty"`
		} `json:"cert_info,omitempty"`
		Remark       string `json:"remark,omitempty"`
		Status       string `json:"status,omitempty"`
		ExchangeRate *struct {
			Rate             string `json:"rate,omitempty"`
			BaseCurrency     string `json:"base_currency,omitempty"`
			ExchangeCurrency string `json:"exchange_currency,omitempty"`
		} `json:"exchange_rate,omitempty"`
		NeedRetry     string `json:"need_retry,omitempty"`
		AlipayOrderNo string `json:"alipay_order_no,omitempty"`
		OutBizNo      string `json:"out_biz_no,omitempty"`
		DetailId      string `json:"detail_id,omitempty"`
		ErrorCode     string `json:"error_code,omitempty"`
		ErrorMsg      string `json:"error_msg,omitempty"`
		GmtCreate     string `json:"gmt_create,omitempty"`
		GmtFinish     string `json:"gmt_finish,omitempty"`
		SubStatus     string `json:"sub_status,omitempty"`
	} `json:"acc_detail_list,omitempty"`
}

type FundBatchDetailQueryResponse

type FundBatchDetailQueryResponse struct {
	Response     *FundBatchDetailQuery `json:"alipay_fund_batch_detail_query_response"`
	AlipayCertSn string                `json:"alipay_cert_sn,omitempty"`
	SignData     string                `json:"-"`
	Sign         string                `json:"sign"`
}

type FundBillListInfo

type FundBillListInfo struct {
	Amount      string `json:"amount,omitempty"`
	FundChannel string `json:"fundChannel,omitempty"` // 异步通知里是 fundChannel
}

type FundTransAppPay added in v1.5.45

type FundTransAppPay struct {
	ErrorResponse
	OutBizNo string `json:"out_biz_no,omitempty"`
	OrderId  string `json:"order_id,omitempty"`
	Status   string `json:"status,omitempty"`
}

type FundTransAppPayResponse

type FundTransAppPayResponse struct {
	Response     *FundTransAppPay `json:"alipay_fund_trans_app_pay_response"`
	AlipayCertSn string           `json:"alipay_cert_sn,omitempty"`
	SignData     string           `json:"-"`
	Sign         string           `json:"sign"`
}

type FundTransCommonQuery added in v1.5.45

type FundTransCommonQuery struct {
	ErrorResponse
	OrderId            string `json:"order_id,omitempty"`
	OutBizNo           string `json:"out_biz_no,omitempty"`
	Status             string `json:"status,omitempty"`
	SettleSerialNo     string `json:"settle_serial_no,omitempty"`
	PayFundOrderId     string `json:"pay_fund_order_id,omitempty"`
	TransAmount        string `json:"trans_amount,omitempty"`
	PayDate            string `json:"pay_date,omitempty"`
	ArrivalTimeEnd     string `json:"arrival_time_end,omitempty"`
	OrderFee           string `json:"order_fee,omitempty"`
	ErrorCode          string `json:"error_code,omitempty"`
	FailReason         string `json:"fail_reason,omitempty"`
	SubOrderErrorCode  string `json:"sub_order_error_code,omitempty"`
	SubOrderFailReason string `json:"sub_order_fail_reason,omitempty"`
	SubOrderStatus     string `json:"sub_order_status,omitempty"`
}

type FundTransCommonQueryResponse

type FundTransCommonQueryResponse struct {
	Response     *FundTransCommonQuery `json:"alipay_fund_trans_common_query_response"`
	AlipayCertSn string                `json:"alipay_cert_sn,omitempty"`
	SignData     string                `json:"-"`
	Sign         string                `json:"sign"`
}

type FundTransOrderQuery added in v1.5.45

type FundTransOrderQuery struct {
	ErrorResponse
	OrderId        string `json:"order_id,omitempty"`
	Status         string `json:"status,omitempty"`
	PayDate        string `json:"pay_date,omitempty"`
	ArrivalTimeEnd string `json:"arrival_time_end,omitempty"`
	OrderFee       string `json:"order_fee,omitempty"`
	FailReason     string `json:"fail_reason,omitempty"`
	OutBizNo       string `json:"out_biz_no,omitempty"`
	ErrorCode      string `json:"error_code,omitempty"`
}

type FundTransOrderQueryResponse

type FundTransOrderQueryResponse struct {
	Response     *FundTransOrderQuery `json:"alipay_fund_trans_order_query_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type FundTransPagePay added in v1.5.59

type FundTransPagePay struct {
	ErrorResponse
	OutBizNo string `json:"out_biz_no"`
	OrderID  string `json:"order_id,omitempty"`
	Status   string `json:"status"`
}

type FundTransPagePayRsp added in v1.5.59

type FundTransPagePayRsp struct {
	Response     *FundTransPagePay `json:"alipay_fund_trans_page_pay_response"`
	AlipayCertSn string            `json:"alipay_cert_sn,omitempty"`
	SignData     string            `json:"-"`
	Sign         string            `json:"sign"`
}

type FundTransPayeeBindQuery added in v1.5.45

type FundTransPayeeBindQuery struct {
	ErrorResponse
	Bind string `json:"bind"` // 是否绑定收款账号。true:已绑定;false:未绑定
}

type FundTransPayeeBindQueryRsp added in v1.5.45

type FundTransPayeeBindQueryRsp struct {
	Response     *FundTransPayeeBindQuery `json:"alipay_fund_trans_payee_bind_query_response"`
	AlipayCertSn string                   `json:"alipay_cert_sn,omitempty"`
	SignData     string                   `json:"-"`
	Sign         string                   `json:"sign"`
}

type FundTransRefund added in v1.5.45

type FundTransRefund struct {
	ErrorResponse
	RefundOrderId string `json:"refund_order_id"`
	OrderId       string `json:"order_id"`
	OutRequestNo  string `json:"out_request_no"`
	Status        string `json:"status"`
	RefundAmount  string `json:"refund_amount"`
	RefundDate    string `json:"refund_date"`
}

type FundTransRefundResponse

type FundTransRefundResponse struct {
	Response     *FundTransRefund `json:"alipay_fund_trans_refund_response"`
	AlipayCertSn string           `json:"alipay_cert_sn,omitempty"`
	SignData     string           `json:"-"`
	Sign         string           `json:"sign"`
}

type FundTransUniTransferResponse

type FundTransUniTransferResponse struct {
	Response     *TransUniTransfer `json:"alipay_fund_trans_uni_transfer_response"`
	AlipayCertSn string            `json:"alipay_cert_sn,omitempty"`
	SignData     string            `json:"-"`
	Sign         string            `json:"sign"`
}

type GoodsInfo added in v1.5.101

type GoodsInfo struct {
	GoodsId      string `json:"goods_id"`
	GoodsUseType string `json:"goods_use_type"`
}

type HSchoolInfo added in v1.5.51

type HSchoolInfo struct {
	SchoolStdCode string `json:"school_std_code"`
	CampusNo      string `json:"campus_no"`
}

type HbFqPayInfo added in v1.5.58

type HbFqPayInfo struct {
	UserInstallNum string `json:"user_install_num,omitempty"`
}

type HolidayRuleInfo added in v1.5.101

type HolidayRuleInfo struct {
	TimeRangeInfo *TimeRangeInfo `json:"time_range_info"`
}

type Index added in v1.5.106

type Index struct {
	IndexKey   string `json:"index_key"`
	IndexName  string `json:"index_name"`
	IndexDesc  string `json:"index_desc"`
	IndexValue string `json:"index_value"`
	ReportDate string `json:"report_date"`
}

type IndexTrendResult added in v1.5.106

type IndexTrendResult struct {
	IndexKey   string `json:"index_key"`
	IndexName  string `json:"index_name"`
	IndexDesc  string `json:"index_desc"`
	IndexValue string `json:"index_value"`
	ReportDate string `json:"report_date"`
	StartDate  string `json:"start_date"`
	EndDate    string `json:"end_date"`
}

type ItemConsult added in v1.5.101

type ItemConsult struct {
	ItemId      string `json:"item_id"`
	PromoAmount string `json:"promo_amount"`
	PromoCount  string `json:"promo_count"`
}

type ItemPromoInfo added in v1.5.101

type ItemPromoInfo struct {
	ItemName          string         `json:"item_name"`
	ItemDesc          string         `json:"item_desc"`
	ItemCoverPic      string         `json:"item_cover_pic"`
	ItemDetailPicList []string       `json:"item_detail_pic_list"`
	ItemConsultList   []*ItemConsult `json:"item_consult_list"`
}

type KoubeiTradeItemorderBuyRsp added in v1.5.52

type KoubeiTradeItemorderBuyRsp struct {
	Response     *TradeItemorderBuy `json:"koubei_trade_itemorder_buy_response"`
	AlipayCertSn string             `json:"alipay_cert_sn,omitempty"`
	SignData     string             `json:"-"`
	Sign         string             `json:"sign"`
}

type KoubeiTradeItemorderQuery added in v1.5.55

type KoubeiTradeItemorderQuery struct {
	ErrorResponse
	OrderNo                 string `json:"order_no"`
	OutOrderNo              string `json:"out_order_no"`
	PartnerID               string `json:"partner_id"`
	TradeNo                 string `json:"trade_no"`
	Status                  string `json:"status"`
	BuyerID                 string `json:"buyer_id"`
	BizProduct              string `json:"biz_product"`
	GmtCreate               string `json:"gmt_create"`
	SellerID                string `json:"seller_id,omitempty"`
	GmtPayment              string `json:"gmt_payment,omitempty"`
	GmtModified             string `json:"gmt_modified"`
	TotalAmount             string `json:"total_amount"`
	RealPayAmount           string `json:"real_pay_amount"`
	DiscountAmount          string `json:"discount_amount,omitempty"`
	DeliverSellerRealAmount string `json:"deliver_seller_real_amount"`
	ItemOrderVo             []*struct {
		ItemOrderNo  string `json:"item_order_no"`
		SkuID        string `json:"sku_id"`
		Quantity     int    `json:"quantity"`
		Price        string `json:"price"`
		Status       string `json:"status"`
		MerchantFund string `json:"merchant_fund,omitempty"`
		PlatformFund string `json:"platform_fund,omitempty"`
		ExtInfo      string `json:"ext_info,omitempty"`
	} `json:"item_order_vo"`
}

type KoubeiTradeItemorderQueryRsp added in v1.5.55

type KoubeiTradeItemorderQueryRsp struct {
	Response     *KoubeiTradeItemorderQuery `json:"koubei_trade_itemorder_query_response"`
	AlipayCertSn string                     `json:"alipay_cert_sn,omitempty"`
	SignData     string                     `json:"-"`
	Sign         string                     `json:"sign"`
}

type KoubeiTradeItemorderRefund added in v1.5.55

type KoubeiTradeItemorderRefund struct {
	ErrorResponse
	OrderNo          string `json:"order_no"`
	OutRequestNo     string `json:"out_request_no"`
	RealRefundAmount string `json:"real_refund_amount"`
}

type KoubeiTradeItemorderRefundRsp added in v1.5.55

type KoubeiTradeItemorderRefundRsp struct {
	Response     *KoubeiTradeItemorderRefund `json:"koubei_trade_itemorder_refund_response"`
	AlipayCertSn string                      `json:"alipay_cert_sn,omitempty"`
	SignData     string                      `json:"-"`
	Sign         string                      `json:"sign"`
}

type KoubeiTradeOrderAggregateConsult added in v1.5.52

type KoubeiTradeOrderAggregateConsult struct {
	ErrorResponse
	OutOrderNo             string                `json:"out_order_no,omitempty"`
	OrderNo                string                `json:"order_no,omitempty"`
	TradeNo                string                `json:"trade_no,omitempty"`
	BuyerId                string                `json:"buyer_id,omitempty"`
	BuyerIdType            string                `json:"buyer_id_type,omitempty"`
	TotalAmount            string                `json:"total_amount,omitempty"`
	ReceiptAmount          string                `json:"receipt_amount,omitempty"`
	BuyerPayAmount         string                `json:"buyer_pay_amount,omitempty"`
	MerchantDiscountAmount string                `json:"merchant_discount_amount,omitempty"`
	PlatformDiscountAmount string                `json:"platform_discount_amount,omitempty"`
	DiscountDetailList     []*DiscountDetailInfo `json:"discount_detail_list,omitempty"`
	OrderStatus            string                `json:"order_status,omitempty"`
	PayChannel             string                `json:"pay_channel,omitempty"`
	CreateTime             string                `json:"create_time"`
	GmtPaymentTime         string                `json:"gmt_payment_time,omitempty"`
}

type KoubeiTradeOrderAggregateConsultRsp added in v1.5.52

type KoubeiTradeOrderAggregateConsultRsp struct {
	Response     *KoubeiTradeOrderAggregateConsult `json:"koubei_trade_order_aggregate_consult_response"`
	AlipayCertSn string                            `json:"alipay_cert_sn,omitempty"`
	SignData     string                            `json:"-"`
	Sign         string                            `json:"sign"`
}

type KoubeiTradeOrderConsult added in v1.5.55

type KoubeiTradeOrderConsult struct {
	ErrorResponse
	BuyerPayAmount string `json:"buyer_pay_amount"`
	RequestId      string `json:"request_id,omitempty"`
	MCardDetail    *struct {
		Name            string `json:"name"`
		AvailableAmount string `json:"available_amount"`
		PayAmount       string `json:"pay_amount"`
	} `json:"m_card_detail,omitempty"`
	DiscountDetail *struct {
		Id             string   `json:"id"`
		DiscountDesc   []string `json:"discount_desc,omitempty"`
		DiscountType   string   `json:"discount_type"`
		IsHit          string   `json:"is_hit"`
		IsPurchased    string   `json:"is_purchased"`
		Name           string   `json:"name"`
		DiscountAmount string   `json:"discount_amount,omitempty"`
	} `json:"discount_detail,omitempty"`
}

type KoubeiTradeOrderConsultRsp added in v1.5.55

type KoubeiTradeOrderConsultRsp struct {
	Response     *KoubeiTradeOrderConsult `json:"koubei_trade_order_consult_response"`
	AlipayCertSn string                   `json:"alipay_cert_sn,omitempty"`
	SignData     string                   `json:"-"`
	Sign         string                   `json:"sign"`
}

type KoubeiTradeOrderPrecreate added in v1.5.52

type KoubeiTradeOrderPrecreate struct {
	ErrorResponse
	OrderNo string `json:"order_no"`
	QrCode  string `json:"qr_code,omitempty"`
}

type KoubeiTradeOrderPrecreateRsp added in v1.5.52

type KoubeiTradeOrderPrecreateRsp struct {
	Response     *KoubeiTradeOrderPrecreate `json:"koubei_trade_order_precreate_response"`
	AlipayCertSn string                     `json:"alipay_cert_sn,omitempty"`
	SignData     string                     `json:"-"`
	Sign         string                     `json:"sign"`
}

type KoubeiTradeTicketTicketcodeCancel added in v1.5.56

type KoubeiTradeTicketTicketcodeCancel struct {
	ErrorResponse
	RequestId string `json:"request_id"`
	BizCode   string `json:"biz_code,omitempty"`
}

type KoubeiTradeTicketTicketcodeCancelRsp added in v1.5.56

type KoubeiTradeTicketTicketcodeCancelRsp struct {
	Response     *KoubeiTradeTicketTicketcodeCancel `json:"koubei_trade_ticket_ticketcode_cancel_response"`
	AlipayCertSn string                             `json:"alipay_cert_sn,omitempty"`
	SignData     string                             `json:"-"`
	Sign         string                             `json:"sign"`
}

type KoubeiTradeTicketTicketcodeDelay added in v1.5.56

type KoubeiTradeTicketTicketcodeDelay struct {
	ErrorResponse
	RequestId string `json:"request_id"`
	BizCode   string `json:"biz_code,omitempty"`
}

type KoubeiTradeTicketTicketcodeDelayRsp added in v1.5.56

type KoubeiTradeTicketTicketcodeDelayRsp struct {
	Response     *KoubeiTradeTicketTicketcodeDelay `json:"koubei_trade_ticket_ticketcode_delay_response"`
	AlipayCertSn string                            `json:"alipay_cert_sn,omitempty"`
	SignData     string                            `json:"-"`
	Sign         string                            `json:"sign"`
}

type KoubeiTradeTicketTicketcodeQuery added in v1.5.56

type KoubeiTradeTicketTicketcodeQuery struct {
	ErrorResponse
	TicketCode          string             `json:"ticket_code"`
	TicketStatus        string             `json:"ticket_status"`
	TicketStatusDesc    string             `json:"ticket_status_desc"`
	ItemName            string             `json:"item_name"`
	ItemID              string             `json:"item_id"`
	OriginalPrice       string             `json:"original_price"`
	CurrentPrice        string             `json:"current_price"`
	EffectDate          string             `json:"effect_date"`
	ExpireDate          string             `json:"expire_date"`
	VoucherID           string             `json:"voucher_id"`
	OrderNo             string             `json:"order_no"`
	AvailableQuantity   string             `json:"available_quantity,omitempty"`
	TotalQuantity       string             `json:"total_quantity,omitempty"`
	ItemAlias           string             `json:"item_alias,omitempty"`
	TimeCards           string             `json:"time_cards"`
	TicketTransInfoList []*TicketTransInfo `json:"ticket_trans_info_list,omitempty"`
}

type KoubeiTradeTicketTicketcodeQueryRsp added in v1.5.56

type KoubeiTradeTicketTicketcodeQueryRsp struct {
	Response     *KoubeiTradeTicketTicketcodeQuery `json:"koubei_trade_ticket_ticketcode_query_response"`
	AlipayCertSn string                            `json:"alipay_cert_sn,omitempty"`
	SignData     string                            `json:"-"`
	Sign         string                            `json:"sign"`
}

type KoubeiTradeTicketTicketcodeSend added in v1.5.56

type KoubeiTradeTicketTicketcodeSend struct {
	ErrorResponse
	RequestId string `json:"request_id"`
	BizCode   string `json:"biz_code,omitempty"`
}

type KoubeiTradeTicketTicketcodeSendRsp added in v1.5.56

type KoubeiTradeTicketTicketcodeSendRsp struct {
	Response     *KoubeiTradeTicketTicketcodeSend `json:"koubei_trade_ticket_ticketcode_send_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type MarketingActivityBatchQuery added in v1.5.101

type MarketingActivityBatchQuery struct {
	ErrorResponse
	ActivityLiteInfos []*ActivityLiteInfo `json:"activity_lite_infos"`
	PageNum           int                 `json:"page_num"`
	PageSize          int                 `json:"page_size"`
	TotalSize         string              `json:"total_size"`
}

type MarketingActivityBatchQueryRsp added in v1.5.101

type MarketingActivityBatchQueryRsp struct {
	Response     *MarketingActivityBatchQuery `json:"alipay_marketing_activity_batchquery_response"`
	AlipayCertSn string                       `json:"alipay_cert_sn,omitempty"`
	SignData     string                       `json:"-"`
	Sign         string                       `json:"sign"`
}

type MarketingActivityConsult added in v1.5.101

type MarketingActivityConsult struct {
	ErrorResponse
	UserId                string               `json:"user_id"`
	OpenId                string               `json:"open_id"`
	ConsultResultInfoList []*ConsultResultInfo `json:"consult_result_info_list"`
}

type MarketingActivityConsultRsp added in v1.5.101

type MarketingActivityConsultRsp struct {
	Response     *MarketingActivityConsult `json:"alipay_marketing_activity_consult_response"`
	AlipayCertSn string                    `json:"alipay_cert_sn,omitempty"`
	SignData     string                    `json:"-"`
	Sign         string                    `json:"sign"`
}

type MarketingActivityDeliveryCreate added in v1.5.101

type MarketingActivityDeliveryCreate struct {
	ErrorResponse
	DeliveryId string `json:"delivery_id"`
}

type MarketingActivityDeliveryCreateRsp added in v1.5.101

type MarketingActivityDeliveryCreateRsp struct {
	Response     *MarketingActivityDeliveryCreate `json:"alipay_marketing_activity_delivery_create_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type MarketingActivityDeliveryQuery added in v1.5.101

type MarketingActivityDeliveryQuery struct {
	ErrorResponse
	DeliveryId         string              `json:"delivery_id"`
	DeliveryStatus     string              `json:"delivery_status"`
	DeliveryBoothCode  string              `json:"delivery_booth_code"`
	DeliveryErrorMsg   string              `json:"delivery_error_msg"`
	DeliveryBaseInfo   *DeliveryBaseInfo   `json:"delivery_base_info"`
	DeliveryPlayConfig *DeliveryPlayConfig `json:"delivery_play_config"`
	DeliveryTargetRule *DeliveryTargetRule `json:"delivery_target_rule"`
}

type MarketingActivityDeliveryQueryRsp added in v1.5.101

type MarketingActivityDeliveryQueryRsp struct {
	Response     *MarketingActivityDeliveryQuery `json:"alipay_marketing_activity_delivery_query_response"`
	AlipayCertSn string                          `json:"alipay_cert_sn,omitempty"`
	SignData     string                          `json:"-"`
	Sign         string                          `json:"sign"`
}

type MarketingActivityDeliveryStop added in v1.5.101

type MarketingActivityDeliveryStop struct {
	ErrorResponse
	DeliveryId string `json:"delivery_id"`
}

type MarketingActivityDeliveryStopRsp added in v1.5.101

type MarketingActivityDeliveryStopRsp struct {
	Response     *MarketingActivityDeliveryStop `json:"alipay_marketing_activity_delivery_stop_response"`
	AlipayCertSn string                         `json:"alipay_cert_sn,omitempty"`
	SignData     string                         `json:"-"`
	Sign         string                         `json:"sign"`
}

type MarketingActivityOrderVoucherAppend added in v1.5.103

type MarketingActivityOrderVoucherAppend struct {
	ErrorResponse
}

type MarketingActivityOrderVoucherAppendRsp added in v1.5.103

type MarketingActivityOrderVoucherAppendRsp struct {
	Response     *MarketingActivityOrderVoucherAppend `json:"alipay_marketing_activity_ordervoucher_append_response"`
	AlipayCertSn string                               `json:"alipay_cert_sn,omitempty"`
	SignData     string                               `json:"-"`
	Sign         string                               `json:"sign"`
}

type MarketingActivityOrderVoucherCodeCount added in v1.5.103

type MarketingActivityOrderVoucherCodeCount struct {
	ErrorResponse
	SuccessCount int `json:"success_count"`
}

type MarketingActivityOrderVoucherCodeCountRsp added in v1.5.103

type MarketingActivityOrderVoucherCodeCountRsp struct {
	Response     *MarketingActivityOrderVoucherCodeCount `json:"alipay_marketing_activity_ordervoucher_codecount_response"`
	AlipayCertSn string                                  `json:"alipay_cert_sn,omitempty"`
	SignData     string                                  `json:"-"`
	Sign         string                                  `json:"sign"`
}

type MarketingActivityOrderVoucherCodeDeposit added in v1.5.103

type MarketingActivityOrderVoucherCodeDeposit struct {
	ErrorResponse
	SuccessCount              int                      `json:"success_count"`
	FailCount                 int                      `json:"fail_count"`
	SuccessVoucherCodeList    []string                 `json:"success_voucher_code_list"`
	FailVoucherCodeDetailList []*FailVoucherCodeDetail `json:"fail_voucher_code_detail_list"`
}

type MarketingActivityOrderVoucherCodeDepositRsp added in v1.5.103

type MarketingActivityOrderVoucherCodeDepositRsp struct {
	Response     *MarketingActivityOrderVoucherCodeDeposit `json:"alipay_marketing_activity_ordervoucher_codedeposit_response"`
	AlipayCertSn string                                    `json:"alipay_cert_sn,omitempty"`
	SignData     string                                    `json:"-"`
	Sign         string                                    `json:"sign"`
}

type MarketingActivityOrderVoucherCreate added in v1.5.103

type MarketingActivityOrderVoucherCreate struct {
	ErrorResponse
	ActivityId                      string                           `json:"activity_id"`
	VoucherAvailableScopeResultInfo *VoucherAvailableScopeResultInfo `json:"voucher_available_scope_result_info"`
}

type MarketingActivityOrderVoucherCreateRsp added in v1.5.103

type MarketingActivityOrderVoucherCreateRsp struct {
	Response     *MarketingActivityOrderVoucherCreate `json:"alipay_marketing_activity_ordervoucher_create_response"`
	AlipayCertSn string                               `json:"alipay_cert_sn,omitempty"`
	SignData     string                               `json:"-"`
	Sign         string                               `json:"sign"`
}

type MarketingActivityOrderVoucherModify added in v1.5.103

type MarketingActivityOrderVoucherModify struct {
	ErrorResponse
	VoucherAvailableScopeResultInfo *VoucherAvailableScopeResultInfo `json:"voucher_available_scope_result_info"`
}

type MarketingActivityOrderVoucherModifyRsp added in v1.5.103

type MarketingActivityOrderVoucherModifyRsp struct {
	Response     *MarketingActivityOrderVoucherModify `json:"alipay_marketing_activity_ordervoucher_modify_response"`
	AlipayCertSn string                               `json:"alipay_cert_sn,omitempty"`
	SignData     string                               `json:"-"`
	Sign         string                               `json:"sign"`
}

type MarketingActivityOrderVoucherQuery added in v1.5.103

type MarketingActivityOrderVoucherQuery struct {
	ErrorResponse
	ActivityBaseInfo          *ActivityBaseInfo          `json:"activity_base_info"`
	VoucherSendModeInfo       *VoucherSendModeInfo       `json:"voucher_send_mode_info"`
	VoucherDeductInfo         *VoucherDeductInfo         `json:"voucher_deduct_info"`
	VoucherAvailableScopeInfo *VoucherAvailableScopeInfo `json:"voucher_available_scope_info"`
	VoucherUseRuleInfo        *VoucherUseRuleInfo        `json:"voucher_use_rule_info"`
	VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
	VoucherCustomerGuideInfo  *VoucherCustomerGuideInfo  `json:"voucher_customer_guide_info"`
	VoucherInventoryInfo      *VoucherInventoryInfo      `json:"voucher_inventory_info"`
}

type MarketingActivityOrderVoucherQueryRsp added in v1.5.103

type MarketingActivityOrderVoucherQueryRsp struct {
	Response     *MarketingActivityOrderVoucherQuery `json:"alipay_marketing_activity_ordervoucher_query_response"`
	AlipayCertSn string                              `json:"alipay_cert_sn,omitempty"`
	SignData     string                              `json:"-"`
	Sign         string                              `json:"sign"`
}

type MarketingActivityOrderVoucherRefund added in v1.5.103

type MarketingActivityOrderVoucherRefund struct {
	ErrorResponse
	ActivityId                 string                      `json:"activity_id"`
	VoucherUseDetailResultInfo *VoucherUseDetailResultInfo `json:"voucher_use_detail_result_info"`
}

type MarketingActivityOrderVoucherRefundRsp added in v1.5.103

type MarketingActivityOrderVoucherRefundRsp struct {
	Response     *MarketingActivityOrderVoucherRefund `json:"alipay_marketing_activity_ordervoucher_refund_response"`
	AlipayCertSn string                               `json:"alipay_cert_sn,omitempty"`
	SignData     string                               `json:"-"`
	Sign         string                               `json:"sign"`
}

type MarketingActivityOrderVoucherStop added in v1.5.103

type MarketingActivityOrderVoucherStop struct {
	ErrorResponse
}

type MarketingActivityOrderVoucherStopRsp added in v1.5.103

type MarketingActivityOrderVoucherStopRsp struct {
	Response     *MarketingActivityOrderVoucherStop `json:"alipay_marketing_activity_ordervoucher_stop_response"`
	AlipayCertSn string                             `json:"alipay_cert_sn,omitempty"`
	SignData     string                             `json:"-"`
	Sign         string                             `json:"sign"`
}

type MarketingActivityOrderVoucherUse added in v1.5.103

type MarketingActivityOrderVoucherUse struct {
	ErrorResponse
	ActivityId                 string                      `json:"activity_id"`
	VoucherUseDetailResultInfo *VoucherUseDetailResultInfo `json:"voucher_use_detail_result_info"`
}

type MarketingActivityOrderVoucherUseRsp added in v1.5.103

type MarketingActivityOrderVoucherUseRsp struct {
	Response     *MarketingActivityOrderVoucherUse `json:"alipay_marketing_activity_ordervoucher_use_response"`
	AlipayCertSn string                            `json:"alipay_cert_sn,omitempty"`
	SignData     string                            `json:"-"`
	Sign         string                            `json:"sign"`
}

type MarketingActivityQuery added in v1.5.101

type MarketingActivityQuery struct {
	ErrorResponse
	ActivityBaseInfo          *ActivityBaseInfo          `json:"activity_base_info"`
	VoucherSendModeInfo       *VoucherSendModeInfo       `json:"voucher_send_mode_info"`
	VoucherDeductInfo         *VoucherDeductInfo         `json:"voucher_deduct_info"`
	VoucherUseRuleInfo        *VoucherUseRuleInfo        `json:"voucher_use_rule_info"`
	VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
	VoucherAvailableScopeInfo *VoucherAvailableScopeInfo `json:"voucher_available_scope_info"`
	VoucherCustomerGuideInfo  *VoucherCustomerGuideInfo  `json:"voucher_customer_guide_info"`
}

type MarketingActivityQueryAppBatchQuery added in v1.5.101

type MarketingActivityQueryAppBatchQuery struct {
	ErrorResponse
	ActivityId string     `json:"activity_id"`
	AppInfos   []*AppInfo `json:"app_infos"`
	PageNum    int        `json:"page_num"`
	PageSize   int        `json:"page_size"`
	TotalSize  int        `json:"total_size"`
}

type MarketingActivityQueryAppBatchQueryRsp added in v1.5.101

type MarketingActivityQueryAppBatchQueryRsp struct {
	Response     *MarketingActivityQueryAppBatchQuery `json:"alipay_marketing_activity_app_batchquery_response"`
	AlipayCertSn string                               `json:"alipay_cert_sn,omitempty"`
	SignData     string                               `json:"-"`
	Sign         string                               `json:"sign"`
}

type MarketingActivityQueryGoodsBatchQuery added in v1.5.101

type MarketingActivityQueryGoodsBatchQuery struct {
	ErrorResponse
	ActivityId   string         `json:"activity_id"`
	AppItemInfos []*AppItemInfo `json:"app_item_infos"`
	GoodsInfos   []*GoodsInfo   `json:"goods_infos"`
	PageNum      int            `json:"page_num"`
	PageSize     int            `json:"page_size"`
	TotalSize    int            `json:"total_size"`
}

type MarketingActivityQueryGoodsBatchQueryRsp added in v1.5.101

type MarketingActivityQueryGoodsBatchQueryRsp struct {
	Response     *MarketingActivityQueryGoodsBatchQuery `json:"alipay_marketing_activity_goods_batchquery_response"`
	AlipayCertSn string                                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                                 `json:"-"`
	Sign         string                                 `json:"sign"`
}

type MarketingActivityQueryMerchantBatchQuery added in v1.5.101

type MarketingActivityQueryMerchantBatchQuery struct {
	ErrorResponse
	ActivityId    string          `json:"activity_id"`
	MerchantInfos []*MerchantInfo `json:"merchant_infos"`
	PageNum       int             `json:"page_num"`
	PageSize      int             `json:"page_size"`
	TotalSize     int             `json:"total_size"`
}

type MarketingActivityQueryMerchantBatchQueryRsp added in v1.5.101

type MarketingActivityQueryMerchantBatchQueryRsp struct {
	Response     *MarketingActivityQueryMerchantBatchQuery `json:"alipay_marketing_activity_merchant_batchquery_response"`
	AlipayCertSn string                                    `json:"alipay_cert_sn,omitempty"`
	SignData     string                                    `json:"-"`
	Sign         string                                    `json:"sign"`
}

type MarketingActivityQueryRsp added in v1.5.101

type MarketingActivityQueryRsp struct {
	Response     *MarketingActivityQuery `json:"alipay_marketing_activity_query_response"`
	AlipayCertSn string                  `json:"alipay_cert_sn,omitempty"`
	SignData     string                  `json:"-"`
	Sign         string                  `json:"sign"`
}

type MarketingActivityQueryShopBatchQuery added in v1.5.101

type MarketingActivityQueryShopBatchQuery struct {
	ErrorResponse
	ActivityId string      `json:"activity_id"`
	ShopInfos  []*ShopInfo `json:"shop_infos"`
	PageNum    int         `json:"page_num"`
	PageSize   int         `json:"page_size"`
	TotalSize  int         `json:"total_size"`
}

type MarketingActivityQueryShopBatchQueryRsp added in v1.5.101

type MarketingActivityQueryShopBatchQueryRsp struct {
	Response     *MarketingActivityQueryShopBatchQuery `json:"alipay_marketing_activity_shop_batchquery_response"`
	AlipayCertSn string                                `json:"alipay_cert_sn,omitempty"`
	SignData     string                                `json:"-"`
	Sign         string                                `json:"sign"`
}

type MarketingActivityQueryUserBatchQueryVoucher added in v1.5.101

type MarketingActivityQueryUserBatchQueryVoucher struct {
	ErrorResponse
	UserVoucherInfos []*UserVoucherInfo `json:"user_voucher_infos"`
	PageNum          int                `json:"page_num"`
	PageSize         int                `json:"page_size"`
	TotalSize        int                `json:"total_size"`
}

type MarketingActivityQueryUserBatchQueryVoucherRsp added in v1.5.101

type MarketingActivityQueryUserBatchQueryVoucherRsp struct {
	Response     *MarketingActivityQueryUserBatchQueryVoucher `json:"alipay_marketing_activity_user_batchqueryvoucher_response"`
	AlipayCertSn string                                       `json:"alipay_cert_sn,omitempty"`
	SignData     string                                       `json:"-"`
	Sign         string                                       `json:"sign"`
}

type MarketingActivityQueryUserQueryVoucher added in v1.5.101

type MarketingActivityQueryUserQueryVoucher struct {
	ErrorResponse
	UserVoucherBaseInfo       *UserVoucherBaseInfo       `json:"user_voucher_base_info"`
	ActivityBaseInfo          *ActivityBaseInfo          `json:"activity_base_info"`
	VoucherSendModeInfo       *VoucherSendModeInfo       `json:"voucher_send_mode_info"`
	VoucherUseRuleInfo        *VoucherUseRuleInfo        `json:"voucher_use_rule_info"`
	VoucherDeductInfo         *VoucherDeductInfo         `json:"voucher_deduct_info"`
	VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
	VoucherCustomerGuideInfo  *VoucherCustomerGuideInfo  `json:"voucher_customer_guide_info"`
}

type MarketingActivityQueryUserQueryVoucherRsp added in v1.5.101

type MarketingActivityQueryUserQueryVoucherRsp struct {
	Response     *MarketingActivityQueryUserQueryVoucher `json:"alipay_marketing_activity_user_queryvoucher_response"`
	AlipayCertSn string                                  `json:"alipay_cert_sn,omitempty"`
	SignData     string                                  `json:"-"`
	Sign         string                                  `json:"sign"`
}

type MarketingActivityVoucherAppend added in v1.5.101

type MarketingActivityVoucherAppend struct {
	ErrorResponse
	RechargeUrl string `json:"recharge_url"`
}

type MarketingActivityVoucherAppendRsp added in v1.5.101

type MarketingActivityVoucherAppendRsp struct {
	Response     *MarketingActivityVoucherAppend `json:"alipay_marketing_activity_voucher_append_response"`
	AlipayCertSn string                          `json:"alipay_cert_sn,omitempty"`
	SignData     string                          `json:"-"`
	Sign         string                          `json:"sign"`
}

type MarketingActivityVoucherCreate added in v1.5.101

type MarketingActivityVoucherCreate struct {
	ErrorResponse
	ActivityId string `json:"activity_id"`
}

type MarketingActivityVoucherCreateRsp added in v1.5.101

type MarketingActivityVoucherCreateRsp struct {
	Response     *MarketingActivityVoucherCreate `json:"alipay_marketing_activity_voucher_create_response"`
	AlipayCertSn string                          `json:"alipay_cert_sn,omitempty"`
	SignData     string                          `json:"-"`
	Sign         string                          `json:"sign"`
}

type MarketingActivityVoucherModify added in v1.5.101

type MarketingActivityVoucherModify struct {
	ErrorResponse
}

type MarketingActivityVoucherModifyRsp added in v1.5.101

type MarketingActivityVoucherModifyRsp struct {
	Response     *MarketingActivityVoucherModify `json:"alipay_marketing_activity_voucher_modify_response"`
	AlipayCertSn string                          `json:"alipay_cert_sn,omitempty"`
	SignData     string                          `json:"-"`
	Sign         string                          `json:"sign"`
}

type MarketingActivityVoucherPublish added in v1.5.101

type MarketingActivityVoucherPublish struct {
	ErrorResponse
	RechargeUrl string `json:"recharge_url"`
}

type MarketingActivityVoucherPublishRsp added in v1.5.101

type MarketingActivityVoucherPublishRsp struct {
	Response     *MarketingActivityVoucherPublish `json:"alipay_marketing_activity_voucher_publish_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type MarketingActivityVoucherQuery added in v1.5.101

type MarketingActivityVoucherQuery struct {
	ErrorResponse
	ActivityBaseInfo          *ActivityBaseInfo          `json:"activity_base_info"`
	VoucherSendModeInfo       *VoucherSendModeInfo       `json:"voucher_send_mode_info"`
	VoucherDeductInfo         *VoucherDeductInfo         `json:"voucher_deduct_info"`
	VoucherAvailableScopeInfo *VoucherAvailableScopeInfo `json:"voucher_available_scope_info"`
	VoucherUseRuleInfo        *VoucherUseRuleInfo        `json:"voucher_use_rule_info"`
	VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
	VoucherCustomerGuideInfo  *VoucherCustomerGuideInfo  `json:"voucher_customer_guide_info"`
	VoucherBudgetSupplyInfo   *VoucherBudgetSupplyInfo   `json:"voucher_budget_supply_info"`
	VoucherInventoryInfo      *VoucherInventoryInfo      `json:"voucher_inventory_info"`
}

type MarketingActivityVoucherQueryRsp added in v1.5.101

type MarketingActivityVoucherQueryRsp struct {
	Response     *MarketingActivityVoucherQuery `json:"alipay_marketing_activity_voucher_query_response"`
	AlipayCertSn string                         `json:"alipay_cert_sn,omitempty"`
	SignData     string                         `json:"-"`
	Sign         string                         `json:"sign"`
}

type MarketingActivityVoucherStop added in v1.5.101

type MarketingActivityVoucherStop struct {
	ErrorResponse
}

type MarketingActivityVoucherStopRsp added in v1.5.101

type MarketingActivityVoucherStopRsp struct {
	Response     *MarketingActivityVoucherStop `json:"alipay_marketing_activity_voucher_stop_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

type MarketingCampaignCashCreate added in v1.5.100

type MarketingCampaignCashCreate struct {
	ErrorResponse
	CrowdNo       string `json:"crowd_no"`
	PayURL        string `json:"pay_url"`
	OriginCrowdNo string `json:"origin_crowd_no"`
}

type MarketingCampaignCashCreateRsp added in v1.5.100

type MarketingCampaignCashCreateRsp struct {
	Response     *MarketingCampaignCashCreate `json:"alipay_marketing_campaign_cash_create_response"`
	AlipayCertSn string                       `json:"alipay_cert_sn,omitempty"`
	SignData     string                       `json:"-"`
	Sign         string                       `json:"sign"`
}

type MarketingCampaignCashDetailQuery added in v1.5.100

type MarketingCampaignCashDetailQuery struct {
	ErrorResponse
	CrowdNo       string  `json:"crowd_no"`
	CouponName    string  `json:"coupon_name"`
	PrizeMsg      string  `json:"prize_msg"`
	PrizeType     string  `json:"prize_type"`
	StartTime     string  `json:"start_time"`
	EndTime       string  `json:"end_time"`
	TotalAmount   float64 `json:"total_amount"`
	SendAmount    float64 `json:"send_amount"`
	TotalNum      int     `json:"total_num"`
	TotalCount    int     `json:"total_count"`
	OriginCrowdNo string  `json:"origin_crowd_no"`
	CampStatus    string  `json:"camp_status"`
}

type MarketingCampaignCashDetailQueryRsp added in v1.5.100

type MarketingCampaignCashDetailQueryRsp struct {
	Response     *MarketingCampaignCashDetailQuery `json:"alipay_marketing_campaign_cash_detail_query_response"`
	AlipayCertSn string                            `json:"alipay_cert_sn,omitempty"`
	SignData     string                            `json:"-"`
	Sign         string                            `json:"sign"`
}

type MarketingCampaignCashListQuery added in v1.5.100

type MarketingCampaignCashListQuery struct {
	ErrorResponse
	PageSize  string             `json:"page_size"`
	CampList  []CashCampaignInfo `json:"camp_list"`
	PageIndex string             `json:"page_index"`
	TotalSize string             `json:"total_size"`
}

type MarketingCampaignCashListQueryRsp added in v1.5.100

type MarketingCampaignCashListQueryRsp struct {
	Response     *MarketingCampaignCashListQuery `json:"alipay_marketing_campaign_cash_list_query_response"`
	AlipayCertSn string                          `json:"alipay_cert_sn,omitempty"`
	SignData     string                          `json:"-"`
	Sign         string                          `json:"sign"`
}

type MarketingCampaignCashStatusModify added in v1.5.100

type MarketingCampaignCashStatusModify struct {
	ErrorResponse
}

type MarketingCampaignCashStatusModifyRsp added in v1.5.100

type MarketingCampaignCashStatusModifyRsp struct {
	Response     *MarketingCampaignCashStatusModify `json:"alipay_marketing_campaign_cash_status_modify_response"`
	AlipayCertSn string                             `json:"alipay_cert_sn,omitempty"`
	SignData     string                             `json:"-"`
	Sign         string                             `json:"sign"`
}

type MarketingCampaignCashTrigger added in v1.5.100

type MarketingCampaignCashTrigger struct {
	ErrorResponse
	TriggerResult     string `json:"trigger_result"`
	PrizeAmount       string `json:"prize_amount"`
	RepeatTriggerFlag string `json:"repeat_trigger_flag"`
	PartnerId         string `json:"partner_id"`
	ErrorMsg          string `json:"error_msg"`
	CouponName        string `json:"coupon_name"`
	PrizeMsg          string `json:"prize_msg"`
	BizNo             string `json:"biz_no"`
	OutBizNo          string `json:"out_biz_no"`
}

type MarketingCampaignCashTriggerRsp added in v1.5.100

type MarketingCampaignCashTriggerRsp struct {
	Response     *MarketingCampaignCashTrigger `json:"alipay_marketing_campaign_cash_trigger_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

type MarketingCampaignOrderVoucherConsult added in v1.5.101

type MarketingCampaignOrderVoucherConsult struct {
	ErrorResponse
	OptimalTotalPromoAmount string            `json:"optimal_total_promo_amount"`
	VoucherConsultList      []*VoucherConsult `json:"voucher_consult_list"`
}

type MarketingCampaignOrderVoucherConsultRsp added in v1.5.101

type MarketingCampaignOrderVoucherConsultRsp struct {
	Response     *MarketingCampaignOrderVoucherConsult `json:"alipay_marketing_campaign_order_voucher_consult_response"`
	AlipayCertSn string                                `json:"alipay_cert_sn,omitempty"`
	SignData     string                                `json:"-"`
	Sign         string                                `json:"sign"`
}

type MarketingCardDelete added in v1.5.104

type MarketingCardDelete struct {
	ErrorResponse
	BizSerialNo string `json:"biz_serial_no"`
}

type MarketingCardDeleteRsp added in v1.5.104

type MarketingCardDeleteRsp struct {
	Response     *MarketingCardDelete `json:"alipay_marketing_card_delete_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type MarketingCardFormTemplateSet added in v1.5.104

type MarketingCardFormTemplateSet struct {
	ErrorResponse
}

type MarketingCardFormTemplateSetRsp added in v1.5.104

type MarketingCardFormTemplateSetRsp struct {
	Response     *MarketingCardFormTemplateSet `json:"alipay_marketing_card_formtemplate_set_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

type MarketingCardMessageNotify added in v1.5.104

type MarketingCardMessageNotify struct {
	ErrorResponse
	ResultCode string `json:"result_code"`
}

type MarketingCardMessageNotifyRsp added in v1.5.104

type MarketingCardMessageNotifyRsp struct {
	Response     *MarketingCardMessageNotify `json:"alipay_marketing_card_message_notify_response"`
	AlipayCertSn string                      `json:"alipay_cert_sn,omitempty"`
	SignData     string                      `json:"-"`
	Sign         string                      `json:"sign"`
}

type MarketingCardQuery added in v1.5.104

type MarketingCardQuery struct {
	ErrorResponse
	CardInfo          *CardInfo          `json:"card_info"`
	SchemaUrl         string             `json:"schema_url"`
	PassId            string             `json:"pass_id"`
	PaidOuterCardInfo *PaidOuterCardInfo `json:"paid_outer_card_info"`
}

type MarketingCardQueryRsp added in v1.5.104

type MarketingCardQueryRsp struct {
	Response     *MarketingCardQuery `json:"alipay_marketing_card_query_response"`
	AlipayCertSn string              `json:"alipay_cert_sn,omitempty"`
	SignData     string              `json:"-"`
	Sign         string              `json:"sign"`
}

type MarketingCardTemplateCreate added in v1.5.104

type MarketingCardTemplateCreate struct {
	ErrorResponse
	TemplateId string `json:"template_id"`
}

type MarketingCardTemplateCreateRsp added in v1.5.104

type MarketingCardTemplateCreateRsp struct {
	Response     *MarketingCardTemplateCreate `json:"alipay_marketing_card_template_create_response"`
	AlipayCertSn string                       `json:"alipay_cert_sn,omitempty"`
	SignData     string                       `json:"-"`
	Sign         string                       `json:"sign"`
}

type MarketingCardTemplateModify added in v1.5.104

type MarketingCardTemplateModify struct {
	ErrorResponse
	TemplateId string `json:"template_id"`
}

type MarketingCardTemplateModifyRsp added in v1.5.104

type MarketingCardTemplateModifyRsp struct {
	Response     *MarketingCardTemplateModify `json:"alipay_marketing_card_template_modify_response"`
	AlipayCertSn string                       `json:"alipay_cert_sn,omitempty"`
	SignData     string                       `json:"-"`
	Sign         string                       `json:"sign"`
}

type MarketingCardTemplateQuery added in v1.5.104

type MarketingCardTemplateQuery struct {
	ErrorResponse
	TemplateStyleInfo  *TemplateStyleInfo  `json:"template_style_info"`
	AccessVersion      string              `json:"access_version"`
	CardLevelConfs     []*CardLevelConf    `json:"card_level_confs"`
	TemplateFormConfig *TemplateFormConfig `json:"template_form_config"`
	SpiAppId           string              `json:"spi_app_id"`
}

type MarketingCardTemplateQueryRsp added in v1.5.104

type MarketingCardTemplateQueryRsp struct {
	Response     *MarketingCardTemplateQuery `json:"alipay_marketing_card_template_query_response"`
	AlipayCertSn string                      `json:"alipay_cert_sn,omitempty"`
	SignData     string                      `json:"-"`
	Sign         string                      `json:"sign"`
}

type MarketingCardUpdate added in v1.5.104

type MarketingCardUpdate struct {
	ErrorResponse
	ResultCode string `json:"result_code"`
}

type MarketingCardUpdateRsp added in v1.5.104

type MarketingCardUpdateRsp struct {
	Response     *MarketingCardUpdate `json:"alipay_marketing_card_update_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type MarketingMaterialImageUpload added in v1.5.101

type MarketingMaterialImageUpload struct {
	ErrorResponse
	ResourceId      string `json:"resource_id"`
	ResourceEnhance bool   `json:"resource_enhance"`
	ResourceUrl     string `json:"resource_url"`
}

type MarketingMaterialImageUploadRsp added in v1.5.101

type MarketingMaterialImageUploadRsp struct {
	Response     *MarketingMaterialImageUpload `json:"alipay_marketing_material_image_upload_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

type MarketingQipanBehaviorQuery added in v1.5.106

type MarketingQipanBehaviorQuery struct {
	ErrorResponse
	MultiDataList []*MultiData `json:"multi_data_list"`
}

type MarketingQipanBehaviorQueryRsp added in v1.5.106

type MarketingQipanBehaviorQueryRsp struct {
	Response     *MarketingQipanBehaviorQuery `json:"alipay_merchant_qipan_behavior_query_response"`
	AlipayCertSn string                       `json:"alipay_cert_sn,omitempty"`
	SignData     string                       `json:"-"`
	Sign         string                       `json:"sign"`
}

type MarketingQipanBoardQuery added in v1.5.106

type MarketingQipanBoardQuery struct {
	ErrorResponse
	IndexList []*Index `json:"index_list"`
}

type MarketingQipanBoardQueryRsp added in v1.5.106

type MarketingQipanBoardQueryRsp struct {
	Response     *MarketingQipanBoardQuery `json:"alipay_merchant_qipan_board_query_response"`
	AlipayCertSn string                    `json:"alipay_cert_sn,omitempty"`
	SignData     string                    `json:"-"`
	Sign         string                    `json:"sign"`
}

type MarketingQipanCrowdBatchQuery added in v1.5.106

type MarketingQipanCrowdBatchQuery struct {
	ErrorResponse
	TotalNumber string   `json:"total_number"`
	CrowdList   []*Crowd `json:"crowd_list"`
}

type MarketingQipanCrowdBatchQueryRsp added in v1.5.106

type MarketingQipanCrowdBatchQueryRsp struct {
	Response     *MarketingQipanCrowdBatchQuery `json:"alipay_merchant_qipan_crowd_batchquery_response"`
	AlipayCertSn string                         `json:"alipay_cert_sn,omitempty"`
	SignData     string                         `json:"-"`
	Sign         string                         `json:"sign"`
}

type MarketingQipanCrowdModify added in v1.5.106

type MarketingQipanCrowdModify struct {
	ErrorResponse
}

type MarketingQipanCrowdModifyRsp added in v1.5.106

type MarketingQipanCrowdModifyRsp struct {
	Response     *MarketingQipanCrowdModify `json:"alipay_merchant_qipan_crowd_modify_response"`
	AlipayCertSn string                     `json:"alipay_cert_sn,omitempty"`
	SignData     string                     `json:"-"`
	Sign         string                     `json:"sign"`
}

type MarketingQipanCrowdOperationCreate added in v1.5.106

type MarketingQipanCrowdOperationCreate struct {
	ErrorResponse
	CrowdCode string `json:"crowd_code"`
}

type MarketingQipanCrowdOperationCreateRsp added in v1.5.106

type MarketingQipanCrowdOperationCreateRsp struct {
	Response     *MarketingQipanCrowdOperationCreate `json:"alipay_marketing_qipan_crowdoperation_create_response"`
	AlipayCertSn string                              `json:"alipay_cert_sn,omitempty"`
	SignData     string                              `json:"-"`
	Sign         string                              `json:"sign"`
}

type MarketingQipanCrowdQuery added in v1.5.106

type MarketingQipanCrowdQuery struct {
	ErrorResponse
	CrowdInfo *CrowdInfo `json:"crowd_info"`
}

type MarketingQipanCrowdQueryRsp added in v1.5.106

type MarketingQipanCrowdQueryRsp struct {
	Response     *MarketingQipanCrowdQuery `json:"alipay_merchant_qipan_crowd_query_response"`
	AlipayCertSn string                    `json:"alipay_cert_sn,omitempty"`
	SignData     string                    `json:"-"`
	Sign         string                    `json:"sign"`
}

type MarketingQipanCrowdTagQuery added in v1.5.106

type MarketingQipanCrowdTagQuery struct {
	ErrorResponse
	SelectTagList []*SelectTag `json:"select_tag_list"`
}

type MarketingQipanCrowdTagQueryRsp added in v1.5.106

type MarketingQipanCrowdTagQueryRsp struct {
	Response     *MarketingQipanCrowdTagQuery `json:"alipay_marketing_qipan_crowdtag_query_response"`
	AlipayCertSn string                       `json:"alipay_cert_sn,omitempty"`
	SignData     string                       `json:"-"`
	Sign         string                       `json:"sign"`
}

type MarketingQipanCrowdWithTagCreate added in v1.5.106

type MarketingQipanCrowdWithTagCreate struct {
	ErrorResponse
	CrowdId string `json:"crowd_id"`
}

type MarketingQipanCrowdWithTagCreateRsp added in v1.5.106

type MarketingQipanCrowdWithTagCreateRsp struct {
	Response     *MarketingQipanCrowdWithTagCreate `json:"alipay_marketing_qipan_crowdwithtag_create_response"`
	AlipayCertSn string                            `json:"alipay_cert_sn,omitempty"`
	SignData     string                            `json:"-"`
	Sign         string                            `json:"sign"`
}

type MarketingQipanCrowdWithTagQuery added in v1.5.106

type MarketingQipanCrowdWithTagQuery struct {
	ErrorResponse
	CountRange string `json:"count_range"`
}

type MarketingQipanCrowdWithTagQueryRsp added in v1.5.106

type MarketingQipanCrowdWithTagQueryRsp struct {
	Response     *MarketingQipanCrowdWithTagQuery `json:"alipay_marketing_qipan_crowdwithtag_query_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type MarketingQipanInsightCityQuery added in v1.5.106

type MarketingQipanInsightCityQuery struct {
	ErrorResponse
	PortraitKey  string  `json:"portrait_key"`
	PortraitName string  `json:"portrait_name"`
	PortraitDesc string  `json:"portrait_desc"`
	Coverage     string  `json:"coverage"`
	ReportDate   string  `json:"report_date"`
	DataList     []*Data `json:"data_list"`
}

type MarketingQipanInsightCityQueryRsp added in v1.5.106

type MarketingQipanInsightCityQueryRsp struct {
	Response     *MarketingQipanInsightCityQuery `json:"alipay_merchant_qipan_insightcity_query_response"`
	AlipayCertSn string                          `json:"alipay_cert_sn,omitempty"`
	SignData     string                          `json:"-"`
	Sign         string                          `json:"sign"`
}

type MarketingQipanInsightQuery added in v1.5.106

type MarketingQipanInsightQuery struct {
	ErrorResponse
	PortraitDataList []*PortraitData `json:"portrait_data_list"`
}

type MarketingQipanInsightQueryRsp added in v1.5.106

type MarketingQipanInsightQueryRsp struct {
	Response     *MarketingQipanInsightQuery `json:"alipay_merchant_qipan_insight_query_response"`
	AlipayCertSn string                      `json:"alipay_cert_sn,omitempty"`
	SignData     string                      `json:"-"`
	Sign         string                      `json:"sign"`
}

type MarketingQipanTagBaseBatchQuery added in v1.5.106

type MarketingQipanTagBaseBatchQuery struct {
	ErrorResponse
	OperationTagList []*OperationTagItem `json:"operation_tag_list"`
}

type MarketingQipanTagBaseBatchQueryRsp added in v1.5.106

type MarketingQipanTagBaseBatchQueryRsp struct {
	Response     *MarketingQipanTagBaseBatchQuery `json:"alipay_marketing_qipan_tagbase_batchquery_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type MarketingQipanTagQuery added in v1.5.106

type MarketingQipanTagQuery struct {
	ErrorResponse
	OperationTag *OperationTag `json:"operation_tag"`
}

type MarketingQipanTagQueryRsp added in v1.5.106

type MarketingQipanTagQueryRsp struct {
	Response     *MarketingQipanTagQuery `json:"alipay_marketing_qipan_tag_query_response"`
	AlipayCertSn string                  `json:"alipay_cert_sn,omitempty"`
	SignData     string                  `json:"-"`
	Sign         string                  `json:"sign"`
}

type MarketingQipanTrendQuery added in v1.5.106

type MarketingQipanTrendQuery struct {
	ErrorResponse
	IndexTrendResults []*IndexTrendResult `json:"index_trend_results"`
}

type MarketingQipanTrendQueryRsp added in v1.5.106

type MarketingQipanTrendQueryRsp struct {
	Response     *MarketingQipanTrendQuery `json:"alipay_merchant_qipan_trend_query_response"`
	AlipayCertSn string                    `json:"alipay_cert_sn,omitempty"`
	SignData     string                    `json:"-"`
	Sign         string                    `json:"sign"`
}

type MccInfo added in v1.5.102

type MccInfo struct {
	MccLevel1           string `json:"mcc_level_1"`
	MccLevel1Name       string `json:"mcc_level_1_name"`
	MccLevel2           string `json:"mcc_level_2"`
	MccLevel2Name       string `json:"mcc_level_2_name"`
	IsSpecial           bool   `json:"is_special"`
	SpecialQualRequired bool   `json:"special_qual_required"`
	MccRequirements     string `json:"mcc_requirements"`
}

type MdcodeInfo added in v1.5.104

type MdcodeInfo struct {
	CodeStatus string `json:"code_status"`
	CodeValue  string `json:"code_value"`
	ExpireTime string `json:"expire_time"`
	TimeStamp  int    `json:"time_stamp"`
}

type MemberDataIsvCreate added in v1.5.51

type MemberDataIsvCreate struct {
	ErrorResponse
}

type MemberDataIsvCreateRsp added in v1.5.51

type MemberDataIsvCreateRsp struct {
	Response     *MemberDataIsvCreate `json:"koubei_member_data_isv_create_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type MerchantInfo added in v1.5.101

type MerchantInfo struct {
	MerchantId     string `json:"merchant_id"`
	MerchantIdType string `json:"merchant_id_type"`
}

type MerchantItemFileUpload added in v1.5.45

type MerchantItemFileUpload struct {
	ErrorResponse
	MaterialId  string `json:"material_id"`  // 文件在商品中心的素材标识(素材ID长期有效)
	MaterialKey string `json:"material_key"` // 文件在商品中心的素材标示,创建/更新商品时使用
}

type MerchantItemFileUploadRsp added in v1.5.45

type MerchantItemFileUploadRsp struct {
	Response     *MerchantItemFileUpload `json:"alipay_merchant_item_file_upload_response"`
	AlipayCertSn string                  `json:"alipay_cert_sn,omitempty"`
	SignData     string                  `json:"-"`
	Sign         string                  `json:"sign"`
}

===================================================

type MerchantQipanCrowdCreate added in v1.5.106

type MerchantQipanCrowdCreate struct {
	ErrorResponse
	CrowdCode string `json:"crowd_code"`
}

type MerchantQipanCrowdCreateRsp added in v1.5.106

type MerchantQipanCrowdCreateRsp struct {
	Response     *MerchantQipanCrowdCreate `json:"alipay_merchant_qipan_crowd_create_response"`
	AlipayCertSn string                    `json:"alipay_cert_sn,omitempty"`
	SignData     string                    `json:"-"`
	Sign         string                    `json:"sign"`
}

type MerchantQipanCrowdUserAdd added in v1.5.106

type MerchantQipanCrowdUserAdd struct {
	ErrorResponse
}

type MerchantQipanCrowdUserAddRsp added in v1.5.106

type MerchantQipanCrowdUserAddRsp struct {
	Response     *MerchantQipanCrowdUserAdd `json:"alipay_merchant_qipan_crowduser_add_response"`
	AlipayCertSn string                     `json:"alipay_cert_sn,omitempty"`
	SignData     string                     `json:"-"`
	Sign         string                     `json:"sign"`
}

type MerchantQipanCrowdUserDelete added in v1.5.106

type MerchantQipanCrowdUserDelete struct {
	ErrorResponse
}

type MerchantQipanCrowdUserDeleteRsp added in v1.5.106

type MerchantQipanCrowdUserDeleteRsp struct {
	Response     *MerchantQipanCrowdUserDelete `json:"alipay_merchant_qipan_crowduser_delete_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

type MiniAppUseGuideInfo added in v1.5.101

type MiniAppUseGuideInfo struct {
	MiniAppUrl          string   `json:"mini_app_url"`
	MiniAppServiceCodes []string `json:"mini_app_service_codes"`
}

type MonitorHeartbeatSynRes added in v1.5.45

type MonitorHeartbeatSynRes struct {
	ErrorResponse
	Pid string `json:"pid"`
}

type MonitorHeartbeatSynResponse

type MonitorHeartbeatSynResponse struct {
	Response     *MonitorHeartbeatSynRes `json:"monitor_heartbeat_syn_response"`
	AlipayCertSn string                  `json:"alipay_cert_sn,omitempty"`
	SignData     string                  `json:"-"`
	Sign         string                  `json:"sign"`
}

===================================================

func MonitorHeartbeatSyn

func MonitorHeartbeatSyn(ctx context.Context, appId string, privateKey, signType, bizContent string) (aliRsp *MonitorHeartbeatSynResponse, err error)

monitor.heartbeat.syn(验签接口) appId:应用ID privateKey:应用私钥,支持PKCS1和PKCS8 signType:签名方式 alipay.RSA 或 alipay.RSA2,默认 RSA2 bizContent:验签时该参数不做任何处理,{任意值},此参数具体看文档 文档:https://opendocs.alipay.com/apis/api_9/monitor.heartbeat.syn

type MultiData added in v1.5.106

type MultiData struct {
	ObjectType string `json:"object_type"`
	ObjectId   string `json:"object_id"`
	ObjectName string `json:"object_name"`
	FeatureKey string `json:"feature_key"`
	UserCnt    string `json:"user_cnt"`
	UserRatio  string `json:"user_ratio"`
	AvgNum     string `json:"avg_num"`
}

type NotifyRequest

type NotifyRequest struct {
	NotifyTime        string                 `json:"notify_time,omitempty"`
	NotifyType        string                 `json:"notify_type,omitempty"`
	NotifyId          string                 `json:"notify_id,omitempty"`
	AppId             string                 `json:"app_id,omitempty"`
	Charset           string                 `json:"charset,omitempty"`
	Version           string                 `json:"version,omitempty"`
	SignType          string                 `json:"sign_type,omitempty"`
	Sign              string                 `json:"sign,omitempty"`
	AuthAppId         string                 `json:"auth_app_id,omitempty"`
	TradeNo           string                 `json:"trade_no,omitempty"`
	OutTradeNo        string                 `json:"out_trade_no,omitempty"`
	OutBizNo          string                 `json:"out_biz_no,omitempty"`
	BuyerId           string                 `json:"buyer_id,omitempty"`
	BuyerLogonId      string                 `json:"buyer_logon_id,omitempty"`
	SellerId          string                 `json:"seller_id,omitempty"`
	SellerEmail       string                 `json:"seller_email,omitempty"`
	TradeStatus       string                 `json:"trade_status,omitempty"`
	TotalAmount       string                 `json:"total_amount,omitempty"`
	ReceiptAmount     string                 `json:"receipt_amount,omitempty"`
	InvoiceAmount     string                 `json:"invoice_amount,omitempty"`
	BuyerPayAmount    string                 `json:"buyer_pay_amount,omitempty"`
	PointAmount       string                 `json:"point_amount,omitempty"`
	RefundFee         string                 `json:"refund_fee,omitempty"`
	Subject           string                 `json:"subject,omitempty"`
	Body              string                 `json:"body,omitempty"`
	GmtCreate         string                 `json:"gmt_create,omitempty"`
	GmtPayment        string                 `json:"gmt_payment,omitempty"`
	GmtRefund         string                 `json:"gmt_refund,omitempty"`
	GmtClose          string                 `json:"gmt_close,omitempty"`
	FundBillList      []*FundBillListInfo    `json:"fund_bill_list,omitempty"`
	PassbackParams    string                 `json:"passback_params,omitempty"`
	VoucherDetailList []*NotifyVoucherDetail `json:"voucher_detail_list,omitempty"`
	Method            string                 `json:"method,omitempty"`    // 电脑网站支付 支付宝请求 return_url 同步返回参数
	Timestamp         string                 `json:"timestamp,omitempty"` // 电脑网站支付 支付宝请求 return_url 同步返回参数
}

func ParseNotifyResult

func ParseNotifyResult(req *http.Request) (notifyReq *NotifyRequest, err error)

Deprecated 推荐使用 ParseNotifyToBodyMap(),以防阿里云通知参数变动,NotifyRequest 无法解析。 解析支付宝支付异步通知的参数到Struct req:*http.Request 返回参数notifyReq:Notify请求的参数 返回参数err:错误信息 文档:https://opendocs.alipay.com/open/203/105286

type NotifyVoucherDetail added in v1.5.100

type NotifyVoucherDetail struct {
	VoucherId                  string              `json:"voucherId,omitempty"`
	TemplateId                 string              `json:"template_id,omitempty"`
	Name                       string              `json:"name,omitempty"`
	Type                       string              `json:"type,omitempty"`
	Amount                     string              `json:"amount,omitempty"`
	MerchantContribute         string              `json:"merchantContribute,omitempty"`
	OtherContribute            string              `json:"otherContribute,omitempty"`
	OtherContributeDetail      []*ContributeDetail `json:"otherContributeDetail,omitempty"`
	Memo                       string              `json:"memo,omitempty"`
	Id                         string              `json:"id,omitempty"`
	PurchaseBuyerContribute    string              `json:"purchase_buyer_contribute,omitempty"`
	PurchaseMerchantContribute string              `json:"purchase_merchant_contribute,omitempty"`
	PurchaseAntContribute      string              `json:"purchase_ant_contribute,omitempty"`
}

type OauthTokenInfo added in v1.5.45

type OauthTokenInfo struct {
	UserId        string `json:"user_id,omitempty"`
	OpenId        string `json:"open_id,omitempty"`
	AlipayUserId  string `json:"alipay_user_id,omitempty"`
	UnionId       string `json:"union_id,omitempty"`
	AccessToken   string `json:"access_token,omitempty"`
	ExpiresIn     int    `json:"expires_in,omitempty"`
	RefreshToken  string `json:"refresh_token,omitempty"`
	ReExpiresIn   int    `json:"re_expires_in,omitempty"`
	AuthStart     string `json:"auth_start,omitempty"`
	AuthTokenType string `json:"auth_token_type,omitempty"`
}

type ObligationConfig added in v1.5.101

type ObligationConfig struct {
	ObligationTemplate         string `json:"obligation_template"`
	ObligationTimes            string `json:"obligation_times"`
	ObligationAmount           int    `json:"obligation_amount"`
	PromiseTypeDesc            string `json:"promise_type_desc"`
	BenefitUrl                 string `json:"benefit_url"`
	TaskProgressRedirectSchema string `json:"task_progress_redirect_schema"`
}

type OcrCommonDetect added in v1.5.102

type OcrCommonDetect struct {
	ErrorResponse
	CertifyId string `json:"certify_id"`
	OcrData   string `json:"ocr_data"`
}

type OcrCommonDetectRsp added in v1.5.102

type OcrCommonDetectRsp struct {
	Response     *OcrCommonDetect `json:"datadigital_fincloud_generalsaas_ocr_common_detect_response"`
	AlipayCertSn string           `json:"alipay_cert_sn,omitempty"`
	SignData     string           `json:"-"`
	Sign         string           `json:"sign"`
}

type OcrMobileInitialize added in v1.5.102

type OcrMobileInitialize struct {
	ErrorResponse
	CertifyId string `json:"certify_id"`
}

type OcrMobileInitializeRsp added in v1.5.102

type OcrMobileInitializeRsp struct {
	Response     *OcrMobileInitialize `json:"datadigital_fincloud_generalsaas_ocr_mobile_initialize_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type OcrServerDetect added in v1.5.102

type OcrServerDetect struct {
	ErrorResponse
	OcrData   string `json:"ocr_data"`
	CertifyId string `json:"certify_id"`
}

type OcrServerDetectRsp added in v1.5.102

type OcrServerDetectRsp struct {
	Response     *OcrServerDetect `json:"datadigital_fincloud_generalsaas_ocr_server_detect_response"`
	AlipayCertSn string           `json:"alipay_cert_sn,omitempty"`
	SignData     string           `json:"-"`
	Sign         string           `json:"sign"`
}

type OfflineMaterialImageUpload added in v1.5.104

type OfflineMaterialImageUpload struct {
	ErrorResponse
	ImageId  string `json:"image_id"`
	ImageUrl string `json:"image_url"`
}

type OfflineMaterialImageUploadRsp added in v1.5.104

type OfflineMaterialImageUploadRsp struct {
	Response     *OfflineMaterialImageUpload `json:"alipay_offline_material_image_upload_response"`
	AlipayCertSn string                      `json:"alipay_cert_sn,omitempty"`
	SignData     string                      `json:"-"`
	Sign         string                      `json:"sign"`
}

type OpenAppApiQuery added in v1.5.89

type OpenAppApiQuery struct {
	ErrorResponse
	Apis []*Apis `json:"apis"`
}

type OpenAppApiQueryResponse added in v1.5.89

type OpenAppApiQueryResponse struct {
	Response     *OpenAppApiQuery `json:"alipay_open_app_api_query_response"`
	AlipayCertSn string           `json:"alipay_cert_sn,omitempty"`
	SignData     string           `json:"-"`
	Sign         string           `json:"sign"`
}

===================================================

type OpenAppQrcodeCreate added in v1.5.45

type OpenAppQrcodeCreate struct {
	ErrorResponse
	QrCodeUrl string `json:"qr_code_url"`
}

type OpenAppQrcodeCreateRsp added in v1.5.45

type OpenAppQrcodeCreateRsp struct {
	Response     *OpenAppQrcodeCreate `json:"alipay_open_app_qrcode_create_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

===================================================

type OpenAuthTokenAppInviteCreate added in v1.5.89

type OpenAuthTokenAppInviteCreate struct {
	ErrorResponse
	TaskPageUrl string `json:"task_page_url,omitempty"`
}

type OpenAuthTokenAppInviteCreateResponse added in v1.5.89

type OpenAuthTokenAppInviteCreateResponse struct {
	Response     *OpenAuthTokenAppInviteCreate `json:"alipay_open_auth_appauth_invite_create_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

===================================================

type OpenAuthTokenAppQueryResponse added in v1.5.88

type OpenAuthTokenAppQueryResponse struct {
	Response     *AuthTokenAppQuery `json:"alipay_open_auth_token_app_query_response"`
	AlipayCertSn string             `json:"alipay_cert_sn,omitempty"`
	SignData     string             `json:"-"`
	Sign         string             `json:"sign"`
}

===================================================

type OpenAuthTokenAppResponse

type OpenAuthTokenAppResponse struct {
	Response     *AuthTokenApp `json:"alipay_open_auth_token_app_response"`
	AlipayCertSn string        `json:"alipay_cert_sn,omitempty"`
	SignData     string        `json:"-"`
	Sign         string        `json:"sign"`
}

===================================================

type OpenConfig added in v1.5.101

type OpenConfig struct {
	FreezeAmount              string `json:"freeze_amount"`
	PeriodMode                string `json:"period_mode"`
	PeriodTime                string `json:"period_time"`
	AppointDate               string `json:"appoint_date"`
	MinSignInterval           string `json:"min_sign_interval"`
	SupportExpireDeferral     bool   `json:"support_expire_deferral"`
	CustomOpenTipList         string `json:"custom_open_tip_list"`
	CardColorScheme           string `json:"card_color_scheme"`
	CustomOpenTips            string `json:"custom_open_tips"`
	ShowSignSuccessPage       bool   `json:"show_sign_success_page"`
	SignSuccessTaskButtonDesc string `json:"sign_success_task_button_desc"`
	SignAgainSchema           string `json:"sign_again_schema"`
	ApplyButtonDesc           string `json:"apply_button_desc"`
}

type Operation added in v1.5.103

type Operation struct {
	SceneCode string    `json:"scene_code"`
	ViewData  *ViewData `json:"view_data"`
}

type OperationOptionItem added in v1.5.106

type OperationOptionItem struct {
	OptionCode     string    `json:"option_code"`
	OptionName     string    `json:"option_name"`
	OptionDataType string    `json:"option_data_type"`
	OptionList     []*Option `json:"option_list"`
}

type OperationTag added in v1.5.106

type OperationTag struct {
	TagCode             string                 `json:"tag_code"`
	TagName             string                 `json:"tag_name"`
	TagDesc             string                 `json:"tag_desc"`
	OperationOptionList []*OperationOptionItem `json:"operation_option_list"`
}

type OperationTagItem added in v1.5.106

type OperationTagItem struct {
	TagCode string `json:"tag_code"`
	TagName string `json:"tag_name"`
	TagDesc string `json:"tag_desc"`
}

type Option added in v1.5.106

type Option struct {
	Id          int    `json:"id"`
	Value       string `json:"value"`
	Text        string `json:"text"`
	Desc        string `json:"desc"`
	ParentId    string `json:"parent_id"`
	ParentValue string `json:"parent_value"`
}

type PKCSType

type PKCSType uint8

type PaidOuterCardInfo added in v1.5.104

type PaidOuterCardInfo struct {
	Action       string        `json:"action"`
	PurchaseInfo *PurchaseInfo `json:"purchase_info"`
	CycleInfo    *CycleInfo    `json:"cycle_info"`
}

type PayAppMarketingConsult added in v1.5.103

type PayAppMarketingConsult struct {
	ErrorResponse
	PreConsultId       string         `json:"pre_consult_id"`
	ChannelInfoList    []*ChannelInfo `json:"channel_info_list"`
	ConfusedCipherList []string       `json:"confused_cipher_list"`
	BlindSignature     string         `json:"blind_signature"`
}

type PayAppMarketingConsultRsp added in v1.5.103

type PayAppMarketingConsultRsp struct {
	Response     *PayAppMarketingConsult `json:"alipay_pay_app_marketing_consult_response"`
	AlipayCertSn string                  `json:"alipay_cert_sn,omitempty"`
	SignData     string                  `json:"-"`
	Sign         string                  `json:"sign"`
}

type PaymentTradeOrderCreate added in v1.5.52

type PaymentTradeOrderCreate struct {
	ErrorResponse
}

type PaymentTradeOrderCreateRsp added in v1.5.52

type PaymentTradeOrderCreateRsp struct {
	Response     *PaymentTradeOrderCreate `json:"mybank_payment_trade_order_create_response"`
	AlipayCertSn string                   `json:"alipay_cert_sn,omitempty"`
	SignData     string                   `json:"-"`
	Sign         string                   `json:"sign"`
}

type PcreditHuabeiAuthSettleApply added in v1.5.52

type PcreditHuabeiAuthSettleApply struct {
	ErrorResponse
	OutRequestNo string `json:"out_request_no"`
	FailReason   string `json:"fail_reason,omitempty"`
}

type PcreditHuabeiAuthSettleApplyRsp added in v1.5.52

type PcreditHuabeiAuthSettleApplyRsp struct {
	Response     *PcreditHuabeiAuthSettleApply `json:"alipay_pcredit_huabei_auth_settle_apply_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

type PortraitData added in v1.5.106

type PortraitData struct {
	PortraitKey  string      `json:"portrait_key"`
	PortraitName string      `json:"portrait_name"`
	PortraitDesc string      `json:"portrait_desc"`
	Coverage     string      `json:"coverage"`
	ReportDate   string      `json:"report_date"`
	DataList     []*DataItem `json:"data_list"`
}

type PublicCertDownload added in v1.5.45

type PublicCertDownload struct {
	ErrorResponse
	AlipayCertContent string `json:"alipay_cert_content"`
}

type PublicCertDownloadRsp added in v1.5.45

type PublicCertDownloadRsp struct {
	Response *PublicCertDownload `json:"alipay_open_app_alipaycert_download_response"`
}

===================================================

type PurchaseInfo added in v1.5.104

type PurchaseInfo struct {
	Source        string `json:"source"`
	Price         string `json:"price"`
	ActionDate    string `json:"action_date"`
	OutTradeNo    string `json:"out_trade_no"`
	AlipayTradeNo string `json:"alipay_trade_no"`
}

type QuitConfig added in v1.5.101

type QuitConfig struct {
	QuitType    string `json:"quit_type"`
	QuitJumpUrl string `json:"quit_jump_url"`
	QuitDesc    string `json:"quit_desc"`
}

type Receiver added in v1.5.83

type Receiver struct {
	Type          string `json:"type,omitempty"`
	Account       string `json:"account,omitempty"`
	AccountOpenId string `json:"account_open_id,omitempty"`
	Memo          string `json:"memo,omitempty"`
	LoginName     string `json:"login_name,omitempty"`
	BindLoginName string `json:"bind_login_name,omitempty"`
}

type RefundPresetPaytool added in v1.5.45

type RefundPresetPaytool struct {
	Amount         []string `json:"amount,omitempty"`
	AssertTypeCode string   `json:"assert_type_code,omitempty"`
}

type RefundRoyalty added in v1.5.45

type RefundRoyalty struct {
	RefundAmount  string `json:"refund_amount,omitempty"`
	RoyaltyType   string `json:"royalty_type,omitempty"`
	ResultCode    string `json:"result_code,omitempty"`
	TransOut      string `json:"trans_out,omitempty"`
	TransOutEmail string `json:"trans_out_email,omitempty"`
	TransIn       string `json:"trans_in,omitempty"`
	TransInEmail  string `json:"trans_in_email,omitempty"`
}

type RelativePeriodInfo added in v1.5.101

type RelativePeriodInfo struct {
	WaitDaysAfterReceive  int               `json:"wait_days_after_receive"`
	ValidDaysAfterReceive int               `json:"valid_days_after_receive"`
	TimeRestrictInfo      *TimeRestrictInfo `json:"time_restrict_info"`
}

type RightConfig added in v1.5.101

type RightConfig struct {
	CustomBenefitDesc                    string `json:"custom_benefit_desc"`
	CustomSubBenefitDesc                 string `json:"custom_sub_benefit_desc"`
	CumulativePreferentialRedirectSchema string `json:"cumulative_preferential_redirect_schema"`
}

type RoyaltyDetail added in v1.5.83

type RoyaltyDetail struct {
	OperationType  string `json:"operation_type"`
	ExecuteDt      string `json:"execute_dt"`
	TransOut       string `json:"trans_out"`
	TransOutType   string `json:"trans_out_type"`
	TransOutOpenId string `json:"trans_out_open_id"`
	TransIn        string `json:"trans_in"`
	TransInType    string `json:"trans_in_type"`
	TransInOpenId  string `json:"trans_in_open_id"`
	Amount         string `json:"amount"`
	State          string `json:"state"`
	DetailId       string `json:"detail_id"`
	ErrorCode      string `json:"error_code"`
	ErrorDesc      string `json:"error_desc"`
}

type RoyaltyDetailInfoPojo added in v1.5.56

type RoyaltyDetailInfoPojo struct {
	RoyaltyType  string `json:"royalty_type,omitempty"`
	TransOut     string `json:"trans_out,omitempty"`
	TransOutType string `json:"trans_out_type,omitempty"`
	TransInType  string `json:"trans_in_type,omitempty"`
	TransIn      string `json:"trans_in"`
	Amount       string `json:"amount,omitempty"`
	Desc         string `json:"desc,omitempty"`
}

type ScoreGet added in v1.5.45

type ScoreGet struct {
	ErrorResponse
	BizNo   string `json:"biz_no,omitempty"`
	ZmScore string `json:"zm_score,omitempty"`
}

type SecurityCustomerRiskSend added in v1.5.101

type SecurityCustomerRiskSend struct {
	ErrorResponse
}

type SecurityCustomerRiskSendRsp added in v1.5.101

type SecurityCustomerRiskSendRsp struct {
	Response     *SecurityCustomerRiskSend `json:"alipay_security_risk_customerrisk_send_response"`
	AlipayCertSn string                    `json:"alipay_cert_sn,omitempty"`
	SignData     string                    `json:"-"`
	Sign         string                    `json:"sign"`
}

type SelectTag added in v1.5.106

type SelectTag struct {
	TagId                 int                  `json:"tag_id"`
	TagName               string               `json:"tag_name"`
	CategoryTagOptionList []*CategoryTagOption `json:"category_tag_option_list"`
}

type SettlementConfig added in v1.5.101

type SettlementConfig struct {
	SettlementType                   string                   `json:"settlement_type"`
	CustomFeeName                    string                   `json:"custom_fee_name"`
	CycleFlexWithholdConfig          *CycleFlexWithholdConfig `json:"cycle_flex_withhold_config"`
	FulfilltimesCustomSettlementPlan string                   `json:"fulfilltimes_custom_settlement_plan"`
	ExpStopTimeMode                  string                   `json:"exp_stop_time_mode"`
	ExpStopTime                      string                   `json:"exp_stop_time"`
	ExpStopDelayDays                 int                      `json:"exp_stop_delay_days"`
	CycleWithholdConfig              *CycleWithholdConfig     `json:"cycle_withhold_config"`
}

type ShopInfo added in v1.5.101

type ShopInfo struct {
	ShopId    string `json:"shop_id"`
	ShopType  string `json:"shop_type"`
	ShopName  string `json:"shop_name"`
	Longitude string `json:"longitude"`
	Latitude  string `json:"latitude"`
}

type SpecialVoucherInfo added in v1.5.101

type SpecialVoucherInfo struct {
	SpecialAmount string `json:"special_amount"`
	FloorAmount   string `json:"floor_amount"`
}

type SubFee added in v1.5.97

type SubFee struct {
	ChargeFee         string `json:"charge_fee,omitempty"`
	OriginalChargeFee string `json:"original_charge_fee,omitempty"`
	SwitchFeeRate     string `json:"switch_fee_rate,omitempty"`
}

type SystemOauthTokenResponse

type SystemOauthTokenResponse struct {
	Response      *OauthTokenInfo `json:"alipay_system_oauth_token_response"`
	ErrorResponse *ErrorResponse  `json:"error_response,omitempty"`
	AlipayCertSn  string          `json:"alipay_cert_sn,omitempty"`
	SignData      string          `json:"-"`
	Sign          string          `json:"sign"`
}

func SystemOauthToken

func SystemOauthToken(ctx context.Context, appId string, privateKey, grantType, codeOrToken, signType string, appAuthToken ...string) (rsp *SystemOauthTokenResponse, err error)

SystemOauthToken 换取授权访问令牌(默认使用utf-8,RSA2) appId:应用ID privateKey:应用私钥 grantType:值为 authorization_code 时,代表用code换取;值为 refresh_token 时,代表用refresh_token换取,传空默认code换取 codeOrToken:支付宝授权码或refresh_token signType:签名方式 RSA 或 RSA2,默认 RSA2 appAuthToken:可选参数,三方授权令牌 文档:https://opendocs.alipay.com/apis/api_9/alipay.system.oauth.token

type TagOption added in v1.5.106

type TagOption struct {
	Text     string      `json:"text"`
	Value    string      `json:"value"`
	Children []*Children `json:"children"`
}

type TemplateFormConfig added in v1.5.104

type TemplateFormConfig struct {
	Fields            *Fields `json:"fields"`
	OpenCardMiniAppId string  `json:"open_card_mini_app_id"`
}

type TemplateStyleInfo added in v1.5.104

type TemplateStyleInfo struct {
	CardShowName string `json:"card_show_name"`
	LogoId       string `json:"logo_id"`
	BackgroundId string `json:"background_id"`
	BrandName    string `json:"brand_name"`
}

type TicketTransInfo added in v1.5.56

type TicketTransInfo struct {
	TicketTransID   string `json:"ticket_trans_id"`
	TicketTransType string `json:"ticket_trans_type"`
	CreateTime      string `json:"create_time"`
	LastModifyTime  string `json:"last_modify_time"`
	Quantity        string `json:"quantity"`
}

type TimeRangeInfo added in v1.5.101

type TimeRangeInfo struct {
	BeginTime   string       `json:"begin_time"`
	EndTimeInfo *EndTimeInfo `json:"end_time_info"`
}

type TimeRestrictInfo added in v1.5.101

type TimeRestrictInfo struct {
	UsablePeriodInfo  []*UsablePeriodInfoItem  `json:"usable_period_info"`
	DisablePeriodInfo []*DisablePeriodInfoItem `json:"disable_period_info"`
}

type Token added in v1.5.45

type Token struct {
	AuthAppId       string `json:"auth_app_id,omitempty"`
	AppAuthToken    string `json:"app_auth_token,omitempty"`
	ExpiresIn       int    `json:"expires_in,omitempty"`
	AppRefreshToken string `json:"app_refresh_token,omitempty"`
	ReExpiresIn     int    `json:"re_expires_in,omitempty"`
	UserId          string `json:"user_id,omitempty"`
}

type TradeAdvanceConsult added in v1.5.45

type TradeAdvanceConsult struct {
	ErrorResponse
	ReferResult             bool                      `json:"refer_result"`
	WaitRepaymentOrderInfos []*WaitRepaymentOrderInfo `json:"wait_repayment_order_infos,omitempty"`
	WaitRepaymentAmount     string                    `json:"wait_repayment_amount,omitempty"`
	WaitRepaymentOrderCount string                    `json:"wait_repayment_order_count,omitempty"`
	RiskLevel               string                    `json:"risk_level,omitempty"`
	ResultMessage           string                    `json:"result_message"`
	ResultCode              string                    `json:"result_code"`
}

type TradeAdvanceConsultRsp added in v1.5.45

type TradeAdvanceConsultRsp struct {
	Response     *TradeAdvanceConsult `json:"alipay_trade_advance_consult_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type TradeCancel added in v1.5.45

type TradeCancel struct {
	ErrorResponse
	TradeNo            string `json:"trade_no,omitempty"`
	OutTradeNo         string `json:"out_trade_no,omitempty"`
	RetryFlag          string `json:"retry_flag,omitempty"`
	Action             string `json:"action,omitempty"`
	GmtRefundPay       string `json:"gmt_refund_pay,omitempty"`
	RefundSettlementId string `json:"refund_settlement_id,omitempty"`
}

type TradeCancelResponse

type TradeCancelResponse struct {
	Response     *TradeCancel `json:"alipay_trade_cancel_response"`
	AlipayCertSn string       `json:"alipay_cert_sn,omitempty"`
	SignData     string       `json:"-"`
	Sign         string       `json:"sign"`
}

type TradeClose added in v1.5.45

type TradeClose struct {
	ErrorResponse
	TradeNo    string `json:"trade_no,omitempty"`
	OutTradeNo string `json:"out_trade_no,omitempty"`
}

type TradeCloseResponse

type TradeCloseResponse struct {
	Response     *TradeClose `json:"alipay_trade_close_response"`
	AlipayCertSn string      `json:"alipay_cert_sn,omitempty"`
	SignData     string      `json:"-"`
	Sign         string      `json:"sign"`
}

type TradeCreate added in v1.5.45

type TradeCreate struct {
	ErrorResponse
	TradeNo    string `json:"trade_no"`
	OutTradeNo string `json:"out_trade_no"`
}

type TradeCreateResponse

type TradeCreateResponse struct {
	Response     *TradeCreate `json:"alipay_trade_create_response"`
	AlipayCertSn string       `json:"alipay_cert_sn,omitempty"`
	SignData     string       `json:"-"`
	Sign         string       `json:"sign"`
}

type TradeCustomsDeclare added in v1.5.49

type TradeCustomsDeclare struct {
	ErrorResponse
	TradeNo          string `json:"trade_no,omitempty"`
	AlipayDeclareNo  string `json:"alipay_declare_no"`
	PayCode          string `json:"pay_code,omitempty"`
	PayTransactionId string `json:"pay_transaction_id,omitempty"`
	TotalAmount      string `json:"total_amount,omitempty"`
	Currency         string `json:"currency,omitempty"`
	VerDept          string `json:"ver_dept,omitempty"`
	IdentityCheck    string `json:"identity_check,omitempty"`
}

type TradeCustomsDeclareRsp added in v1.5.49

type TradeCustomsDeclareRsp struct {
	Response     *TradeCustomsDeclare `json:"alipay_trade_customs_declare_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type TradeFastpayRefundQueryResponse

type TradeFastpayRefundQueryResponse struct {
	Response     *TradeRefundQuery `json:"alipay_trade_fastpay_refund_query_response"`
	AlipayCertSn string            `json:"alipay_cert_sn,omitempty"`
	SignData     string            `json:"-"`
	Sign         string            `json:"sign"`
}

type TradeFundBill

type TradeFundBill struct {
	FundChannel string `json:"fund_channel,omitempty"` // 同步通知里是 fund_channel
	Amount      string `json:"amount,omitempty"`
	RealAmount  string `json:"real_amount,omitempty"`
	FundType    string `json:"fund_type,omitempty"`
}

type TradeItemorderBuy added in v1.5.52

type TradeItemorderBuy struct {
	ErrorResponse
	OrderNo        string `json:"order_no"`
	TradeNo        string `json:"trade_no"`
	CashierOrderId string `json:"cashier_order_id,omitempty"`
}

type TradeOrderInfoSync added in v1.5.45

type TradeOrderInfoSync struct {
	ErrorResponse
	TradeNo     string `json:"trade_no"`
	OutTradeNo  string `json:"out_trade_no"`
	BuyerUserId string `json:"buyer_user_id"`
	BuyerOpenId string `json:"buyer_open_id,omitempty"`
}

type TradeOrderInfoSyncRsp added in v1.5.45

type TradeOrderInfoSyncRsp struct {
	Response     *TradeOrderInfoSync `json:"alipay_trade_orderinfo_sync_response"`
	AlipayCertSn string              `json:"alipay_cert_sn,omitempty"`
	SignData     string              `json:"-"`
	Sign         string              `json:"sign"`
}

type TradeOrderOnSettleQuery added in v1.5.97

type TradeOrderOnSettleQuery struct {
	ErrorResponse
	UnsettledAmount string `json:"unsettled_amount,omitempty"`
}

type TradeOrderOnSettleQueryResponse added in v1.5.97

type TradeOrderOnSettleQueryResponse struct {
	Response     *TradeOrderOnSettleQuery `json:"alipay_trade_order_onsettle_query_response"`
	AlipayCertSn string                   `json:"alipay_cert_sn,omitempty"`
	SignData     string                   `json:"-"`
	Sign         string                   `json:"sign"`
}

type TradeOrderPay added in v1.5.101

type TradeOrderPay struct {
	ErrorResponse
	TradeNo           string `json:"trade_no"`
	OutTradeNo        string `json:"out_trade_no"`
	FulfillmentAmount string `json:"fulfillment_amount"`
	OutRequestNo      string `json:"out_request_no"`
	TotalAmount       string `json:"total_amount"`
	GmtPayment        string `json:"gmt_payment"`
	AsyncPaymentMode  string `json:"async_payment_mode"`
}

type TradeOrderPayResponse added in v1.5.101

type TradeOrderPayResponse struct {
	Response     *TradeOrderPay `json:"alipay_trade_order_pay_response"`
	AlipayCertSn string         `json:"alipay_cert_sn,omitempty"`
	SignData     string         `json:"-"`
	Sign         string         `json:"sign"`
}

type TradeOrderSettle added in v1.5.45

type TradeOrderSettle struct {
	ErrorResponse
	TradeNo  string `json:"trade_no,omitempty"`
	SettleNo string `json:"settle_no,omitempty"`
}

type TradeOrderSettleQuery added in v1.5.83

type TradeOrderSettleQuery struct {
	ErrorResponse
	OutTradeNo        string           `json:"out_request_no"`
	OperationDt       string           `json:"operation_dt"`
	RoyaltyDetailList []*RoyaltyDetail `json:"royalty_detail_list"`
}

type TradeOrderSettleQueryResponse added in v1.5.83

type TradeOrderSettleQueryResponse struct {
	Response     *TradeOrderSettleQuery `json:"alipay_trade_order_settle_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type TradeOrderSettleResponse

type TradeOrderSettleResponse struct {
	Response     *TradeOrderSettle `json:"alipay_trade_order_settle_response"`
	AlipayCertSn string            `json:"alipay_cert_sn,omitempty"`
	SignData     string            `json:"-"`
	Sign         string            `json:"sign"`
}

type TradePageRefund added in v1.5.45

type TradePageRefund struct {
	ErrorResponse
	TradeNo      string `json:"trade_no,omitempty"`
	OutTradeNo   string `json:"out_trade_no,omitempty"`
	OutRequestNo string `json:"out_request_no,omitempty"`
	RefundAmount string `json:"refund_amount,omitempty"`
}

type TradePageRefundResponse

type TradePageRefundResponse struct {
	Response     *TradePageRefund `json:"alipay_trade_page_refund_response"`
	AlipayCertSn string           `json:"alipay_cert_sn,omitempty"`
	SignData     string           `json:"-"`
	Sign         string           `json:"sign"`
}

type TradePay added in v1.5.45

type TradePay struct {
	ErrorResponse
	TradeNo             string           `json:"trade_no,omitempty"`
	OutTradeNo          string           `json:"out_trade_no,omitempty"`
	BuyerLogonId        string           `json:"buyer_logon_id,omitempty"`
	TotalAmount         string           `json:"total_amount,omitempty"`
	ReceiptAmount       string           `json:"receipt_amount,omitempty"`
	BuyerPayAmount      string           `json:"buyer_pay_amount,omitempty"`
	PointAmount         string           `json:"point_amount,omitempty"`
	InvoiceAmount       string           `json:"invoice_amount,omitempty"`
	FundBillList        []*TradeFundBill `json:"fund_bill_list"`
	StoreName           string           `json:"store_name,omitempty"`
	BuyerUserId         string           `json:"buyer_user_id,omitempty"`
	BuyerOpenId         string           `json:"buyer_open_id,omitempty"`
	DiscountGoodsDetail string           `json:"discount_goods_detail,omitempty"`
	AsyncPaymentMode    string           `json:"async_payment_mode,omitempty"`
	VoucherDetailList   []*VoucherDetail `json:"voucher_detail_list"`
	AdvanceAmount       string           `json:"advance_amount,omitempty"`
	AuthTradePayMode    string           `json:"auth_trade_pay_mode,omitempty"`
	MdiscountAmount     string           `json:"mdiscount_amount,omitempty"`
	DiscountAmount      string           `json:"discount_amount,omitempty"`
	CreditPayMode       string           `json:"credit_pay_mode"`
	CreditBizOrderId    string           `json:"credit_biz_order_id"`
}

type TradePayResponse

type TradePayResponse struct {
	Response     *TradePay `json:"alipay_trade_pay_response"`
	AlipayCertSn string    `json:"alipay_cert_sn,omitempty"`
	SignData     string    `json:"-"`
	Sign         string    `json:"sign"`
}

type TradePrecreate added in v1.5.45

type TradePrecreate struct {
	ErrorResponse
	OutTradeNo string `json:"out_trade_no,omitempty"`
	QrCode     string `json:"qr_code,omitempty"`
}

type TradePrecreateResponse

type TradePrecreateResponse struct {
	Response     *TradePrecreate `json:"alipay_trade_precreate_response"`
	NullResponse *ErrorResponse  `json:"null_response,omitempty"`
	AlipayCertSn string          `json:"alipay_cert_sn,omitempty"`
	SignData     string          `json:"-"`
	Sign         string          `json:"sign"`
}

type TradeQuery added in v1.5.45

type TradeQuery struct {
	ErrorResponse
	TradeNo               string           `json:"trade_no,omitempty"`
	OutTradeNo            string           `json:"out_trade_no,omitempty"`
	BuyerLogonId          string           `json:"buyer_logon_id,omitempty"`
	TradeStatus           string           `json:"trade_status,omitempty"`
	TotalAmount           string           `json:"total_amount,omitempty"`
	TransCurrency         string           `json:"trans_currency,omitempty"`
	SettleCurrency        string           `json:"settle_currency,omitempty"`
	SettleAmount          string           `json:"settle_amount,omitempty"`
	PayCurrency           string           `json:"pay_currency,omitempty"`
	PayAmount             string           `json:"pay_amount,omitempty"`
	SettleTransRate       string           `json:"settle_trans_rate,omitempty"`
	TransPayRate          string           `json:"trans_pay_rate,omitempty"`
	BuyerPayAmount        string           `json:"buyer_pay_amount,omitempty"`
	PointAmount           string           `json:"point_amount,omitempty"`
	InvoiceAmount         string           `json:"invoice_amount,omitempty"`
	SendPayDate           string           `json:"send_pay_date,omitempty"`
	ReceiptAmount         string           `json:"receipt_amount,omitempty"`
	StoreId               string           `json:"store_id,omitempty"`
	TerminalId            string           `json:"terminal_id,omitempty"`
	FundBillList          []*TradeFundBill `json:"fund_bill_list"`
	StoreName             string           `json:"store_name,omitempty"`
	BuyerUserId           string           `json:"buyer_user_id,omitempty"`
	BuyerOpenId           string           `json:"buyer_open_id,omitempty"`
	DiscountGoodsDetail   string           `json:"discount_goods_detail,omitempty"`
	IndustrySepcDetail    string           `json:"industry_sepc_detail,omitempty"`
	IndustrySepcDetailGov string           `json:"industry_sepc_detail_gov,omitempty"`
	IndustrySepcDetailAcc string           `json:"industry_sepc_detail_acc,omitempty"`
	ChargeAmount          string           `json:"charge_amount,omitempty"`
	ChargeFlags           string           `json:"charge_flags,omitempty"`
	SettlementId          string           `json:"settlement_id,omitempty"`
	TradeSettleInfo       *TradeSettleInfo `json:"trade_settle_info,omitempty"`
	AuthTradePayMode      string           `json:"auth_trade_pay_mode,omitempty"`
	BuyerUserType         string           `json:"buyer_user_type,omitempty"`
	MdiscountAmount       string           `json:"mdiscount_amount,omitempty"`
	DiscountAmount        string           `json:"discount_amount,omitempty"`
	Subject               string           `json:"subject,omitempty"`
	Body                  string           `json:"body,omitempty"`
	AlipaySubMerchantId   string           `json:"alipay_sub_merchant_id,omitempty"`
	ExtInfos              string           `json:"ext_infos,omitempty"`
	PassbackParams        string           `json:"passback_params,omitempty"`
	HbFqPayInfo           *HbFqPayInfo     `json:"hb_fq_pay_info,omitempty"`
	CreditPayMode         string           `json:"credit_pay_mode,omitempty"`
	CreditBizOrderId      string           `json:"credit_biz_order_id,omitempty"`
	HybAmount             string           `json:"hyb_amount,omitempty"`
	BkagentRespInfo       *BkAgentRespInfo `json:"bkagent_resp_info,omitempty"`
	ChargeInfoList        []*ChargeInfo    `json:"charge_info_list,omitempty"`
	BizSettleMode         string           `json:"biz_settle_mode,omitempty"`
}

type TradeQueryResponse

type TradeQueryResponse struct {
	Response     *TradeQuery `json:"alipay_trade_query_response"`
	AlipayCertSn string      `json:"alipay_cert_sn,omitempty"`
	SignData     string      `json:"-"`
	Sign         string      `json:"sign"`
}

type TradeRefund added in v1.5.45

type TradeRefund struct {
	ErrorResponse
	TradeNo                      string                 `json:"trade_no,omitempty"`
	OutTradeNo                   string                 `json:"out_trade_no,omitempty"`
	BuyerLogonId                 string                 `json:"buyer_logon_id,omitempty"`
	FundChange                   string                 `json:"fund_change,omitempty"`
	RefundFee                    string                 `json:"refund_fee,omitempty"`
	RefundDetailItemList         []*TradeFundBill       `json:"refund_detail_item_list,omitempty"`
	StoreName                    string                 `json:"store_name,omitempty"`
	BuyerUserId                  string                 `json:"buyer_user_id,omitempty"`
	BuyerOpenId                  string                 `json:"buyer_open_id,omitempty"`
	SendBackFee                  string                 `json:"send_back_fee,omitempty"`
	OpenId                       string                 `json:"open_id,omitempty"`
	RefundCurrency               string                 `json:"refund_currency,omitempty"`
	GmtRefundPay                 string                 `json:"gmt_refund_pay,omitempty"`
	RefundPresetPaytoolList      []*RefundPresetPaytool `json:"refund_preset_paytool_list,omitempty"`
	RefundChargeAmount           string                 `json:"refund_charge_amount,omitempty"`
	RefundSettlementId           string                 `json:"refund_settlement_id,omitempty"`
	PresentRefundBuyerAmount     string                 `json:"present_refund_buyer_amount,omitempty"`
	PresentRefundDiscountAmount  string                 `json:"present_refund_discount_amount,omitempty"`
	PresentRefundMdiscountAmount string                 `json:"present_refund_mdiscount_amount,omitempty"`
	HasDepositBack               string                 `json:"has_deposit_back,omitempty"`
	RefundHybAmount              string                 `json:"refund_hyb_amount,omitempty"`
}

type TradeRefundQuery added in v1.5.45

type TradeRefundQuery struct {
	ErrorResponse
	TradeNo              string           `json:"trade_no,omitempty"`
	OutTradeNo           string           `json:"out_trade_no,omitempty"`
	OutRequestNo         string           `json:"out_request_no,omitempty"`
	RefundReason         string           `json:"refund_reason,omitempty"`
	TotalAmount          string           `json:"total_amount,omitempty"`
	RefundAmount         string           `json:"refund_amount,omitempty"`
	RefundStatus         string           `json:"refund_status,omitempty"`
	RefundRoyaltys       []*RefundRoyalty `json:"refund_royaltys,omitempty"`
	GmtRefundPay         string           `json:"gmt_refund_pay,omitempty"`
	RefundDetailItemList []*TradeFundBill `json:"refund_detail_item_list,omitempty"`
	SendBackFee          string           `json:"send_back_fee,omitempty"`
	DepositBackInfo      *DepositBackInfo `json:"deposit_back_info,omitempty"`
}

type TradeRefundResponse

type TradeRefundResponse struct {
	Response     *TradeRefund `json:"alipay_trade_refund_response"`
	AlipayCertSn string       `json:"alipay_cert_sn,omitempty"`
	SignData     string       `json:"-"`
	Sign         string       `json:"sign"`
}

type TradeRelationBatchQuery added in v1.5.83

type TradeRelationBatchQuery struct {
	ErrorResponse
	ResultCode      string      `json:"result_code"`
	ReceiverList    []*Receiver `json:"receiver_list"`
	TotalPageNum    int         `json:"total_page_num"`
	TotalRecordNum  int         `json:"total_record_num"`
	CurrentPageNum  int         `json:"current_page_num"`
	CurrentPageSize int         `json:"current_page_size"`
}

type TradeRelationBatchQueryResponse added in v1.5.83

type TradeRelationBatchQueryResponse struct {
	Response     *TradeRelationBatchQuery `json:"alipay_trade_order_settle_response"`
	AlipayCertSn string                   `json:"alipay_cert_sn,omitempty"`
	SignData     string                   `json:"-"`
	Sign         string                   `json:"sign"`
}

type TradeRelationBind added in v1.5.83

type TradeRelationBind struct {
	ErrorResponse
	ResultCode string `json:"result_code"`
}

type TradeRelationBindResponse added in v1.5.83

type TradeRelationBindResponse struct {
	Response     *TradeRelationBind `json:"alipay_trade_royalty_relation_bind_response"`
	AlipayCertSn string             `json:"alipay_cert_sn,omitempty"`
	SignData     string             `json:"-"`
	Sign         string             `json:"sign"`
}

type TradeRelationUnbindResponse added in v1.5.83

type TradeRelationUnbindResponse struct {
	Response     *TradeRelationBind `json:"alipay_trade_royalty_relation_unbind_response"`
	AlipayCertSn string             `json:"alipay_cert_sn,omitempty"`
	SignData     string             `json:"-"`
	Sign         string             `json:"sign"`
}

type TradeRepaybillQuery added in v1.5.59

type TradeRepaybillQuery struct {
	ErrorResponse
	BillNo                string `json:"bill_no"`
	BillAmount            string `json:"bill_amount"`
	BillOverdueAmount     string `json:"bill_overdue_amount"`
	BillPaidAmount        string `json:"bill_paid_amount"`
	BillPaidRevokedAmount string `json:"bill_paid_revoked_amount"`
	BillRevokedAmount     string `json:"bill_revoked_amount"`
	BillStatus            string `json:"bill_status"`
}

type TradeRepaybillQueryRsp added in v1.5.59

type TradeRepaybillQueryRsp struct {
	Response     *TradeRepaybillQuery `json:"alipay_trade_repaybill_query_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type TradeRoyaltyRateQuery added in v1.5.97

type TradeRoyaltyRateQuery struct {
	ErrorResponse
	UserId   string `json:"user_id,omitempty"`
	MaxRatio string `json:"max_ratio,omitempty"`
}

type TradeRoyaltyRateQueryResponse added in v1.5.97

type TradeRoyaltyRateQueryResponse struct {
	Response     *TradeRoyaltyRateQuery `json:"alipay_trade_royalty_rate_query_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type TradeSettleConfirmResponse added in v1.5.94

type TradeSettleConfirmResponse struct {
	Response     *TradeOrderSettle `json:"alipay_trade_settle_confirm_response"`
	AlipayCertSn string            `json:"alipay_cert_sn,omitempty"`
	SignData     string            `json:"-"`
	Sign         string            `json:"sign"`
}

type TradeSettleDetail added in v1.5.58

type TradeSettleDetail struct {
	OperationType     string `json:"operation_type,omitempty"`
	OperationSerialNo string `json:"operation_serial_no,omitempty"`
	OperationDt       string `json:"operation_dt,omitempty"`
	TransOut          string `json:"trans_out,omitempty"`
	TransIn           string `json:"trans_in,omitempty"`
	Amount            string `json:"amount,omitempty"`
	OriTransOut       string `json:"ori_trans_out,omitempty"`
	OriTransIn        string `json:"ori_trans_in,omitempty"`
}

type TradeSettleInfo added in v1.5.58

type TradeSettleInfo struct {
	//trade_unsettled_amount|剩余待结算金额
	TradeUnsettledAmount  string               `json:"trade_unsettled_amount,omitempty"`
	TradeSettleDetailList []*TradeSettleDetail `json:"trade_settle_detail_list,omitempty"`
}

type TransUniTransfer added in v1.5.45

type TransUniTransfer struct {
	ErrorResponse
	OutBizNo       string `json:"out_biz_no,omitempty"`
	OrderId        string `json:"order_id,omitempty"`
	PayFundOrderId string `json:"pay_fund_order_id,omitempty"`
	Status         string `json:"status,omitempty"`
	TransDate      string `json:"trans_date,omitempty"`
}

type UidTelPair added in v1.5.101

type UidTelPair struct {
	UserId string `json:"user_id"`
	OpenId string `json:"open_id"`
}

type UsablePeriodInfoItem added in v1.5.101

type UsablePeriodInfoItem struct {
	RuleType     string        `json:"rule_type"`
	WeekRuleInfo *WeekRuleInfo `json:"week_rule_info"`
}

type UserAgreementExecutionplanModify added in v1.5.51

type UserAgreementExecutionplanModify struct {
	ErrorResponse
	AgreementNo string `json:"agreement_no"`
	DeductTime  string `json:"deduct_time"`
}

type UserAgreementExecutionplanModifyRsp added in v1.5.51

type UserAgreementExecutionplanModifyRsp struct {
	Response     *UserAgreementExecutionplanModify `json:"alipay_user_agreement_executionplan_modify_response"`
	AlipayCertSn string                            `json:"alipay_cert_sn,omitempty"`
	SignData     string                            `json:"-"`
	Sign         string                            `json:"sign"`
}

type UserAgreementPageSign added in v1.5.45

type UserAgreementPageSign struct {
	ErrorResponse
	ExternalAgreementNo string `json:"external_agreement_no,omitempty"`
	PersonalProductCode string `json:"personal_product_code"`
	ValidTime           string `json:"valid_time"`
	SignScene           string `json:"sign_scene"`
	AgreementNo         string `json:"agreement_no"`
	ZmOpenId            string `json:"zm_open_id,omitempty"`
	InvalidTime         string `json:"invalid_time"`
	SignTime            string `json:"sign_time"`
	AlipayUserId        string `json:"alipay_user_id"`
	Status              string `json:"status"`
	ForexEligible       string `json:"forex_eligible,omitempty"`
	ExternalLogonId     string `json:"external_logon_id,omitempty"`
	AlipayLogonId       string `json:"alipay_logon_id"`
	CreditAuthMode      string `json:"credit_auth_mode,omitempty"`
}

type UserAgreementPageSignRsp added in v1.5.45

type UserAgreementPageSignRsp struct {
	Response     *UserAgreementPageSign `json:"alipay_user_agreement_page_sign_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

===================================================

type UserAgreementPageUnSignRsp added in v1.5.45

type UserAgreementPageUnSignRsp struct {
	Response     *ErrorResponse `json:"alipay_user_agreement_unsign_response"`
	AlipayCertSn string         `json:"alipay_cert_sn,omitempty"`
	SignData     string         `json:"-"`
	Sign         string         `json:"sign"`
}

type UserAgreementQuery added in v1.5.45

type UserAgreementQuery struct {
	ErrorResponse
	PrincipalId         string `json:"principal_id"`
	PrincipalOpenId     string `json:"principal_open_id,omitempty"`
	ValidTime           string `json:"valid_time"`
	AlipayLogonId       string `json:"alipay_logon_id"`
	InvalidTime         string `json:"invalid_time"`
	PricipalType        string `json:"pricipal_type"`
	DeviceId            string `json:"device_id,omitempty"`
	SignScene           string `json:"sign_scene"`
	AgreementNo         string `json:"agreement_no"`
	ThirdPartyType      string `json:"third_party_type"`
	Status              string `json:"status"`
	SignTime            string `json:"sign_time"`
	PersonalProductCode string `json:"personal_product_code"`
	ExternalAgreementNo string `json:"external_agreement_no,omitempty"`
	ZmOpenId            string `json:"zm_open_id,omitempty"`
	ExternalLogonId     string `json:"external_logon_id,omitempty"`
	CreditAuthMode      string `json:"credit_auth_mode,omitempty"`
	SingleQuota         string `json:"single_quota,omitempty"`
	LastDeductTime      string `json:"last_deduct_time,omitempty"`
	NextDeductTime      string `json:"next_deduct_time,omitempty"`
}

type UserAgreementQueryRsp added in v1.5.45

type UserAgreementQueryRsp struct {
	Response     *UserAgreementQuery `json:"alipay_user_agreement_query_response"`
	AlipayCertSn string              `json:"alipay_cert_sn,omitempty"`
	SignData     string              `json:"-"`
	Sign         string              `json:"sign"`
}

type UserAgreementTransfer added in v1.5.51

type UserAgreementTransfer struct {
	ErrorResponse
	ExecuteTime   string `json:"execute_time,omitempty"`
	PeriodType    string `json:"period_type,omitempty"`
	Amount        string `json:"amount,omitempty"`
	TotalAmount   string `json:"total_amount,omitempty"`
	TotalPayments string `json:"total_payments,omitempty"`
	Period        string `json:"period,omitempty"`
}

type UserAgreementTransferRsp added in v1.5.51

type UserAgreementTransferRsp struct {
	Response     *UserAgreementTransfer `json:"alipay_user_agreement_transfer_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type UserAlipaypointBudgetlibQuery added in v1.5.52

type UserAlipaypointBudgetlibQuery struct {
	ErrorResponse
	BudgetCode       string `json:"budget_code"`
	BudgetDesc       string `json:"budget_desc"`
	Enabled          bool   `json:"enabled"`
	CumulativeAmount int64  `json:"cumulative_amount"`
	RemainAmount     int64  `json:"remain_amount"`
	StartTime        string `json:"start_time"`
	EndTime          string `json:"end_time"`
}

type UserAlipaypointBudgetlibQueryRsp added in v1.5.52

type UserAlipaypointBudgetlibQueryRsp struct {
	Response     *UserAlipaypointBudgetlibQuery `json:"alipay_user_alipaypoint_budgetlib_query_response"`
	AlipayCertSn string                         `json:"alipay_cert_sn,omitempty"`
	SignData     string                         `json:"-"`
	Sign         string                         `json:"sign"`
}

type UserAlipaypointSend added in v1.5.51

type UserAlipaypointSend struct {
	ErrorResponse
	RecordId string `json:"record_id"`
}

type UserAlipaypointSendRsp added in v1.5.51

type UserAlipaypointSendRsp struct {
	Response     *UserAlipaypointSend `json:"alipay_user_alipaypoint_send_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type UserAuthRelationshipQuery added in v1.5.101

type UserAuthRelationshipQuery struct {
	ErrorResponse
	QueryDetail string `json:"query_detail"`
}

type UserAuthRelationshipQueryRsp added in v1.5.101

type UserAuthRelationshipQueryRsp struct {
	Response     *UserAuthRelationshipQuery `json:"alipay_open_auth_userauth_relationship_query_response"`
	AlipayCertSn string                     `json:"alipay_cert_sn,omitempty"`
	SignData     string                     `json:"-"`
	Sign         string                     `json:"sign"`
}

type UserAuthZhimaorgIdentityApply added in v1.5.51

type UserAuthZhimaorgIdentityApply struct {
	ErrorResponse
	AccessToken   string `json:"access_token"`
	AuthTokenType string `json:"auth_token_type,omitempty"`
	RefreshToken  string `json:"refresh_token"`
}

type UserAuthZhimaorgIdentityApplyRsp added in v1.5.51

type UserAuthZhimaorgIdentityApplyRsp struct {
	Response     *UserAuthZhimaorgIdentityApply `json:"alipay_user_auth_zhimaorg_identity_apply_response"`
	AlipayCertSn string                         `json:"alipay_cert_sn,omitempty"`
	SignData     string                         `json:"-"`
	Sign         string                         `json:"sign"`
}

type UserCertdocCertverifyConsult added in v1.5.52

type UserCertdocCertverifyConsult struct {
	ErrorResponse
	Passed     string `json:"passed"`
	FailReason string `json:"fail_reason,omitempty"`
	FailParams string `json:"fail_params,omitempty"`
}

type UserCertdocCertverifyConsultRsp added in v1.5.52

type UserCertdocCertverifyConsultRsp struct {
	Response     *UserCertdocCertverifyConsult `json:"alipay_user_certdoc_certverify_consult_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

type UserCertdocCertverifyPreconsult added in v1.5.52

type UserCertdocCertverifyPreconsult struct {
	ErrorResponse
	VerifyId string `json:"verify_id"`
}

type UserCertdocCertverifyPreconsultRsp added in v1.5.52

type UserCertdocCertverifyPreconsultRsp struct {
	Response     *UserCertdocCertverifyPreconsult `json:"alipay_user_certdoc_certverify_preconsult_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type UserCertifyOpenInit added in v1.5.45

type UserCertifyOpenInit struct {
	ErrorResponse
	CertifyId string `json:"certify_id,omitempty"`
}

type UserCertifyOpenInitResponse

type UserCertifyOpenInitResponse struct {
	Response     *UserCertifyOpenInit `json:"alipay_user_certify_open_initialize_response"`
	AlipayCertSn string               `json:"alipay_cert_sn,omitempty"`
	SignData     string               `json:"-"`
	Sign         string               `json:"sign"`
}

type UserCertifyOpenQuery added in v1.5.45

type UserCertifyOpenQuery struct {
	ErrorResponse
	Passed       string `json:"passed,omitempty"`
	IdentityInfo string `json:"identity_info,omitempty"`
	MaterialInfo string `json:"material_info,omitempty"`
}

type UserCertifyOpenQueryResponse

type UserCertifyOpenQueryResponse struct {
	Response     *UserCertifyOpenQuery `json:"alipay_user_certify_open_query_response"`
	AlipayCertSn string                `json:"alipay_cert_sn,omitempty"`
	SignData     string                `json:"-"`
	Sign         string                `json:"sign"`
}

type UserCharityRecordexistQuery added in v1.5.51

type UserCharityRecordexistQuery struct {
	ErrorResponse
	DonationTag string `json:"donation_tag"`
}

type UserCharityRecordexistQueryRsp added in v1.5.51

type UserCharityRecordexistQueryRsp struct {
	Response     *UserCharityRecordexistQuery `json:"alipay_user_charity_recordexist_query_response"`
	AlipayCertSn string                       `json:"alipay_cert_sn,omitempty"`
	SignData     string                       `json:"-"`
	Sign         string                       `json:"sign"`
}

type UserDelOAuthDetailQuery added in v1.5.101

type UserDelOAuthDetailQuery struct {
	ErrorResponse
	Details []*DelOAuthDetail `json:"details"`
}

type UserDelOAuthDetailQueryRsp added in v1.5.101

type UserDelOAuthDetailQueryRsp struct {
	Response     *UserDelOAuthDetailQuery `json:"alipay_user_deloauth_detail_query_response"`
	AlipayCertSn string                   `json:"alipay_cert_sn,omitempty"`
	SignData     string                   `json:"-"`
	Sign         string                   `json:"sign"`
}

type UserDtbankQrcodedataQuery added in v1.5.52

type UserDtbankQrcodedataQuery struct {
	ErrorResponse
	DataDate           string `json:"data_date,omitempty"`
	QrcodeId           string `json:"qrcode_id,omitempty"`
	QrcodeOutId        string `json:"qrcode_out_id,omitempty"`
	BindCard           string `json:"bind_card,omitempty"`
	SendVoucherCnt     string `json:"send_voucher_cnt,omitempty"`
	SendVoucherAmt     string `json:"send_voucher_amt,omitempty"`
	WriteOffVoucherCnt string `json:"write_off_voucher_cnt,omitempty"`
	WriteOffVoucherAmt string `json:"write_off_voucher_amt,omitempty"`
	LeadToFollow       string `json:"lead_to_follow,omitempty"`
}

type UserDtbankQrcodedataQueryRsp added in v1.5.52

type UserDtbankQrcodedataQueryRsp struct {
	Response     *UserDtbankQrcodedataQuery `json:"alipay_user_dtbank_qrcodedata_query_response"`
	AlipayCertSn string                     `json:"alipay_cert_sn,omitempty"`
	SignData     string                     `json:"-"`
	Sign         string                     `json:"sign"`
}

type UserFamilyArchiveInitialize added in v1.5.52

type UserFamilyArchiveInitialize struct {
	ErrorResponse
	ArchivePluginUrl string `json:"archive_plugin_url"`
}

type UserFamilyArchiveInitializeRsp added in v1.5.52

type UserFamilyArchiveInitializeRsp struct {
	Response     *UserFamilyArchiveInitialize `json:"alipay_user_family_archive_initialize_response"`
	AlipayCertSn string                       `json:"alipay_cert_sn,omitempty"`
	SignData     string                       `json:"-"`
	Sign         string                       `json:"sign"`
}

type UserFamilyArchiveQuery added in v1.5.51

type UserFamilyArchiveQuery struct {
	ErrorResponse
	ArchiveList []*FamilyArchiveDetail `json:"archive_list"`
}

type UserFamilyArchiveQueryRsp added in v1.5.51

type UserFamilyArchiveQueryRsp struct {
	Response     *UserFamilyArchiveQuery `json:"alipay_user_family_archive_query_response"`
	AlipayCertSn string                  `json:"alipay_cert_sn,omitempty"`
	SignData     string                  `json:"-"`
	Sign         string                  `json:"sign"`
}

type UserFamilyShareZmgoInitialize added in v1.5.52

type UserFamilyShareZmgoInitialize struct {
	ErrorResponse
	Shareable         bool   `json:"shareable"`
	HasSharing        bool   `json:"has_sharing"`
	FamilySharingLink string `json:"family_sharing_link"`
}

type UserFamilyShareZmgoInitializeRsp added in v1.5.52

type UserFamilyShareZmgoInitializeRsp struct {
	Response     *UserFamilyShareZmgoInitialize `json:"alipay_user_family_share_zmgo_initialize_response"`
	AlipayCertSn string                         `json:"alipay_cert_sn,omitempty"`
	SignData     string                         `json:"-"`
	Sign         string                         `json:"sign"`
}

type UserIdentityInfo added in v1.5.51

type UserIdentityInfo struct {
	HSchoolInfo []*HSchoolInfo `json:"h_school_info,omitempty"`
}

type UserInfoAuthResponse

type UserInfoAuthResponse struct {
	Response     *ErrorResponse `json:"alipay_user_info_auth_response"`
	AlipayCertSn string         `json:"alipay_cert_sn,omitempty"`
	SignData     string         `json:"-"`
	Sign         string         `json:"sign"`
}

===================================================

type UserInfoShare added in v1.5.45

type UserInfoShare struct {
	UserId             string `json:"user_id,omitempty"`
	OpenId             string `json:"open_id,omitempty"`
	Avatar             string `json:"avatar,omitempty"`
	Province           string `json:"province,omitempty"`
	City               string `json:"city,omitempty"`
	NickName           string `json:"nick_name,omitempty"`
	IsStudentCertified string `json:"is_student_certified,omitempty"`
	UserType           string `json:"user_type,omitempty"`
	UserStatus         string `json:"user_status,omitempty"`
	IsCertified        string `json:"is_certified,omitempty"`
	Gender             string `json:"gender,omitempty"`
	Cert_type          string `json:"cert_type,omitempty"`
	Cert_no            string `json:"cert_no,omitempty"`
	Mobile             string `json:"mobile,omitempty"`
	User_name          string `json:"user_name,omitempty"`
}

type UserInfoShareResponse

type UserInfoShareResponse struct {
	Response      *UserInfoShare `json:"alipay_user_info_share_response"`
	ErrorResponse *ErrorResponse `json:"error_response,omitempty"`
	AlipayCertSn  string         `json:"alipay_cert_sn,omitempty"`
	SignData      string         `json:"-"`
	Sign          string         `json:"sign"`
}

type UserPhone

type UserPhone struct {
	ErrorResponse
	Mobile string `json:"mobile,omitempty"`
}

type UserTwostageCommonUse added in v1.5.51

type UserTwostageCommonUse struct {
	ErrorResponse
	UserId           string              `json:"user_id,omitempty"`
	OpenId           string              `json:"open_id,omitempty"`
	UserIdentityInfo []*UserIdentityInfo `json:"user_identity_info,omitempty"`
}

type UserTwostageCommonUseRsp added in v1.5.51

type UserTwostageCommonUseRsp struct {
	Response     *UserTwostageCommonUse `json:"alipay_user_twostage_common_use_response"`
	AlipayCertSn string                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                 `json:"-"`
	Sign         string                 `json:"sign"`
}

type UserVoucherBaseInfo added in v1.5.101

type UserVoucherBaseInfo struct {
	VoucherId          string `json:"voucher_id"`
	VoucherCode        string `json:"voucher_code"`
	VoucherName        string `json:"voucher_name"`
	VoucherStatus      string `json:"voucher_status"`
	CreateTime         string `json:"create_time"`
	ValidBeginTime     string `json:"valid_begin_time"`
	ValidEndTime       string `json:"valid_end_time"`
	AssociateTradeNo   string `json:"associate_trade_no"`
	VoucherMaxUseTimes int    `json:"voucher_max_use_times"`
	VoucherUsedTimes   int    `json:"voucher_used_times"`
	BelongMerchantId   string `json:"belong_merchant_id"`
}

type UserVoucherInfo added in v1.5.101

type UserVoucherInfo struct {
	UserVoucherBaseInfo       *UserVoucherBaseInfo       `json:"user_voucher_base_info"`
	ActivityBaseInfo          *ActivityBaseInfo          `json:"activity_base_info"`
	VoucherSendModeInfo       *VoucherSendModeInfo       `json:"voucher_send_mode_info"`
	VoucherDeductInfo         *VoucherDeductInfo         `json:"voucher_deduct_info"`
	VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
	VoucherAvailableScopeInfo *VoucherAvailableScopeInfo `json:"voucher_available_scope_info"`
	VoucherCustomerGuideInfo  *VoucherCustomerGuideInfo  `json:"voucher_customer_guide_info"`
}

type ViewData added in v1.5.103

type ViewData struct {
	OperationTip     string `json:"operation_tip"`
	OperationDesc    string `json:"operation_desc"`
	PromoType        string `json:"promo_type"`
	PromoPrice       string `json:"promo_price"`
	ThresholdAmount  string `json:"threshold_amount"`
	PayOperationInfo string `json:"pay_operation_info"`
}

type VoucherAvailableAccountInfo added in v1.5.101

type VoucherAvailableAccountInfo struct {
	AvailablePids  []string `json:"available_pids"`
	AvailableSmids []string `json:"available_smids"`
}

type VoucherAvailableAppInfo added in v1.5.101

type VoucherAvailableAppInfo struct {
	AvailableAppIds []string `json:"available_app_ids"`
}

type VoucherAvailableGeographyScopeInfo added in v1.5.101

type VoucherAvailableGeographyScopeInfo struct {
	AvailableGeographyScopeType string                      `json:"available_geography_scope_type"`
	AvailableGeographyShopInfo  *AvailableGeographyShopInfo `json:"available_geography_shop_info"`
}

type VoucherAvailableGeographyScopeResultInfo added in v1.5.103

type VoucherAvailableGeographyScopeResultInfo struct {
	AvailableGeographyShopResultInfo *AvailableGeographyShopResultInfo `json:"available_geography_shop_result_info"`
}

type VoucherAvailableGoodsInfo added in v1.5.101

type VoucherAvailableGoodsInfo struct {
	GoodsName            string   `json:"goods_name"`
	GoodsDescription     string   `json:"goods_description,omitempty"`
	OriginAmount         string   `json:"origin_amount"`
	AvailableGoodsSkuIds []string `json:"available_goods_sku_ids,omitempty"`
	ExcludeGoodsSkuIds   []string `json:"exclude_goods_sku_ids,omitempty"`
}

type VoucherAvailableScopeInfo added in v1.5.101

type VoucherAvailableScopeInfo struct {
	VoucherAvailableAccountInfo        *VoucherAvailableAccountInfo        `json:"voucher_available_account_info,omitempty"`
	VoucherAvailableAppInfo            *VoucherAvailableAppInfo            `json:"voucher_available_app_info,omitempty"`
	VoucherAvailableGeographyScopeInfo *VoucherAvailableGeographyScopeInfo `json:"voucher_available_geography_scope_info,omitempty"`
	VoucherAvailableGoodsInfo          *VoucherAvailableGoodsInfo          `json:"voucher_available_goods_info,omitempty"`
}

type VoucherAvailableScopeResultInfo added in v1.5.103

type VoucherAvailableScopeResultInfo struct {
	VoucherAvailableGeographyScopeResultInfo *VoucherAvailableGeographyScopeResultInfo `json:"voucher_available_geography_scope_result_info"`
}

type VoucherBalanceRechargeInfo added in v1.5.101

type VoucherBalanceRechargeInfo struct {
	LogonId   string `json:"logon_id"`
	PartnerId string `json:"partner_id"`
	Amount    string `json:"amount"`
}

type VoucherBudgetSupplyInfo added in v1.5.101

type VoucherBudgetSupplyInfo struct {
	BudgetType          string               `json:"budget_type"`
	VoucherRechargeInfo *VoucherRechargeInfo `json:"voucher_recharge_info"`
}

type VoucherConsult added in v1.5.101

type VoucherConsult struct {
	VoucherId       string         `json:"voucher_id"`
	VoucherName     string         `json:"voucher_name"`
	VoucherType     string         `json:"voucher_type"`
	PromoType       string         `json:"promo_type"`
	ReductionAmount string         `json:"reduction_amount"`
	SpecifiedAmount string         `json:"specified_amount"`
	ReductionRatio  string         `json:"reduction_ratio"`
	CeilingAmount   string         `json:"ceiling_amount"`
	ThresholdAmount string         `json:"threshold_amount"`
	PromoAmount     string         `json:"promo_amount"`
	PromoText       string         `json:"promo_text"`
	ItemPromoInfo   *ItemPromoInfo `json:"item_promo_info"`
}

type VoucherCustomerGuideInfo added in v1.5.101

type VoucherCustomerGuideInfo struct {
	VoucherUseGuideInfo *VoucherUseGuideInfo `json:"voucher_use_guide_info"`
}

type VoucherDeductInfo added in v1.5.101

type VoucherDeductInfo struct {
	VoucherType         string               `json:"voucher_type"`
	FixVoucherInfo      *FixVoucherInfo      `json:"fix_voucher_info"`
	DiscountVoucherInfo *DiscountVoucherInfo `json:"discount_voucher_info,omitempty"`
	SpecialVoucherInfo  *SpecialVoucherInfo  `json:"special_voucher_info,omitempty"`
	ExchangeVoucherInfo *ExchangeVoucherInfo `json:"exchange_voucher_info,omitempty"`
}

type VoucherDetail added in v1.5.45

type VoucherDetail struct {
	Id                         string `json:"id,omitempty"`
	Name                       string `json:"name,omitempty"`
	Type                       string `json:"type,omitempty"`
	Amount                     string `json:"amount,omitempty"`
	MerchantContribute         string `json:"merchant_contribute,omitempty"`
	OtherContribute            string `json:"other_contribute,omitempty"`
	Memo                       string `json:"memo,omitempty"`
	TemplateId                 string `json:"template_id,omitempty"`
	PurchaseBuyerContribute    string `json:"purchase_buyer_contribute,omitempty"`
	PurchaseMerchantContribute string `json:"purchase_merchant_contribute,omitempty"`
	PurchaseAntContribute      string `json:"purchase_ant_contribute,omitempty"`
}

type VoucherDisplayPatternInfo added in v1.5.101

type VoucherDisplayPatternInfo struct {
	BrandName              string   `json:"brand_name"`
	BrandLogoUrl           string   `json:"brand_logo_url"`
	VoucherName            string   `json:"voucher_name,omitempty"`
	VoucherDescription     string   `json:"voucher_description,omitempty"`
	VoucherImage           string   `json:"voucher_image,omitempty"`
	VoucherImageUrl        string   `json:"voucher_image_url,omitempty"`
	VoucherDetailImages    []string `json:"voucher_detail_images,omitempty"`
	VoucherDetailImageUrls []string `json:"voucher_detail_image_urls,omitempty"`
	CustomerServiceMobile  string   `json:"customer_service_mobile,omitempty"`
	CustomerServiceUrl     string   `json:"customer_service_url,omitempty"`
}

type VoucherInventoryInfo added in v1.5.101

type VoucherInventoryInfo struct {
	SendCount int `json:"send_count"`
	UseCount  int `json:"use_count"`
}

type VoucherPackageModeInfo added in v1.5.101

type VoucherPackageModeInfo struct {
	VoucherPackageId string `json:"voucher_package_id"`
}

type VoucherRechargeInfo added in v1.5.101

type VoucherRechargeInfo struct {
	RechargeType               string                      `json:"recharge_type"`
	VoucherBalanceRechargeInfo *VoucherBalanceRechargeInfo `json:"voucher_balance_recharge_info"`
}

type VoucherSaleModeInfo added in v1.5.101

type VoucherSaleModeInfo struct {
	SaleAmount        string `json:"sale_amount"`
	Refundable        bool   `json:"refundable"`
	OverdueRefundable bool   `json:"overdue_refundable"`
}

type VoucherSendModeInfo added in v1.5.101

type VoucherSendModeInfo struct {
	VoucherSendMode        string                  `json:"voucher_send_mode"`
	VoucherSendRuleInfo    *VoucherSendRuleInfo    `json:"voucher_send_rule_info"`
	VoucherSaleModeInfo    *VoucherSaleModeInfo    `json:"voucher_sale_mode_info"`
	VoucherPackageModeInfo *VoucherPackageModeInfo `json:"voucher_package_mode_info"`
}

type VoucherSendRuleInfo added in v1.5.101

type VoucherSendRuleInfo struct {
	Quantity                       int    `json:"quantity"`
	MaxQuantityByDay               int    `json:"max_quantity_by_day"`
	QuantityLimitPerUser           int    `json:"quantity_limit_per_user"`
	QuantityLimitPerUserPeriodType string `json:"quantity_limit_per_user_period_type"`
	NaturalPersonLimit             bool   `json:"natural_person_limit"`
	PhoneNumberLimit               bool   `json:"phone_number_limit"`
	RealNameLimit                  bool   `json:"real_name_limit"`
	PublishStartTime               string `json:"publish_start_time"`
	PublishEndTime                 string `json:"publish_end_time"`
}

type VoucherUseDetailResultInfo added in v1.5.103

type VoucherUseDetailResultInfo struct {
	VoucherMaxUnUseTimes int `json:"voucher_max_un_use_times"`
}

type VoucherUseGuideInfo added in v1.5.101

type VoucherUseGuideInfo struct {
	UseGuideMode        []string             `json:"use_guide_mode"`
	MiniAppUseGuideInfo *MiniAppUseGuideInfo `json:"mini_app_use_guide_info"`
}

type VoucherUseRuleInfo added in v1.5.101

type VoucherUseRuleInfo struct {
	VoucherMaxUseTimes             int                 `json:"voucher_max_use_times"`
	QuantityLimitPerUser           int                 `json:"quantity_limit_per_user"`
	QuantityLimitPerUserPeriodType string              `json:"quantity_limit_per_user_period_type"`
	VoucherUseTimeInfo             *VoucherUseTimeInfo `json:"voucher_use_time_info"`
}

type VoucherUseTimeInfo added in v1.5.101

type VoucherUseTimeInfo struct {
	PeriodType         string              `json:"period_type"`
	AbsolutePeriodInfo *AbsolutePeriodInfo `json:"absolute_period_info"`
	RelativePeriodInfo *RelativePeriodInfo `json:"relative_period_info"`
}

type WaitRepaymentOrderInfo added in v1.5.45

type WaitRepaymentOrderInfo struct {
	AdvanceOrderId      string `json:"advance_order_id"`
	AlipayUserId        string `json:"alipay_user_id"`
	OrigBizOrderId      string `json:"orig_biz_order_id"`
	BizProduct          string `json:"biz_product"`
	WaitRepaymentAmount string `json:"wait_repayment_amount"`
}

type WeekRuleInfo added in v1.5.101

type WeekRuleInfo struct {
	WeekDay       string         `json:"week_day"`
	TimeRangeInfo *TimeRangeInfo `json:"time_range_info"`
}

type ZhimaCreditEpSceneAgreementCancel added in v1.5.50

type ZhimaCreditEpSceneAgreementCancel struct {
	ErrorResponse
	CreditOrderNo string `json:"credit_order_no"`
}

type ZhimaCreditEpSceneAgreementCancelRsp added in v1.5.50

type ZhimaCreditEpSceneAgreementCancelRsp struct {
	Response     *ZhimaCreditEpSceneAgreementCancel `json:"zhima_credit_ep_scene_agreement_cancel_response"`
	AlipayCertSn string                             `json:"alipay_cert_sn,omitempty"`
	SignData     string                             `json:"-"`
	Sign         string                             `json:"sign"`
}

type ZhimaCreditEpSceneAgreementUse added in v1.5.50

type ZhimaCreditEpSceneAgreementUse struct {
	ErrorResponse
	CreditOrderNo string `json:"credit_order_no"`
}

type ZhimaCreditEpSceneAgreementUseRsp added in v1.5.50

type ZhimaCreditEpSceneAgreementUseRsp struct {
	Response     *ZhimaCreditEpSceneAgreementUse `json:"zhima_credit_ep_scene_agreement_use_response"`
	AlipayCertSn string                          `json:"alipay_cert_sn,omitempty"`
	SignData     string                          `json:"-"`
	Sign         string                          `json:"sign"`
}

type ZhimaCreditEpSceneFulfillmentSync added in v1.5.50

type ZhimaCreditEpSceneFulfillmentSync struct {
	ErrorResponse
	FulfillmentOrderNo string `json:"fulfillment_order_no"`
}

type ZhimaCreditEpSceneFulfillmentSyncRsp added in v1.5.50

type ZhimaCreditEpSceneFulfillmentSyncRsp struct {
	Response     *ZhimaCreditEpSceneFulfillmentSync `json:"zhima_credit_ep_scene_fulfillment_sync_response"`
	AlipayCertSn string                             `json:"alipay_cert_sn,omitempty"`
	SignData     string                             `json:"-"`
	Sign         string                             `json:"sign"`
}

type ZhimaCreditEpSceneFulfillmentlistSync added in v1.5.50

type ZhimaCreditEpSceneFulfillmentlistSync struct {
	ErrorResponse
	FulfillmentResultList []*FulfillmentResult `json:"fulfillment_result_list"`
}

type ZhimaCreditEpSceneFulfillmentlistSyncRsp added in v1.5.50

type ZhimaCreditEpSceneFulfillmentlistSyncRsp struct {
	Response     *ZhimaCreditEpSceneFulfillmentlistSync `json:"zhima_credit_ep_scene_fulfillmentlist_sync_response"`
	AlipayCertSn string                                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                                 `json:"-"`
	Sign         string                                 `json:"sign"`
}

type ZhimaCreditEpSceneRatingInitialize added in v1.5.50

type ZhimaCreditEpSceneRatingInitialize struct {
	ErrorResponse
	OrderNo string `json:"order_no"`
}

type ZhimaCreditEpSceneRatingInitializeRsp added in v1.5.50

type ZhimaCreditEpSceneRatingInitializeRsp struct {
	Response     *ZhimaCreditEpSceneRatingInitialize `json:"zhima_credit_ep_scene_rating_initialize_response"`
	AlipayCertSn string                              `json:"alipay_cert_sn,omitempty"`
	SignData     string                              `json:"-"`
	Sign         string                              `json:"sign"`
}

type ZhimaCreditPayAfterUseAgreementQuery added in v1.5.101

type ZhimaCreditPayAfterUseAgreementQuery struct {
	ErrorResponse
	OutAgreementNo    string `json:"out_agreement_no"`
	AgreementStatus   string `json:"agreement_status"`
	CreditAgreementId string `json:"credit_agreement_id"`
	BizTime           string `json:"biz_time"`
	ExtInfo           string `json:"ext_info"`
	AlipayUserId      string `json:"alipay_user_id"`
	OpenId            string `json:"open_id"`
}

type ZhimaCreditPayAfterUseAgreementQueryRsp added in v1.5.101

type ZhimaCreditPayAfterUseAgreementQueryRsp struct {
	Response     *ZhimaCreditPayAfterUseAgreementQuery `json:"zhima_credit_payafteruse_creditagreement_query_response"`
	AlipayCertSn string                                `json:"alipay_cert_sn,omitempty"`
	SignData     string                                `json:"-"`
	Sign         string                                `json:"sign"`
}

type ZhimaCreditPayAfterUseCreditBizOrder added in v1.5.101

type ZhimaCreditPayAfterUseCreditBizOrder struct {
	ErrorResponse
	OutOrderNo       string `json:"out_order_no"`
	CreditBizOrderId string `json:"credit_biz_order_id"`
}

type ZhimaCreditPayAfterUseCreditBizOrderFinish added in v1.5.101

type ZhimaCreditPayAfterUseCreditBizOrderFinish struct {
	ErrorResponse
	OutRequestNo     string `json:"out_request_no"`
	CreditBizOrderId string `json:"credit_biz_order_id"`
	OrderStatus      string `json:"order_status"`
}

type ZhimaCreditPayAfterUseCreditBizOrderFinishRsp added in v1.5.101

type ZhimaCreditPayAfterUseCreditBizOrderFinishRsp struct {
	Response     *ZhimaCreditPayAfterUseCreditBizOrderFinish `json:"zhima_credit_payafteruse_creditbizorder_finish_response"`
	AlipayCertSn string                                      `json:"alipay_cert_sn,omitempty"`
	SignData     string                                      `json:"-"`
	Sign         string                                      `json:"sign"`
}

type ZhimaCreditPayAfterUseCreditBizOrderQuery added in v1.5.101

type ZhimaCreditPayAfterUseCreditBizOrderQuery struct {
	ErrorResponse
	CreditBizOrderId  string `json:"credit_biz_order_id"`
	CreditAgreementId string `json:"credit_agreement_id"`
	TotalAmount       string `json:"total_amount"`
	CreateTime        string `json:"create_time"`
	ZmServiceId       string `json:"zm_service_id"`
	ProductCode       string `json:"product_code"`
	OrderStatus       string `json:"order_status"`
	TradeNo           string `json:"trade_no"`
}

type ZhimaCreditPayAfterUseCreditBizOrderQueryRsp added in v1.5.101

type ZhimaCreditPayAfterUseCreditBizOrderQueryRsp struct {
	Response     *ZhimaCreditPayAfterUseCreditBizOrderQuery `json:"zhima_credit_payafteruse_creditbizorder_query_response"`
	AlipayCertSn string                                     `json:"alipay_cert_sn,omitempty"`
	SignData     string                                     `json:"-"`
	Sign         string                                     `json:"sign"`
}

type ZhimaCreditPayAfterUseCreditBizOrderRsp added in v1.5.101

type ZhimaCreditPayAfterUseCreditBizOrderRsp struct {
	Response     *ZhimaCreditPayAfterUseCreditBizOrder `json:"zhima_credit_payafteruse_creditbizorder_order_response"`
	AlipayCertSn string                                `json:"alipay_cert_sn,omitempty"`
	SignData     string                                `json:"-"`
	Sign         string                                `json:"sign"`
}

type ZhimaCreditPeZmgoAgreementQuery added in v1.5.51

type ZhimaCreditPeZmgoAgreementQuery struct {
	ErrorResponse
	AgreementId     string `json:"agreement_id"`
	AgreementName   string `json:"agreement_name"`
	AlipayUserId    string `json:"alipay_user_id"`
	OpenId          string `json:"open_id,omitempty"`
	AgreementStatus string `json:"agreement_status"`
}

type ZhimaCreditPeZmgoAgreementQueryRsp added in v1.5.51

type ZhimaCreditPeZmgoAgreementQueryRsp struct {
	Response     *ZhimaCreditPeZmgoAgreementQuery `json:"zhima_credit_pe_zmgo_agreement_query_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type ZhimaCreditPeZmgoAgreementUnsign added in v1.5.51

type ZhimaCreditPeZmgoAgreementUnsign struct {
	ErrorResponse
	AgreementId    string `json:"agreement_id"`
	WithholdPlanNo string `json:"withhold_plan_no"`
}

type ZhimaCreditPeZmgoAgreementUnsignRsp added in v1.5.51

type ZhimaCreditPeZmgoAgreementUnsignRsp struct {
	Response     *ZhimaCreditPeZmgoAgreementUnsign `json:"zhima_credit_pe_zmgo_agreement_unsign_response"`
	AlipayCertSn string                            `json:"alipay_cert_sn,omitempty"`
	SignData     string                            `json:"-"`
	Sign         string                            `json:"sign"`
}

type ZhimaCreditPeZmgoBizoptClose added in v1.5.50

type ZhimaCreditPeZmgoBizoptClose struct {
	ErrorResponse
	UserId       string `json:"user_id"`
	OpenId       string `json:"open_id,omitempty"`
	BizOptNo     string `json:"biz_opt_no,omitempty"`
	PartnerId    string `json:"partner_id"`
	OutRequestNo string `json:"out_request_no"`
}

type ZhimaCreditPeZmgoBizoptCloseRsp added in v1.5.50

type ZhimaCreditPeZmgoBizoptCloseRsp struct {
	Response     *ZhimaCreditPeZmgoBizoptClose `json:"zhima_credit_pe_zmgo_bizopt_close_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

type ZhimaCreditPeZmgoCumulationSync added in v1.5.50

type ZhimaCreditPeZmgoCumulationSync struct {
	ErrorResponse
	OutBizNo     string `json:"out_biz_no,omitempty"`
	AagreementNo string `json:"aagreement_no,omitempty"`
	UserId       string `json:"user_id,omitempty"`
	OpenId       string `json:"open_id,omitempty"`
	FailReason   string `json:"fail_reason,omitempty"`
}

type ZhimaCreditPeZmgoCumulationSyncRsp added in v1.5.50

type ZhimaCreditPeZmgoCumulationSyncRsp struct {
	Response     *ZhimaCreditPeZmgoCumulationSync `json:"zhima_credit_pe_zmgo_cumulation_sync_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type ZhimaCreditPeZmgoPaysignApply added in v1.5.51

type ZhimaCreditPeZmgoPaysignApply struct {
	ErrorResponse
	BizType     string `json:"biz_type"`
	ZmgoOptNo   string `json:"zmgo_opt_no,omitempty"`
	Idempotent  bool   `json:"idempotent,omitempty"`
	AgreementId string `json:"agreement_id,omitempty"`
}

type ZhimaCreditPeZmgoPaysignApplyRsp added in v1.5.51

type ZhimaCreditPeZmgoPaysignApplyRsp struct {
	Response     *ZhimaCreditPeZmgoPaysignApply `json:"zhima_credit_pe_zmgo_paysign_apply_response"`
	AlipayCertSn string                         `json:"alipay_cert_sn,omitempty"`
	SignData     string                         `json:"-"`
	Sign         string                         `json:"sign"`
}

type ZhimaCreditPeZmgoPaysignConfirm added in v1.5.51

type ZhimaCreditPeZmgoPaysignConfirm struct {
	ErrorResponse
	AgreementId string `json:"agreement_id,omitempty"`
}

type ZhimaCreditPeZmgoPaysignConfirmRsp added in v1.5.51

type ZhimaCreditPeZmgoPaysignConfirmRsp struct {
	Response     *ZhimaCreditPeZmgoPaysignConfirm `json:"zhima_credit_pe_zmgo_paysign_confirm_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type ZhimaCreditPeZmgoPreorderCreate added in v1.5.50

type ZhimaCreditPeZmgoPreorderCreate struct {
	ErrorResponse
	PreorderNo string `json:"preorder_no"`
	PartnerId  string `json:"partner_id"`
	BizType    string `json:"biz_type"`
}

type ZhimaCreditPeZmgoPreorderCreateRsp added in v1.5.50

type ZhimaCreditPeZmgoPreorderCreateRsp struct {
	Response     *ZhimaCreditPeZmgoPreorderCreate `json:"zhima_credit_pe_zmgo_preorder_create_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type ZhimaCreditPeZmgoSettleApply added in v1.5.101

type ZhimaCreditPeZmgoSettleApply struct {
	ErrorResponse
	OutRequestNo   string `json:"out_request_no"`
	AgreementId    string `json:"agreement_id"`
	WithholdPlanNo string `json:"withhold_plan_no"`
	SettleStatus   string `json:"settle_status"`
	FailReason     string `json:"fail_reason"`
}

type ZhimaCreditPeZmgoSettleApplyRsp added in v1.5.101

type ZhimaCreditPeZmgoSettleApplyRsp struct {
	Response     *ZhimaCreditPeZmgoSettleApply `json:"zhima_credit_pe_zmgo_settle_apply_response"`
	AlipayCertSn string                        `json:"alipay_cert_sn,omitempty"`
	SignData     string                        `json:"-"`
	Sign         string                        `json:"sign"`
}

type ZhimaCreditPeZmgoSettleRefund added in v1.5.50

type ZhimaCreditPeZmgoSettleRefund struct {
	ErrorResponse
	OutRequestNo   string `json:"out_request_no"`
	WithholdPlanNo string `json:"withhold_plan_no"`
	RefundAmount   string `json:"refund_amount"`
	FailReason     string `json:"fail_reason,omitempty"`
	Retry          bool   `json:"retry,omitempty"`
}

type ZhimaCreditPeZmgoSettleRefundRsp added in v1.5.50

type ZhimaCreditPeZmgoSettleRefundRsp struct {
	Response     *ZhimaCreditPeZmgoSettleRefund `json:"zhima_credit_pe_zmgo_settle_refund_response"`
	AlipayCertSn string                         `json:"alipay_cert_sn,omitempty"`
	SignData     string                         `json:"-"`
	Sign         string                         `json:"sign"`
}

type ZhimaCreditPeZmgoSettleUnfreeze added in v1.5.51

type ZhimaCreditPeZmgoSettleUnfreeze struct {
	ErrorResponse
	UnfreezeStatus string `json:"unfreeze_status"`
	FailReaseon    string `json:"fail_reaseon,omitempty"`
	Retry          string `json:"retry,omitempty"`
	UnfreezeAmount string `json:"unfreeze_amount,omitempty"`
}

type ZhimaCreditPeZmgoSettleUnfreezeRsp added in v1.5.51

type ZhimaCreditPeZmgoSettleUnfreezeRsp struct {
	Response     *ZhimaCreditPeZmgoSettleUnfreeze `json:"zhima_credit_pe_zmgo_settle_unfreeze_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type ZhimaCreditScoreGetResponse

type ZhimaCreditScoreGetResponse struct {
	Response     *ScoreGet `json:"zhima_credit_score_get_response"`
	AlipayCertSn string    `json:"alipay_cert_sn,omitempty"`
	SignData     string    `json:"-"`
	Sign         string    `json:"sign"`
}

type ZhimaCustomerJobworthAdapterQuery added in v1.5.51

type ZhimaCustomerJobworthAdapterQuery struct {
	ErrorResponse
	AdapterScore string `json:"adapter_score,omitempty"`
	Url          string `json:"url,omitempty"`
}

type ZhimaCustomerJobworthAdapterQueryRsp added in v1.5.51

type ZhimaCustomerJobworthAdapterQueryRsp struct {
	Response     *ZhimaCustomerJobworthAdapterQuery `json:"zhima_customer_jobworth_adapter_query_response"`
	AlipayCertSn string                             `json:"alipay_cert_sn,omitempty"`
	SignData     string                             `json:"-"`
	Sign         string                             `json:"sign"`
}

type ZhimaCustomerJobworthAuthPreConsult added in v1.5.101

type ZhimaCustomerJobworthAuthPreConsult struct {
	ErrorResponse
	PreCheckSuccess bool   `json:"pre_check_success"`
	Reason          string `json:"reason"`
}

type ZhimaCustomerJobworthAuthPreConsultRsp added in v1.5.101

type ZhimaCustomerJobworthAuthPreConsultRsp struct {
	Response     *ZhimaCustomerJobworthAuthPreConsult `json:"zhima_customer_jobworth_authentication_preconsult_response"`
	AlipayCertSn string                               `json:"alipay_cert_sn,omitempty"`
	SignData     string                               `json:"-"`
	Sign         string                               `json:"sign"`
}

type ZhimaCustomerJobworthAuthQuery added in v1.5.101

type ZhimaCustomerJobworthAuthQuery struct {
	ErrorResponse
	IdentityResult        string `json:"identity_result"`
	IdentityResultSkipUrl string `json:"identity_result_skip_url"`
	TokenStatus           string `json:"token_status"`
	UserId                string `json:"user_id"`
	OpenId                string `json:"open_id"`
}

type ZhimaCustomerJobworthAuthQueryRsp added in v1.5.101

type ZhimaCustomerJobworthAuthQueryRsp struct {
	Response     *ZhimaCustomerJobworthAuthQuery `json:"zhima_customer_jobworth_authentication_query_response"`
	AlipayCertSn string                          `json:"alipay_cert_sn,omitempty"`
	SignData     string                          `json:"-"`
	Sign         string                          `json:"sign"`
}

type ZhimaCustomerJobworthSceneUse added in v1.5.51

type ZhimaCustomerJobworthSceneUse struct {
	ErrorResponse
}

type ZhimaCustomerJobworthSceneUseRsp added in v1.5.51

type ZhimaCustomerJobworthSceneUseRsp struct {
	Response     *ZhimaCustomerJobworthSceneUse `json:"zhima_customer_jobworth_scene_use_response"`
	AlipayCertSn string                         `json:"alipay_cert_sn,omitempty"`
	SignData     string                         `json:"-"`
	Sign         string                         `json:"sign"`
}

type ZhimaMerchantZmgoCumulateQuery added in v1.5.50

type ZhimaMerchantZmgoCumulateQuery struct {
	ErrorResponse
	AgreementId        string                `json:"agreement_id"`
	AggrAmount         string                `json:"aggr_amount"`
	AggrTimes          int64                 `json:"aggr_times"`
	AggrDiscountAmount string                `json:"aggr_discount_amount"`
	PageNo             int64                 `json:"page_no"`
	PageSize           int64                 `json:"page_size"`
	DetailList         []*CumulateDataDetail `json:"detail_list,omitempty"`
	FailReason         string                `json:"fail_reason,omitempty"`
}

type ZhimaMerchantZmgoCumulateQueryRsp added in v1.5.50

type ZhimaMerchantZmgoCumulateQueryRsp struct {
	Response     *ZhimaMerchantZmgoCumulateQuery `json:"zhima_merchant_zmgo_cumulate_query_response"`
	AlipayCertSn string                          `json:"alipay_cert_sn,omitempty"`
	SignData     string                          `json:"-"`
	Sign         string                          `json:"sign"`
}

type ZhimaMerchantZmgoCumulateSync added in v1.5.50

type ZhimaMerchantZmgoCumulateSync struct {
	ErrorResponse
	AgreementId string `json:"agreement_id"`
	OutBizNo    string `json:"out_biz_no"`
	FailReason  string `json:"fail_reason,omitempty"`
}

type ZhimaMerchantZmgoCumulateSyncRsp added in v1.5.50

type ZhimaMerchantZmgoCumulateSyncRsp struct {
	Response     *ZhimaMerchantZmgoCumulateSync `json:"zhima_merchant_zmgo_cumulate_sync_response"`
	AlipayCertSn string                         `json:"alipay_cert_sn,omitempty"`
	SignData     string                         `json:"-"`
	Sign         string                         `json:"sign"`
}

type ZhimaMerchantZmgoTemplateCreate added in v1.5.101

type ZhimaMerchantZmgoTemplateCreate struct {
	ErrorResponse
	TemplateNo string `json:"template_no"`
}

type ZhimaMerchantZmgoTemplateCreateRsp added in v1.5.101

type ZhimaMerchantZmgoTemplateCreateRsp struct {
	Response     *ZhimaMerchantZmgoTemplateCreate `json:"zhima_merchant_zmgo_template_create_response"`
	AlipayCertSn string                           `json:"alipay_cert_sn,omitempty"`
	SignData     string                           `json:"-"`
	Sign         string                           `json:"sign"`
}

type ZhimaMerchantZmgoTemplateQuery added in v1.5.101

type ZhimaMerchantZmgoTemplateQuery struct {
	ErrorResponse
	BasicConfig      *BasicConfig      `json:"basic_config"`
	ObligationConfig *ObligationConfig `json:"obligation_config"`
	RightConfig      *RightConfig      `json:"right_config"`
	OpenConfig       *OpenConfig       `json:"open_config"`
	SettlementConfig *SettlementConfig `json:"settlement_config"`
	QuitConfig       *QuitConfig       `json:"quit_config"`
	ExtConfig        *ExtConfig        `json:"ext_config"`
}

type ZhimaMerchantZmgoTemplateQueryRsp added in v1.5.101

type ZhimaMerchantZmgoTemplateQueryRsp struct {
	Response     *ZhimaMerchantZmgoTemplateQuery `json:"zhima_merchant_zmgo_template_query_response"`
	AlipayCertSn string                          `json:"alipay_cert_sn,omitempty"`
	SignData     string                          `json:"-"`
	Sign         string                          `json:"sign"`
}

type ZolozAuthenticationCustomerFtokenQuery added in v1.5.101

type ZolozAuthenticationCustomerFtokenQuery struct {
	ErrorResponse
	Uid            string        `json:"uid"`
	OpenId         string        `json:"open_id"`
	UidTelPairList []*UidTelPair `json:"uid_tel_pair_list"`
	AgeCheckResult string        `json:"age_check_result"`
	CertNo         string        `json:"cert_no"`
	CertName       string        `json:"cert_name"`
	FaceId         string        `json:"face_id"`
}

type ZolozAuthenticationCustomerFtokenQueryRsp added in v1.5.101

type ZolozAuthenticationCustomerFtokenQueryRsp struct {
	Response     *ZolozAuthenticationCustomerFtokenQuery `json:"zoloz_authentication_customer_ftoken_query_response"`
	AlipayCertSn string                                  `json:"alipay_cert_sn,omitempty"`
	SignData     string                                  `json:"-"`
	Sign         string                                  `json:"sign"`
}

type ZolozAuthenticationSmilepayInitialize added in v1.5.101

type ZolozAuthenticationSmilepayInitialize struct {
	ErrorResponse
	RetCodeSub        string `json:"ret_code_sub"`
	RetMessageSub     string `json:"ret_message_sub"`
	ZimId             string `json:"zim_id"`
	ZimInitClientData string `json:"zim_init_client_data"`
}

type ZolozAuthenticationSmilepayInitializeRsp added in v1.5.101

type ZolozAuthenticationSmilepayInitializeRsp struct {
	Response     *ZolozAuthenticationSmilepayInitialize `json:"zoloz_authentication_smilepay_initialize_response"`
	AlipayCertSn string                                 `json:"alipay_cert_sn,omitempty"`
	SignData     string                                 `json:"-"`
	Sign         string                                 `json:"sign"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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