axintrade

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

阿信-交易API model

https://open.taobao.com/API.htm?docId=55695&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AxinFundConfirmResDto

type AxinFundConfirmResDto struct {
	// 外部订单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 结算金额
	SettleAmount int64 `json:"settle_amount,omitempty" xml:"settle_amount,omitempty"`
}

AxinFundConfirmResDto

type AxinFundCreateDto

type AxinFundCreateDto struct {
	// 支付方支付宝账号id
	PayerAlipayId string `json:"payer_alipay_id,omitempty" xml:"payer_alipay_id,omitempty"`
	// 支付方账号
	PayerAccount string `json:"payer_account,omitempty" xml:"payer_account,omitempty"`
	// 支付方昵称
	PayerNick string `json:"payer_nick,omitempty" xml:"payer_nick,omitempty"`
	// 订单ID
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 付款方式
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 收付款账号类型
	AccountType int64 `json:"account_type,omitempty" xml:"account_type,omitempty"`
	// 收款方支付宝账号id
	ReceiverAlipayId string `json:"receiver_alipay_id,omitempty" xml:"receiver_alipay_id,omitempty"`
	// 收款方账号
	ReceiverAccount string `json:"receiver_account,omitempty" xml:"receiver_account,omitempty"`
	// 收款方昵称
	ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"`
	// 二级商户smid
	Smid string `json:"smid,omitempty" xml:"smid,omitempty"`
	// 正向资金单ID,仅在逆向资金单上使用
	PayFundId int64 `json:"pay_fund_id,omitempty" xml:"pay_fund_id,omitempty"`
	// 交易方式
	TradeType string `json:"trade_type,omitempty" xml:"trade_type,omitempty"`
	// 请求版本号,用于幂等校验
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 付款来源,默认105直付通
	TradeSource int64 `json:"trade_source,omitempty" xml:"trade_source,omitempty"`
	// 扩展属性,json格式
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 付款金额总额,单位分
	PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"`
	// 支付宝回调地址
	NotifyUrl string `json:"notify_url,omitempty" xml:"notify_url,omitempty"`
	// 买家实名信息
	ExtUserInfo *ExtUserInfoDto `json:"ext_user_info,omitempty" xml:"ext_user_info,omitempty"`
	// 商品标题、交易标题、订单关键字等
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// 交易渠道,1-借记,2-贷记
	TradeChannel int64 `json:"trade_channel,omitempty" xml:"trade_channel,omitempty"`
}

AxinFundCreateDto

type AxinFundCreateResDto

type AxinFundCreateResDto struct {
	// 资金单ID
	FundId string `json:"fund_id,omitempty" xml:"fund_id,omitempty"`
	// 阿信支付宝账号appID
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 支付宝返回的拼接串
	AlipayBody string `json:"alipay_body,omitempty" xml:"alipay_body,omitempty"`
	// 商户原始订单号,最大长度限制32位
	MerchantOrderNo string `json:"merchant_order_no,omitempty" xml:"merchant_order_no,omitempty"`
	// 商户订单号,由商家自定义
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
	// 收款支付宝账号对应的支付宝唯一用户号
	SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 该笔订单的资金总额,单位为RMB-Yuan
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 该交易在支付宝系统中的交易流水号
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
}

AxinFundCreateResDto

type AxinFundDto

