alipay

package
v0.0.0-...-6a8dd4b Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

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/open/200/106120

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/open/200/106120

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

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

type AccountLogItemResult

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

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

type ActivityLiteInfo

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 AntMerchantOrderQuery

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

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

type AntMerchantShopClose struct {
	ErrorResponse
}

type AntMerchantShopCloseRsp

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

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

type AntMerchantShopConsultRsp

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

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

type AntMerchantShopCreateRsp

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

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

type AntMerchantShopModifyRsp

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 AntMerchantShopQuery

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

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 Apis

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

type AppInfo

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

type AppItemInfo

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

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

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 AvailableGeographyShopInfo

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

type BasicConfig

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

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

type BizErr

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

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

func IsBizError

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

func (*BizErr) Error

func (e *BizErr) Error() string

type BkAgentRespInfo

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 CashCampaignInfo

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 ChargeInfo

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 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

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

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) AntMerchantOrderQuery

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

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

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

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

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) AntMerchantShopQuery

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

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

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

func (*Client) CommerceAirCallcenterTradeApply

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

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

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

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

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) DataDataserviceAdDataQuery

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

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

向支付宝发送请求

func (*Client) FileRequest

func (a *Client) FileRequest(ctx context.Context, bm gopay.BodyMap, file *gopay.File, 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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) MarketingActivityQuery

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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) MarketingMaterialImageUpload

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

alipay.marketing.material.image.upload(营销图片资源上传接口) 文档地址:https://opendocs.alipay.com/open/389b24b6_alipay.marketing.material.image.upload

func (*Client) MemberDataIsvCreate

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

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

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

func (*Client) OpenAppApiQuery

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

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

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

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

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

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

func (*Client) PaymentTradeOrderCreate

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

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

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

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

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

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

func (*Client) SecurityCustomerRiskSend

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

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

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) SetLocation

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

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

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

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

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

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

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

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/02j2bt

func (*Client) TradeOrderSettleQuery

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

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

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

func (*Client) TradeRelationBind

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

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

func (*Client) TradeRelationUnbind

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

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

func (*Client) TradeRepaybillQuery

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type CommerceAirCallcenterTradeApply struct {
	ErrorResponse
}

type CommerceAirCallcenterTradeApplyRsp

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

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

type CommerceBenefitApplyRsp

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

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

type CommerceBenefitVerifyRsp

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

type CommerceTransportNfccardSend struct {
	ErrorResponse
}

type CommerceTransportNfccardSendRsp

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

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

type ContributeDetail

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

type ConversionDataDetail

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

type CumulateDataDetail

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

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 CycleWithholdConfig

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 DataBillAccountLogQuery

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

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

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

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 DataDataserviceAdDataQuery

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

type DataDataserviceAdDataQueryRsp

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

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 DateRangeInfo

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

type DateRuleInfo

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

type DelOAuthDetail

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

type DeliveryActivityContent

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

type DeliveryAppContent

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

type DeliveryBaseInfo

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

type DeliveryCityCodeRule

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

type DeliveryContentInfo

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

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

type DeliveryFullSendConfig

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

type DeliveryMerchantInfo

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

type DeliveryMerchantRule

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

type DeliveryPlayConfig

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

type DeliverySingleSendConfig

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

type DeliveryTargetRule

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

type DepositBackInfo

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

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

type DiscountDetailInfo

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

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

type EndTimeInfo

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

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

type ExtCardInfo

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

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

type FamilyArchiveDetail

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 FixVoucherInfo

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

type FulfillmentResult

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

type FundAccountQuery

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

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

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

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

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

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

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

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

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

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

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