type AxinFundDto struct {
	// 支付宝交易号
	AlipayOrderId string `json:"alipay_order_id,omitempty" xml:"alipay_order_id,omitempty"`
	// 支付宝外部商户号
	AlipayOuterId string `json:"alipay_outer_id,omitempty" xml:"alipay_outer_id,omitempty"`
	// 扩展属性
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 主键
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 订单ID
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 付款金额总额
	PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"`
	// 正向资金单ID,仅在逆向资金单上使用
	PayFundId int64 `json:"pay_fund_id,omitempty" xml:"pay_fund_id,omitempty"`
	// 支付订单号(即tp订单号或支付宝流水号)
	PayOrderId string `json:"pay_order_id,omitempty" xml:"pay_order_id,omitempty"`
	// 付款时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 付款方式
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 支付方账号
	PayerAccount string `json:"payer_account,omitempty" xml:"payer_account,omitempty"`
	// 支付方账号类型
	PayerAccountType int64 `json:"payer_account_type,omitempty" xml:"payer_account_type,omitempty"`
	// 付款方账号id
	PayerAlipayId string `json:"payer_alipay_id,omitempty" xml:"payer_alipay_id,omitempty"`
	// 支付方昵称
	PayerNick string `json:"payer_nick,omitempty" xml:"payer_nick,omitempty"`
	// 支付方淘宝ID
	PayerTid int64 `json:"payer_tid,omitempty" xml:"payer_tid,omitempty"`
	// 收款方账号
	ReceiverAccount string `json:"receiver_account,omitempty" xml:"receiver_account,omitempty"`
	// 收款方账号类型
	ReceiverAccountType int64 `json:"receiver_account_type,omitempty" xml:"receiver_account_type,omitempty"`
	// 收款方账号id
	ReceiverAlipayId string `json:"receiver_alipay_id,omitempty" xml:"receiver_alipay_id,omitempty"`
	// 收款方昵称
	ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"`
	// 收款方淘宝ID
	ReceiverTid int64 `json:"receiver_tid,omitempty" xml:"receiver_tid,omitempty"`
	// 请求版本号
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 二级商户smid
	Smid string `json:"smid,omitempty" xml:"smid,omitempty"`
	// 资金单状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 付款来源
	TradeSource int64 `json:"trade_source,omitempty" xml:"trade_source,omitempty"`
	// 交易方式
	TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"`
}

AxinFundDto

type AxinFundListQueryDto

type AxinFundListQueryDto struct {
	// 资金单类型
	FundStatus []int64 `json:"fund_status,omitempty" xml:"fund_status>int64,omitempty"`
	// 外部订单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
}

AxinFundListQueryDto

type AxinFundUpdateDto

type AxinFundUpdateDto struct {
	// 请求版本号,用于幂等校验
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 扩展属性
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 支付宝交易号
	AlipayOrderId string `json:"alipay_order_id,omitempty" xml:"alipay_order_id,omitempty"`
	// 资金单ID
	FundId int64 `json:"fund_id,omitempty" xml:"fund_id,omitempty"`
	// 订单ID
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
}

AxinFundUpdateDto

type AxinPayCheckSignDto

type AxinPayCheckSignDto struct {
	// 业务场景
	BizScene string `json:"biz_scene,omitempty" xml:"biz_scene,omitempty"`
	// 验签数据
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

AxinPayCheckSignDto

type AxinPayImgUploadDto

type AxinPayImgUploadDto struct {
	// 图片类型
	ImageType string `json:"image_type,omitempty" xml:"image_type,omitempty"`
	// 文件名
	FileName string `json:"file_name,omitempty" xml:"file_name,omitempty"`
}

AxinPayImgUploadDto

type AxinPayImgUploadResDTO

type AxinPayImgUploadResDTO struct {
	// 图片id
	ImgId string `json:"img_id,omitempty" xml:"img_id,omitempty"`
}

AxinPayImgUploadResDTO

type AxinPayRegisterAddress

type AxinPayRegisterAddress struct {
	// 详细地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 区县编码
	DistrictCode string `json:"district_code,omitempty" xml:"district_code,omitempty"`
	// 城市code
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 省code
	ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 国家code
	CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
}

AxinPayRegisterAddress

type AxinPayRegisterAuditDto

type AxinPayRegisterAuditDto struct {
	// 审核结果
	AuditResult bool `json:"audit_result,omitempty" xml:"audit_result,omitempty"`
	// 商户code
	ExternalId string `json:"external_id,omitempty" xml:"external_id,omitempty"`
	// 备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 支付平台入驻申请单号
	PayPlatformApplyOrder string `json:"pay_platform_apply_order,omitempty" xml:"pay_platform_apply_order,omitempty"`
	// 支付入驻域申请单号
	PayRegisterOrderNo string `json:"pay_register_order_no,omitempty" xml:"pay_register_order_no,omitempty"`
	// 拒绝原因code
	RejectReasonCode string `json:"reject_reason_code,omitempty" xml:"reject_reason_code,omitempty"`
	// 拒绝原因描述
	RejectReasonDesc string `json:"reject_reason_desc,omitempty" xml:"reject_reason_desc,omitempty"`
	// 支付平台商家编码,smid
	PayMerchantCode string `json:"pay_merchant_code,omitempty" xml:"pay_merchant_code,omitempty"`
}

AxinPayRegisterAuditDto

type AxinPayRegisterCreateDto

type AxinPayRegisterCreateDto struct {
	// 法人身份证
	LegalCertType string `json:"legal_cert_type,omitempty" xml:"legal_cert_type,omitempty"`
	// 站点信息
	Sites []AxinPayRegisterSiteInfo `json:"sites,omitempty" xml:"sites>axin_pay_register_site_info,omitempty"`
	// 结算支付宝账号
	AlipayLogonId string `json:"alipay_logon_id,omitempty" xml:"alipay_logon_id,omitempty"`
	// 商户使用服务
	Service []string `json:"service,omitempty" xml:"service>string,omitempty"`
	// 联系人电话
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 联系人名字
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 客服电话
	ServicePhone string `json:"service_phone,omitempty" xml:"service_phone,omitempty"`
	// 营业地址
	BusinessAddress *AxinPayRegisterAddress `json:"business_address,omitempty" xml:"business_address,omitempty"`
	// 法人身份证反面url
	LegalCertFrontImage string `json:"legal_cert_front_image,omitempty" xml:"legal_cert_front_image,omitempty"`
	// 法人身份证件号
	LegalCertNo string `json:"legal_cert_no,omitempty" xml:"legal_cert_no,omitempty"`
	// 法人名称
	LegalName string `json:"legal_name,omitempty" xml:"legal_name,omitempty"`
	// 商户证件图片url
	CertImage string `json:"cert_image,omitempty" xml:"cert_image,omitempty"`
	// 商户证件类型
	CertType string `json:"cert_type,omitempty" xml:"cert_type,omitempty"`
	// 商户证件编号
	CertNo string `json:"cert_no,omitempty" xml:"cert_no,omitempty"`
	// 商户类别码mcc
	Mcc string `json:"mcc,omitempty" xml:"mcc,omitempty"`
	// 商户类型
	MerchantType string `json:"merchant_type,omitempty" xml:"merchant_type,omitempty"`
	// 商户别名
	AliasName string `json:"alias_name,omitempty" xml:"alias_name,omitempty"`
	// 商户名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 商户编号
	ExternalId string `json:"external_id,omitempty" xml:"external_id,omitempty"`
	// 法人身份证反面url
	LegalCertBackImage string `json:"legal_cert_back_image,omitempty" xml:"legal_cert_back_image,omitempty"`
	// 行业资格证
	Qualifications []AxinPayRegisterQualification `json:"qualifications,omitempty" xml:"qualifications>axin_pay_register_qualification,omitempty"`
	// 支付宝签约账号
	BindingAlipayLogonId string `json:"binding_alipay_logon_id,omitempty" xml:"binding_alipay_logon_id,omitempty"`
}

AxinPayRegisterCreateDto

type AxinPayRegisterCreateResDto

type AxinPayRegisterCreateResDto struct {
	// 支付宝返回的申请单号
	ApplyOrderId string `json:"apply_order_id,omitempty" xml:"apply_order_id,omitempty"`
	// 支付平台申请单号
	PayRegisterOrderNo string `json:"pay_register_order_no,omitempty" xml:"pay_register_order_no,omitempty"`
}

AxinPayRegisterCreateResDto

type AxinPayRegisterQualification

type AxinPayRegisterQualification struct {
	// 行业资格证图片ID
	ImageId string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// 类型
	Type string `json:"type,omitempty" xml:"type,omitempty"`
}

AxinPayRegisterQualification

type AxinPayRegisterSiteInfo

type AxinPayRegisterSiteInfo struct {
	// 站点地址
	SiteUrl string `json:"site_url,omitempty" xml:"site_url,omitempty"`
	// 网站名称
	SiteName string `json:"site_name,omitempty" xml:"site_name,omitempty"`
	// 网站:01APP : 02服务窗:03公众号:04其他:05支付宝小程序:06
	SiteType string `json:"site_type,omitempty" xml:"site_type,omitempty"`
}

AxinPayRegisterSiteInfo

type AxinRefundCreateDto

type AxinRefundCreateDto struct {
	// 扩展字段(k:v结构)
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 退款说明
	RefundExplanation string `json:"refund_explanation,omitempty" xml:"refund_explanation,omitempty"`
	// 退款原因
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// 退款金额
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 请求版本号,用于幂等校验
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 外部订单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
}

AxinRefundCreateDto

type AxinRefundCreateResDto

type AxinRefundCreateResDto struct {
	// 实退金额
	ActualFee int64 `json:"actual_fee,omitempty" xml:"actual_fee,omitempty"`
	// 退款金额
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 请求版本号,用于幂等校验
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 外部订单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
}

AxinRefundCreateResDto

type BaseResultDto

type BaseResultDto struct {
	// 是否处理审核结果成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 错误code
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 信息提示
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

BaseResultDto

type ExtUserInfoDto

type ExtUserInfoDto struct {
	// 指定买家支付宝实名证件号
	ExtUserCertNo string `json:"ext_user_cert_no,omitempty" xml:"ext_user_cert_no,omitempty"`
	// 指定买家支付宝实名证件类型
	ExtUserCertType string `json:"ext_user_cert_type,omitempty" xml:"ext_user_cert_type,omitempty"`
	// 指定买家支付宝实名姓名
	ExtUserName string `json:"ext_user_name,omitempty" xml:"ext_user_name,omitempty"`
}

ExtUserInfoDto

type TaobaoAlitripAxinTransFundAddAPIResponse

type TaobaoAlitripAxinTransFundAddAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundAddResponse
}

创建资金单接口 API返回值 taobao.alitrip.axin.trans.fund.add

创建资金单

type TaobaoAlitripAxinTransFundAddRequest

type TaobaoAlitripAxinTransFundAddRequest struct {
	model.Params
	// contains filtered or unexported fields
}

创建资金单接口 API请求 taobao.alitrip.axin.trans.fund.add

创建资金单

func NewTaobaoAlitripAxinTransFundAddRequest

func NewTaobaoAlitripAxinTransFundAddRequest() *TaobaoAlitripAxinTransFundAddRequest

初始化TaobaoAlitripAxinTransFundAddRequest对象

func (TaobaoAlitripAxinTransFundAddRequest) GetApiMethodName

func (r TaobaoAlitripAxinTransFundAddRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundAddRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundAddRequest) GetAxinFundCreateDTO

func (r TaobaoAlitripAxinTransFundAddRequest) GetAxinFundCreateDTO() *AxinFundCreateDto

AxinFundCreateDTO Getter

func (*TaobaoAlitripAxinTransFundAddRequest) SetAxinFundCreateDTO

func (r *TaobaoAlitripAxinTransFundAddRequest) SetAxinFundCreateDTO(axinFundCreateDTO *AxinFundCreateDto) error

AxinFundCreateDTO Setter 创建资金单接口入参

type TaobaoAlitripAxinTransFundAddResponse

type TaobaoAlitripAxinTransFundAddResponse struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_fund_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransFundAddResult `json:"result,omitempty" xml:"result,omitempty"`
}