type FundTransCommonQuery struct {
	ErrorResponse
	OrderId        string `json:"order_id,omitempty"`
	PayFundOrderId string `json:"pay_fund_order_id,omitempty"`
	OutBizNo       string `json:"out_biz_no,omitempty"`
	TransAmount    string `json:"trans_amount,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"`
	ErrorCode      string `json:"error_code,omitempty"`
	FailReason     string `json:"fail_reason,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

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

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

type FundTransPagePayRsp

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

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

type FundTransPayeeBindQueryRsp

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

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

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

type HSchoolInfo

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

type HbFqPayInfo

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

type HolidayRuleInfo

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

type ItemConsult

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

type ItemPromoInfo

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

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

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

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

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

type KoubeiTradeItemorderRefundRsp

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

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

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

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

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

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

type KoubeiTradeOrderPrecreateRsp

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

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

type KoubeiTradeTicketTicketcodeCancelRsp

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

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

type KoubeiTradeTicketTicketcodeDelayRsp

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

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

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

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

type KoubeiTradeTicketTicketcodeSendRsp

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

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

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

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

type MarketingActivityConsultRsp

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

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

type MarketingActivityDeliveryCreateRsp

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

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

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

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

type MarketingActivityDeliveryStopRsp

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 MarketingActivityQuery

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type MarketingActivityVoucherAppendRsp

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

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

type MarketingActivityVoucherCreateRsp

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

type MarketingActivityVoucherModify struct {
	ErrorResponse
}

type MarketingActivityVoucherModifyRsp

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

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

type MarketingActivityVoucherPublishRsp

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

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

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

type MarketingActivityVoucherStop struct {
	ErrorResponse
}

type MarketingActivityVoucherStopRsp

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

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

type MarketingCampaignCashCreateRsp

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

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

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

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

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

type MarketingCampaignCashStatusModify struct {
	ErrorResponse
}

type MarketingCampaignCashStatusModifyRsp

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

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

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

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

type MarketingCampaignOrderVoucherConsultRsp

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 MarketingMaterialImageUpload

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

type MarketingMaterialImageUploadRsp

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 MemberDataIsvCreate

type MemberDataIsvCreate struct {
	ErrorResponse
}

type MemberDataIsvCreateRsp

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

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

type MerchantItemFileUpload

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

type MerchantItemFileUploadRsp

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 MiniAppUseGuideInfo

type MiniAppUseGuideInfo struct {
	MiniAppUrl          string   `json:"mini_app_url"`
	MiniAppServiceCodes []string `json:"mini_app_service_codes"`
}

type MonitorHeartbeatSynRes

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 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

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

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

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 OpenAppApiQuery

type OpenAppApiQuery struct {
	ErrorResponse
	Apis []*Apis `json:"apis"`
}

type OpenAppApiQueryResponse

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

type OpenAppQrcodeCreate struct {
	ErrorResponse
	QrCodeUrl string `json:"qr_code_url"`
}

type OpenAppQrcodeCreateRsp

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

type OpenAuthTokenAppInviteCreate struct {
	ErrorResponse
	TaskPageUrl string `json:"task_page_url,omitempty"`
}

type OpenAuthTokenAppInviteCreateResponse

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

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

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 PKCSType

type PKCSType uint8

type PaymentTradeOrderCreate

type PaymentTradeOrderCreate struct {
	ErrorResponse
}

type PaymentTradeOrderCreateRsp

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

type PcreditHuabeiAuthSettleApply struct {
	ErrorResponse
	OutRequestNo string `json:"out_request_no"`
	FailReason   string `json:"fail_reason,omitempty"`
}

type PcreditHuabeiAuthSettleApplyRsp

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 PublicCertDownload

type PublicCertDownload struct {
	ErrorResponse
	AlipayCertContent string `json:"alipay_cert_content"`
}

type PublicCertDownloadRsp

type PublicCertDownloadRsp struct {
	Response *PublicCertDownload `json:"alipay_open_app_alipaycert_download_response"`
}

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

type QuitConfig

type QuitConfig struct {
	QuitType    string `json:"quit_type"`
	QuitJumpUrl string `json:"quit_jump_url"`
	QuitDesc    string `json:"quit_desc"`
}

type Receiver

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

type RefundPresetPaytool struct {
	Amount         []string `json:"amount,omitempty"`
	AssertTypeCode string   `json:"assert_type_code,omitempty"`
}

type RefundRoyalty

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

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

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

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

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

type ScoreGet struct {
	ErrorResponse
	BizNo   string `json:"biz_no,omitempty"`
	ZmScore string `json:"zm_score,omitempty"`
}

type SecurityCustomerRiskSend

type SecurityCustomerRiskSend struct {
	ErrorResponse
}

type SecurityCustomerRiskSendRsp

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 SettlementConfig

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

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

type SpecialVoucherInfo struct {
	SpecialAmount string `json:"special_amount"`
	FloorAmount   string `json:"floor_amount"`
}

type SubFee

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 TicketTransInfo

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

type TimeRangeInfo struct {
	BeginTime   string       `json:"begin_time"`
	EndTimeInfo *EndTimeInfo `json:"end_time_info"`
}

type TimeRestrictInfo

type TimeRestrictInfo struct {
	UsablePeriodInfo  []*UsablePeriodInfoItem  `json:"usable_period_info"`
	DisablePeriodInfo []*DisablePeriodInfoItem `json:"disable_period_info"`
}

type Token

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

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

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

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

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

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

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

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

type TradeItemorderBuy struct {
	ErrorResponse
	OrderNo        string `json:"order_no"`
	TradeNo        string `json:"trade_no"`
	CashierOrderId string `json:"cashier_order_id,omitempty"`
}

type TradeOrderInfoSync

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

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

type TradeOrderOnSettleQuery struct {
	ErrorResponse
	UnsettledAmount string `json:"unsettled_amount,omitempty"`
}

type TradeOrderOnSettleQueryResponse

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

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

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

type TradeOrderSettle struct {
	ErrorResponse
	TradeNo string `json:"trade_no,omitempty"`
}

type TradeOrderSettleQuery

type TradeOrderSettleQuery struct {
	ErrorResponse
	OutTradeNo        string           `json:"out_request_no"`
	OperationDt       string           `json:"operation_dt"`
	RoyaltyDetailList []*RoyaltyDetail `json:"royalty_detail_list"`
}

type TradeOrderSettleQueryResponse

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

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

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

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

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

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

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

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

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

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

type TradeRelationBindResponse

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

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

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

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

type TradeRoyaltyRateQuery struct {
	ErrorResponse
	UserId   string `json:"user_id,omitempty"`
	MaxRatio string `json:"max_ratio,omitempty"`
}

type TradeRoyaltyRateQueryResponse

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

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

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

type TradeSettleInfo struct {
	//trade_unsettled_amount|剩余待结算金额
	TradeUnsettledAmount  string               `json:"trade_unsettled_amount,omitempty"`
	TradeSettleDetailList []*TradeSettleDetail `json:"trade_settle_detail_list,omitempty"`
}

type TransUniTransfer

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

type UidTelPair struct {
	UserId string `json:"user_id"`
	OpenId string `json:"open_id"`
}

type UsablePeriodInfoItem

type UsablePeriodInfoItem struct {
	RuleType     string        `json:"rule_type"`
	WeekRuleInfo *WeekRuleInfo `json:"week_rule_info"`
}

type UserAgreementExecutionplanModify

type UserAgreementExecutionplanModify struct {
	ErrorResponse
	AgreementNo string `json:"agreement_no"`
	DeductTime  string `json:"deduct_time"`
}

type UserAgreementExecutionplanModifyRsp

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

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

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

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

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

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

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

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

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

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

type UserAlipaypointSend struct {
	ErrorResponse
	RecordId string `json:"record_id"`
}

type UserAlipaypointSendRsp

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

type UserAuthRelationshipQuery struct {
	ErrorResponse
	QueryDetail string `json:"query_detail"`
}

type UserAuthRelationshipQueryRsp

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

type UserAuthZhimaorgIdentityApply struct {
	ErrorResponse
	AccessToken   string `json:"access_token"`
	AuthTokenType string `json:"auth_token_type,omitempty"`
	RefreshToken  string `json:"refresh_token"`
}

type UserAuthZhimaorgIdentityApplyRsp

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

type UserCertdocCertverifyConsult struct {
	ErrorResponse
	Passed     string `json:"passed"`
	FailReason string `json:"fail_reason,omitempty"`
	FailParams string `json:"fail_params,omitempty"`
}

type UserCertdocCertverifyConsultRsp

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

type UserCertdocCertverifyPreconsult struct {
	ErrorResponse
	VerifyId string `json:"verify_id"`
}

type UserCertdocCertverifyPreconsultRsp

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

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

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

type UserCharityRecordexistQuery struct {
	ErrorResponse
	DonationTag string `json:"donation_tag"`
}

type UserCharityRecordexistQueryRsp

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

type UserDelOAuthDetailQuery struct {
	ErrorResponse
	Details []*DelOAuthDetail `json:"details"`
}

type UserDelOAuthDetailQueryRsp

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

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

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

type UserFamilyArchiveInitialize struct {
	ErrorResponse
	ArchivePluginUrl string `json:"archive_plugin_url"`
}

type UserFamilyArchiveInitializeRsp

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

type UserFamilyArchiveQuery struct {
	ErrorResponse
	ArchiveList []*FamilyArchiveDetail `json:"archive_list"`
}

type UserFamilyArchiveQueryRsp

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

type UserFamilyShareZmgoInitialize struct {
	ErrorResponse
	Shareable         bool   `json:"shareable"`
	HasSharing        bool   `json:"has_sharing"`
	FamilySharingLink string `json:"family_sharing_link"`
}

type UserFamilyShareZmgoInitializeRsp

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

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

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

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

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

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

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 VoucherAvailableAccountInfo

type VoucherAvailableAccountInfo struct {
	AvailablePids  []string `json:"available_pids"`
	AvailableSmids []string `json:"available_smids"`
}

type VoucherAvailableAppInfo

type VoucherAvailableAppInfo struct {
	AvailableAppIds []string `json:"available_app_ids"`
}

type VoucherAvailableGeographyScopeInfo

type VoucherAvailableGeographyScopeInfo struct {
	AvailableGeographyScopeType string                      `json:"available_geography_scope_type"`
	AvailableGeographyShopInfo  *AvailableGeographyShopInfo `json:"available_geography_shop_info"`
}

type VoucherAvailableGoodsInfo

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

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 VoucherBalanceRechargeInfo

type VoucherBalanceRechargeInfo struct {
	LogonId   string `json:"logon_id"`
	PartnerId string `json:"partner_id"`
	Amount    string `json:"amount"`
}

type VoucherBudgetSupplyInfo

type VoucherBudgetSupplyInfo struct {
	BudgetType          string               `json:"budget_type"`
	VoucherRechargeInfo *VoucherRechargeInfo `json:"voucher_recharge_info"`
}

type VoucherConsult

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

type VoucherCustomerGuideInfo struct {
	VoucherUseGuideInfo *VoucherUseGuideInfo `json:"voucher_use_guide_info"`
}

type VoucherDeductInfo

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

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

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

type VoucherInventoryInfo struct {
	SendCount int `json:"send_count"`
	UseCount  int `json:"use_count"`
}

type VoucherPackageModeInfo

type VoucherPackageModeInfo struct {
	VoucherPackageId string `json:"voucher_package_id"`
}

type VoucherRechargeInfo

type VoucherRechargeInfo struct {
	RechargeType               string                      `json:"recharge_type"`
	VoucherBalanceRechargeInfo *VoucherBalanceRechargeInfo `json:"voucher_balance_recharge_info"`
}

type VoucherSaleModeInfo

type VoucherSaleModeInfo struct {
	SaleAmount        string `json:"sale_amount"`
	Refundable        bool   `json:"refundable"`
	OverdueRefundable bool   `json:"overdue_refundable"`
}

type VoucherSendModeInfo

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

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 VoucherUseGuideInfo

type VoucherUseGuideInfo struct {
	UseGuideMode        []string             `json:"use_guide_mode"`
	MiniAppUseGuideInfo *MiniAppUseGuideInfo `json:"mini_app_use_guide_info"`
}

type VoucherUseRuleInfo

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

type VoucherUseTimeInfo struct {
	PeriodType         string              `json:"period_type"`
	AbsolutePeriodInfo *AbsolutePeriodInfo `json:"absolute_period_info"`
	RelativePeriodInfo *RelativePeriodInfo `json:"relative_period_info"`
}

type WaitRepaymentOrderInfo

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

type WeekRuleInfo struct {
	WeekDay       string         `json:"week_day"`
	TimeRangeInfo *TimeRangeInfo `json:"time_range_info"`
}

type ZhimaCreditEpSceneAgreementCancel

type ZhimaCreditEpSceneAgreementCancel struct {
	ErrorResponse
	CreditOrderNo string `json:"credit_order_no"`
}

type ZhimaCreditEpSceneAgreementCancelRsp

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

type ZhimaCreditEpSceneAgreementUse struct {
	ErrorResponse
	CreditOrderNo string `json:"credit_order_no"`
}

type ZhimaCreditEpSceneAgreementUseRsp

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

type ZhimaCreditEpSceneFulfillmentSync struct {
	ErrorResponse
	FulfillmentOrderNo string `json:"fulfillment_order_no"`
}

type ZhimaCreditEpSceneFulfillmentSyncRsp

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

type ZhimaCreditEpSceneFulfillmentlistSync struct {
	ErrorResponse
	FulfillmentResultList []*FulfillmentResult `json:"fulfillment_result_list"`
}

type ZhimaCreditEpSceneFulfillmentlistSyncRsp

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

type ZhimaCreditEpSceneRatingInitialize struct {
	ErrorResponse
	OrderNo string `json:"order_no"`
}

type ZhimaCreditEpSceneRatingInitializeRsp

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

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

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

type ZhimaCreditPayAfterUseCreditBizOrder struct {
	ErrorResponse
	OutOrderNo       string `json:"out_order_no"`
	CreditBizOrderId string `json:"credit_biz_order_id"`
}

type ZhimaCreditPayAfterUseCreditBizOrderFinish

type ZhimaCreditPayAfterUseCreditBizOrderFinish struct {
	ErrorResponse
	OutRequestNo     string `json:"out_request_no"`
	CreditBizOrderId string `json:"credit_biz_order_id"`
	OrderStatus      string `json:"order_status"`
}

type ZhimaCreditPayAfterUseCreditBizOrderFinishRsp

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

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

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

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

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

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

type ZhimaCreditPeZmgoAgreementUnsign struct {
	ErrorResponse
	AgreementId    string `json:"agreement_id"`
	WithholdPlanNo string `json:"withhold_plan_no"`
}

type ZhimaCreditPeZmgoAgreementUnsignRsp

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

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

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

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

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

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

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

type ZhimaCreditPeZmgoPaysignConfirm struct {
	ErrorResponse
	AgreementId string `json:"agreement_id,omitempty"`
}

type ZhimaCreditPeZmgoPaysignConfirmRsp

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

type ZhimaCreditPeZmgoPreorderCreate struct {
	ErrorResponse
	PreorderNo string `json:"preorder_no"`
	PartnerId  string `json:"partner_id"`
	BizType    string `json:"biz_type"`
}

type ZhimaCreditPeZmgoPreorderCreateRsp

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

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

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

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

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

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

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

type ZhimaCustomerJobworthAdapterQuery struct {
	ErrorResponse
	AdapterScore string `json:"adapter_score,omitempty"`
	Url          string `json:"url,omitempty"`
}

type ZhimaCustomerJobworthAdapterQueryRsp

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

type ZhimaCustomerJobworthAuthPreConsult struct {
	ErrorResponse
	PreCheckSuccess bool   `json:"pre_check_success"`
	Reason          string `json:"reason"`
}

type ZhimaCustomerJobworthAuthPreConsultRsp

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

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

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

type ZhimaCustomerJobworthSceneUse struct {
	ErrorResponse
}

type ZhimaCustomerJobworthSceneUseRsp

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

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

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

type ZhimaMerchantZmgoCumulateSync struct {
	ErrorResponse
	AgreementId string `json:"agreement_id"`
	OutBizNo    string `json:"out_biz_no"`
	FailReason  string `json:"fail_reason,omitempty"`
}

type ZhimaMerchantZmgoCumulateSyncRsp

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

type ZhimaMerchantZmgoTemplateCreate struct {
	ErrorResponse
	TemplateNo string `json:"template_no"`
}

type ZhimaMerchantZmgoTemplateCreateRsp

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

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

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

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

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

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

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