创建资金单接口 成功返回结果

type TaobaoAlitripAxinTransFundAddResult

type TaobaoAlitripAxinTransFundAddResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 接口提示信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回素材id
	Data *AxinFundCreateResDto `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

TaobaoAlitripAxinTransFundAddResult

type TaobaoAlitripAxinTransFundConfirmAPIResponse

type TaobaoAlitripAxinTransFundConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundConfirmResponse
}

确认资金单 API返回值 taobao.alitrip.axin.trans.fund.confirm

通过外部订单号进行资金结算

type TaobaoAlitripAxinTransFundConfirmRequest

type TaobaoAlitripAxinTransFundConfirmRequest struct {
	model.Params
	// contains filtered or unexported fields
}

确认资金单 API请求 taobao.alitrip.axin.trans.fund.confirm

通过外部订单号进行资金结算

func NewTaobaoAlitripAxinTransFundConfirmRequest

func NewTaobaoAlitripAxinTransFundConfirmRequest() *TaobaoAlitripAxinTransFundConfirmRequest

初始化TaobaoAlitripAxinTransFundConfirmRequest对象

func (TaobaoAlitripAxinTransFundConfirmRequest) GetApiMethodName

func (r TaobaoAlitripAxinTransFundConfirmRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundConfirmRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundConfirmRequest) GetOuterOrderId

OuterOrderId Getter

func (*TaobaoAlitripAxinTransFundConfirmRequest) SetOuterOrderId

func (r *TaobaoAlitripAxinTransFundConfirmRequest) SetOuterOrderId(outerOrderId string) error

OuterOrderId Setter 外部订单编号

type TaobaoAlitripAxinTransFundConfirmResponse

type TaobaoAlitripAxinTransFundConfirmResponse struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_fund_confirm_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 简单数据类型出参,用于测试top接入流程
	Result *TaobaoAlitripAxinTransFundConfirmResult `json:"result,omitempty" xml:"result,omitempty"`
}

确认资金单 成功返回结果

type TaobaoAlitripAxinTransFundConfirmResult

type TaobaoAlitripAxinTransFundConfirmResult struct {
	// 接口出参
	Data *AxinFundConfirmResDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 描述信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

TaobaoAlitripAxinTransFundConfirmResult

type TaobaoAlitripAxinTransFundQueryByOrderAPIResponse

type TaobaoAlitripAxinTransFundQueryByOrderAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundQueryByOrderResponse
}

通过外部订单ID查询所有资金单 API返回值 taobao.alitrip.axin.trans.fund.query.by.order

阿信供销平台-通过外部订单ID查询所有资金单

type TaobaoAlitripAxinTransFundQueryByOrderRequest

type TaobaoAlitripAxinTransFundQueryByOrderRequest struct {
	model.Params
	// contains filtered or unexported fields
}

通过外部订单ID查询所有资金单 API请求 taobao.alitrip.axin.trans.fund.query.by.order

阿信供销平台-通过外部订单ID查询所有资金单

func NewTaobaoAlitripAxinTransFundQueryByOrderRequest

func NewTaobaoAlitripAxinTransFundQueryByOrderRequest() *TaobaoAlitripAxinTransFundQueryByOrderRequest

初始化TaobaoAlitripAxinTransFundQueryByOrderRequest对象

func (TaobaoAlitripAxinTransFundQueryByOrderRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundQueryByOrderRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundQueryByOrderRequest) GetParamAxinFundListQueryDTO

func (r TaobaoAlitripAxinTransFundQueryByOrderRequest) GetParamAxinFundListQueryDTO() *AxinFundListQueryDto

ParamAxinFundListQueryDTO Getter

func (*TaobaoAlitripAxinTransFundQueryByOrderRequest) SetParamAxinFundListQueryDTO

func (r *TaobaoAlitripAxinTransFundQueryByOrderRequest) SetParamAxinFundListQueryDTO(paramAxinFundListQueryDTO *AxinFundListQueryDto) error

ParamAxinFundListQueryDTO Setter 入参

type TaobaoAlitripAxinTransFundQueryByOrderResponse

type TaobaoAlitripAxinTransFundQueryByOrderResponse struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_fund_query_by_order_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransFundQueryByOrderResult `json:"result,omitempty" xml:"result,omitempty"`
}

通过外部订单ID查询所有资金单 成功返回结果

type TaobaoAlitripAxinTransFundQueryByOrderResult

type TaobaoAlitripAxinTransFundQueryByOrderResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 描述信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 出参
	Data *AxinFundDTO `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoAlitripAxinTransFundQueryByOrderResult

type TaobaoAlitripAxinTransFundUpdateAPIResponse

type TaobaoAlitripAxinTransFundUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundUpdateResponse
}

修改资金单接口 API返回值 taobao.alitrip.axin.trans.fund.update

阿信供销平台-修改资金单接口

type TaobaoAlitripAxinTransFundUpdateRequest

type TaobaoAlitripAxinTransFundUpdateRequest struct {
	model.Params
	// contains filtered or unexported fields
}

修改资金单接口 API请求 taobao.alitrip.axin.trans.fund.update

阿信供销平台-修改资金单接口

func NewTaobaoAlitripAxinTransFundUpdateRequest

func NewTaobaoAlitripAxinTransFundUpdateRequest() *TaobaoAlitripAxinTransFundUpdateRequest

初始化TaobaoAlitripAxinTransFundUpdateRequest对象

func (TaobaoAlitripAxinTransFundUpdateRequest) GetApiMethodName

func (r TaobaoAlitripAxinTransFundUpdateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundUpdateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundUpdateRequest) GetAxinFundUpdateDTO

AxinFundUpdateDTO Getter

func (*TaobaoAlitripAxinTransFundUpdateRequest) SetAxinFundUpdateDTO

func (r *TaobaoAlitripAxinTransFundUpdateRequest) SetAxinFundUpdateDTO(axinFundUpdateDTO *AxinFundUpdateDto) error

AxinFundUpdateDTO Setter 更新资金单接口入参

type TaobaoAlitripAxinTransFundUpdateResponse

type TaobaoAlitripAxinTransFundUpdateResponse struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_fund_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransFundUpdateResult `json:"result,omitempty" xml:"result,omitempty"`
}

修改资金单接口 成功返回结果

type TaobaoAlitripAxinTransFundUpdateResult

type TaobaoAlitripAxinTransFundUpdateResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 提示信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 成功数量
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoAlitripAxinTransFundUpdateResult

type TaobaoAlitripAxinTransPayImgUploadAPIResponse

type TaobaoAlitripAxinTransPayImgUploadAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayImgUploadResponse
}

上传图片到支付宝图片空间接口 API返回值 taobao.alitrip.axin.trans.pay.img.upload

阿信供销平台-上传图片到支付宝图片空间接口

type TaobaoAlitripAxinTransPayImgUploadRequest

type TaobaoAlitripAxinTransPayImgUploadRequest struct {
	model.Params
	// contains filtered or unexported fields
}

上传图片到支付宝图片空间接口 API请求 taobao.alitrip.axin.trans.pay.img.upload

阿信供销平台-上传图片到支付宝图片空间接口

func NewTaobaoAlitripAxinTransPayImgUploadRequest

func NewTaobaoAlitripAxinTransPayImgUploadRequest() *TaobaoAlitripAxinTransPayImgUploadRequest

初始化TaobaoAlitripAxinTransPayImgUploadRequest对象

func (TaobaoAlitripAxinTransPayImgUploadRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayImgUploadRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayImgUploadRequest) GetAxinPayImgUploadDTO

AxinPayImgUploadDTO Getter

func (TaobaoAlitripAxinTransPayImgUploadRequest) GetImgContents

ImgContents Getter

func (*TaobaoAlitripAxinTransPayImgUploadRequest) SetAxinPayImgUploadDTO

func (r *TaobaoAlitripAxinTransPayImgUploadRequest) SetAxinPayImgUploadDTO(axinPayImgUploadDTO *AxinPayImgUploadDto) error

AxinPayImgUploadDTO Setter 上传图片到支付宝图片空间接口入参

func (*TaobaoAlitripAxinTransPayImgUploadRequest) SetImgContents

func (r *TaobaoAlitripAxinTransPayImgUploadRequest) SetImgContents(imgContents []*model.File) error

ImgContents Setter 图片字节流

type TaobaoAlitripAxinTransPayImgUploadResponse

type TaobaoAlitripAxinTransPayImgUploadResponse struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_pay_img_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransPayImgUploadResult `json:"result,omitempty" xml:"result,omitempty"`
}

上传图片到支付宝图片空间接口 成功返回结果

type TaobaoAlitripAxinTransPayImgUploadResult

type TaobaoAlitripAxinTransPayImgUploadResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 提示信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回素材id
	Data *AxinPayImgUploadResDTO `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoAlitripAxinTransPayImgUploadResult

type TaobaoAlitripAxinTransPayRegisterAuditAPIResponse

type TaobaoAlitripAxinTransPayRegisterAuditAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayRegisterAuditResponse
}

阿信支付入驻审核通知 API返回值 taobao.alitrip.axin.trans.pay.register.audit

阿信支付入驻审核通知

type TaobaoAlitripAxinTransPayRegisterAuditRequest

type TaobaoAlitripAxinTransPayRegisterAuditRequest struct {
	model.Params
	// contains filtered or unexported fields
}

阿信支付入驻审核通知 API请求 taobao.alitrip.axin.trans.pay.register.audit

阿信支付入驻审核通知

func NewTaobaoAlitripAxinTransPayRegisterAuditRequest

func NewTaobaoAlitripAxinTransPayRegisterAuditRequest() *TaobaoAlitripAxinTransPayRegisterAuditRequest

初始化TaobaoAlitripAxinTransPayRegisterAuditRequest对象

func (TaobaoAlitripAxinTransPayRegisterAuditRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayRegisterAuditRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayRegisterAuditRequest) GetAxinPayRegisterAuditDto

AxinPayRegisterAuditDto Getter

func (*TaobaoAlitripAxinTransPayRegisterAuditRequest) SetAxinPayRegisterAuditDto

func (r *TaobaoAlitripAxinTransPayRegisterAuditRequest) SetAxinPayRegisterAuditDto(axinPayRegisterAuditDto *AxinPayRegisterAuditDto) error

AxinPayRegisterAuditDto Setter 支付入驻审核对象

type TaobaoAlitripAxinTransPayRegisterAuditResponse

type TaobaoAlitripAxinTransPayRegisterAuditResponse struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_pay_register_audit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *BaseResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

阿信支付入驻审核通知 成功返回结果

type TaobaoAlitripAxinTransPayRegisterCreateAPIResponse

type TaobaoAlitripAxinTransPayRegisterCreateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayRegisterCreateResponse
}

提交支付服务开通 API返回值 taobao.alitrip.axin.trans.pay.register.create

阿信供销平台-提交支付服务开通接口

type TaobaoAlitripAxinTransPayRegisterCreateRequest

type TaobaoAlitripAxinTransPayRegisterCreateRequest struct {
	model.Params
	// contains filtered or unexported fields
}

提交支付服务开通 API请求 taobao.alitrip.axin.trans.pay.register.create

阿信供销平台-提交支付服务开通接口

func NewTaobaoAlitripAxinTransPayRegisterCreateRequest

func NewTaobaoAlitripAxinTransPayRegisterCreateRequest() *TaobaoAlitripAxinTransPayRegisterCreateRequest

初始化TaobaoAlitripAxinTransPayRegisterCreateRequest对象

func (TaobaoAlitripAxinTransPayRegisterCreateRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayRegisterCreateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayRegisterCreateRequest) GetCreateDTO

CreateDTO Getter

func (*TaobaoAlitripAxinTransPayRegisterCreateRequest) SetCreateDTO

CreateDTO Setter 提交支付服务开通接口入参

type TaobaoAlitripAxinTransPayRegisterCreateResponse

type TaobaoAlitripAxinTransPayRegisterCreateResponse struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_pay_register_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransPayRegisterCreateResult `json:"result,omitempty" xml:"result,omitempty"`
}

提交支付服务开通 成功返回结果

type TaobaoAlitripAxinTransPayRegisterCreateResult

type TaobaoAlitripAxinTransPayRegisterCreateResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 描述信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回素材id
	Data *AxinPayRegisterCreateResDto `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoAlitripAxinTransPayRegisterCreateResult

type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponse

type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayRegisterReapplyResponse
}

阿信支付入驻重新申请 API返回值 taobao.alitrip.axin.trans.pay.register.reapply

阿信支付入驻重新申请 用于支付平台驳回,商户提交时的业务场景

type TaobaoAlitripAxinTransPayRegisterReapplyRequest

type TaobaoAlitripAxinTransPayRegisterReapplyRequest struct {
	model.Params
	// contains filtered or unexported fields
}

阿信支付入驻重新申请 API请求 taobao.alitrip.axin.trans.pay.register.reapply

阿信支付入驻重新申请 用于支付平台驳回,商户提交时的业务场景

func NewTaobaoAlitripAxinTransPayRegisterReapplyRequest

func NewTaobaoAlitripAxinTransPayRegisterReapplyRequest() *TaobaoAlitripAxinTransPayRegisterReapplyRequest

初始化TaobaoAlitripAxinTransPayRegisterReapplyRequest对象

func (TaobaoAlitripAxinTransPayRegisterReapplyRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayRegisterReapplyRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayRegisterReapplyRequest) GetAxinPayRegisterCreateDTO

AxinPayRegisterCreateDTO Getter

func (*TaobaoAlitripAxinTransPayRegisterReapplyRequest) SetAxinPayRegisterCreateDTO

func (r *TaobaoAlitripAxinTransPayRegisterReapplyRequest) SetAxinPayRegisterCreateDTO(axinPayRegisterCreateDTO *AxinPayRegisterCreateDto) error

AxinPayRegisterCreateDTO Setter 阿信支付入驻重新申请参数

type TaobaoAlitripAxinTransPayRegisterReapplyResponse

type TaobaoAlitripAxinTransPayRegisterReapplyResponse struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_pay_register_reapply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果对象
	Result *BaseResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

阿信支付入驻重新申请 成功返回结果

type TaobaoAlitripAxinTransPaySignCheckAPIResponse

type TaobaoAlitripAxinTransPaySignCheckAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPaySignCheckResponse
}

阿信支付宝验签服务 API返回值 taobao.alitrip.axin.trans.pay.sign.check

阿信支付宝验签服务

type TaobaoAlitripAxinTransPaySignCheckRequest

type TaobaoAlitripAxinTransPaySignCheckRequest struct {
	model.Params
	// contains filtered or unexported fields
}

阿信支付宝验签服务 API请求 taobao.alitrip.axin.trans.pay.sign.check

阿信支付宝验签服务

func NewTaobaoAlitripAxinTransPaySignCheckRequest

func NewTaobaoAlitripAxinTransPaySignCheckRequest() *TaobaoAlitripAxinTransPaySignCheckRequest

初始化TaobaoAlitripAxinTransPaySignCheckRequest对象

func (TaobaoAlitripAxinTransPaySignCheckRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPaySignCheckRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPaySignCheckRequest) GetAxinPayCheckSignDto

AxinPayCheckSignDto Getter

func (*TaobaoAlitripAxinTransPaySignCheckRequest) SetAxinPayCheckSignDto

func (r *TaobaoAlitripAxinTransPaySignCheckRequest) SetAxinPayCheckSignDto(axinPayCheckSignDto *AxinPayCheckSignDto) error

AxinPayCheckSignDto Setter 验签对象

type TaobaoAlitripAxinTransPaySignCheckResponse

type TaobaoAlitripAxinTransPaySignCheckResponse struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_pay_sign_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果对象
	Result *BaseResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

阿信支付宝验签服务 成功返回结果

type TaobaoAlitripAxinTransRefundCreateAPIResponse

type TaobaoAlitripAxinTransRefundCreateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransRefundCreateResponse
}

阿信创建退款单 API返回值 taobao.alitrip.axin.trans.refund.create

阿信供销平台-创建退款单服务

type TaobaoAlitripAxinTransRefundCreateRequest

type TaobaoAlitripAxinTransRefundCreateRequest struct {
	model.Params
	// contains filtered or unexported fields
}

阿信创建退款单 API请求 taobao.alitrip.axin.trans.refund.create

阿信供销平台-创建退款单服务

func NewTaobaoAlitripAxinTransRefundCreateRequest

func NewTaobaoAlitripAxinTransRefundCreateRequest() *TaobaoAlitripAxinTransRefundCreateRequest

初始化TaobaoAlitripAxinTransRefundCreateRequest对象

func (TaobaoAlitripAxinTransRefundCreateRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransRefundCreateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransRefundCreateRequest) GetAxinRefundCreateDTO

AxinRefundCreateDTO Getter

func (*TaobaoAlitripAxinTransRefundCreateRequest) SetAxinRefundCreateDTO

func (r *TaobaoAlitripAxinTransRefundCreateRequest) SetAxinRefundCreateDTO(axinRefundCreateDTO *AxinRefundCreateDto) error

AxinRefundCreateDTO Setter 阿信创建退款单入参

type TaobaoAlitripAxinTransRefundCreateResponse

type TaobaoAlitripAxinTransRefundCreateResponse struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_refund_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransRefundCreateResult `json:"result,omitempty" xml:"result,omitempty"`
}

阿信创建退款单 成功返回结果

type TaobaoAlitripAxinTransRefundCreateResult

type TaobaoAlitripAxinTransRefundCreateResult struct {
	// 返回素材id
	Data *AxinRefundCreateResDto `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 提示信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripAxinTransRefundCreateResult

Source Files

Jump to

Keyboard shortcuts

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