axintrade

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package axintrade 包含阿信-交易API相关结构体

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"`
	// 收款方支付宝账号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"`
	// 交易方式
	TradeType string `json:"trade_type,omitempty" xml:"trade_type,omitempty"`
	// 请求版本号,用于幂等校验
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 扩展属性,json格式
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 支付宝回调地址
	NotifyUrl string `json:"notify_url,omitempty" xml:"notify_url,omitempty"`
	// 商品标题、交易标题、订单关键字等
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// 付款方式
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 收付款账号类型
	AccountType int64 `json:"account_type,omitempty" xml:"account_type,omitempty"`
	// 正向资金单ID,仅在逆向资金单上使用
	PayFundId int64 `json:"pay_fund_id,omitempty" xml:"pay_fund_id,omitempty"`
	// 付款来源,默认105直付通
	TradeSource int64 `json:"trade_source,omitempty" xml:"trade_source,omitempty"`
	// 付款金额总额,单位分
	PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"`
	// 买家实名信息
	ExtUserInfo *ExtUserInfoDto `json:"ext_user_info,omitempty" xml:"ext_user_info,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 {
	// 有效资金单列表
	FundList []AxinFundDto `json:"fund_list,omitempty" xml:"fund_list>axin_fund_dto,omitempty"`
	// 支付宝交易号
	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
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_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"`
	// 支付方账号
	PayerAccount string `json:"payer_account,omitempty" xml:"payer_account,omitempty"`
	// 付款方账号id
	PayerAlipayId string `json:"payer_alipay_id,omitempty" xml:"payer_alipay_id,omitempty"`
	// 支付方昵称
	PayerNick string `json:"payer_nick,omitempty" xml:"payer_nick,omitempty"`
	// 收款方账号
	ReceiverAccount string `json:"receiver_account,omitempty" xml:"receiver_account,omitempty"`
	// 收款方账号id
	ReceiverAlipayId string `json:"receiver_alipay_id,omitempty" xml:"receiver_alipay_id,omitempty"`
	// 收款方昵称
	ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"`
	// 请求版本号
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 二级商户smid
	Smid string `json:"smid,omitempty" xml:"smid,omitempty"`
	// 已支付总金额
	TotalPayedAmount int64 `json:"total_payed_amount,omitempty" xml:"total_payed_amount,omitempty"`
	// 主键
	Id int64 `json:"id,omitempty" xml:"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"`
	// 付款方式
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 支付方账号类型
	PayerAccountType int64 `json:"payer_account_type,omitempty" xml:"payer_account_type,omitempty"`
	// 支付方淘宝ID
	PayerTid int64 `json:"payer_tid,omitempty" xml:"payer_tid,omitempty"`
	// 收款方账号类型
	ReceiverAccountType int64 `json:"receiver_account_type,omitempty" xml:"receiver_account_type,omitempty"`
	// 收款方淘宝ID
	ReceiverTid int64 `json:"receiver_tid,omitempty" xml:"receiver_tid,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"`
	// 支付宝交易号
	AlipayOrderId string `json:"alipay_order_id,omitempty" xml:"alipay_order_id,omitempty"`
	// 订单ID
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 资金单ID
	FundId int64 `json:"fund_id,omitempty" xml:"fund_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 added in v1.2.0

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 {
	// 商户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"`
	// 审核结果
	AuditResult bool `json:"audit_result,omitempty" xml:"audit_result,omitempty"`
}

AxinPayRegisterAuditDto 结构体

type AxinPayRegisterCreateDto

type AxinPayRegisterCreateDto struct {
	// 站点信息
	Sites []AxinPayRegisterSiteInfo `json:"sites,omitempty" xml:"sites>axin_pay_register_site_info,omitempty"`
	// 商户使用服务
	Service []string `json:"service,omitempty" xml:"service>string,omitempty"`
	// 行业资格证
	Qualifications []AxinPayRegisterQualification `json:"qualifications,omitempty" xml:"qualifications>axin_pay_register_qualification,omitempty"`
	// 法人身份证
	LegalCertType string `json:"legal_cert_type,omitempty" xml:"legal_cert_type,omitempty"`
	// 结算支付宝账号
	AlipayLogonId string `json:"alipay_logon_id,omitempty" xml:"alipay_logon_id,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"`
	// 法人身份证反面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"`
	// 支付宝签约账号
	BindingAlipayLogonId string `json:"binding_alipay_logon_id,omitempty" xml:"binding_alipay_logon_id,omitempty"`
	// 营业地址
	BusinessAddress *AxinPayRegisterAddress `json:"business_address,omitempty" xml:"business_address,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"`
	// 请求版本号,用于幂等校验
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 外部订单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 退款金额
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
}

AxinRefundCreateDto 结构体

type AxinRefundCreateResDto

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

AxinRefundCreateResDto 结构体

type BaseResultDto

type BaseResultDto struct {
	// 错误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"`
	// 是否处理审核结果成功
	Data bool `json:"data,omitempty" xml:"data,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 TaobaoAlitripAxinTransFundAddAPIRequest added in v1.2.0

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

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

创建资金单

func NewTaobaoAlitripAxinTransFundAddRequest

func NewTaobaoAlitripAxinTransFundAddRequest() *TaobaoAlitripAxinTransFundAddAPIRequest

NewTaobaoAlitripAxinTransFundAddRequest 初始化TaobaoAlitripAxinTransFundAddAPIRequest对象

func (TaobaoAlitripAxinTransFundAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoAlitripAxinTransFundAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundAddAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundAddAPIRequest) GetAxinFundCreateDTO added in v1.2.0

GetAxinFundCreateDTO AxinFundCreateDTO Getter

func (*TaobaoAlitripAxinTransFundAddAPIRequest) SetAxinFundCreateDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransFundAddAPIRequest) SetAxinFundCreateDTO(_axinFundCreateDTO *AxinFundCreateDto) error

SetAxinFundCreateDTO is AxinFundCreateDTO Setter 创建资金单接口入参

type TaobaoAlitripAxinTransFundAddAPIResponse

type TaobaoAlitripAxinTransFundAddAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundAddAPIResponseModel
}

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

创建资金单

type TaobaoAlitripAxinTransFundAddAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransFundAddAPIResponseModel 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"`
}

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

type TaobaoAlitripAxinTransFundAddResult

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

TaobaoAlitripAxinTransFundAddResult 结构体

type TaobaoAlitripAxinTransFundConfirmAPIRequest added in v1.2.0

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

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

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

func NewTaobaoAlitripAxinTransFundConfirmRequest

func NewTaobaoAlitripAxinTransFundConfirmRequest() *TaobaoAlitripAxinTransFundConfirmAPIRequest

NewTaobaoAlitripAxinTransFundConfirmRequest 初始化TaobaoAlitripAxinTransFundConfirmAPIRequest对象

func (TaobaoAlitripAxinTransFundConfirmAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundConfirmAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundConfirmAPIRequest) GetOuterOrderId added in v1.2.0

GetOuterOrderId OuterOrderId Getter

func (*TaobaoAlitripAxinTransFundConfirmAPIRequest) SetOuterOrderId added in v1.2.0

func (r *TaobaoAlitripAxinTransFundConfirmAPIRequest) SetOuterOrderId(_outerOrderId string) error

SetOuterOrderId is OuterOrderId Setter 外部订单编号

type TaobaoAlitripAxinTransFundConfirmAPIResponse

type TaobaoAlitripAxinTransFundConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundConfirmAPIResponseModel
}

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

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

type TaobaoAlitripAxinTransFundConfirmAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransFundConfirmAPIResponseModel 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"`
}

TaobaoAlitripAxinTransFundConfirmAPIResponseModel is 确认资金单 成功返回结果

type TaobaoAlitripAxinTransFundConfirmResult

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

TaobaoAlitripAxinTransFundConfirmResult 结构体

type TaobaoAlitripAxinTransFundQueryByOrderAPIRequest added in v1.2.0

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

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

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

func NewTaobaoAlitripAxinTransFundQueryByOrderRequest

func NewTaobaoAlitripAxinTransFundQueryByOrderRequest() *TaobaoAlitripAxinTransFundQueryByOrderAPIRequest

NewTaobaoAlitripAxinTransFundQueryByOrderRequest 初始化TaobaoAlitripAxinTransFundQueryByOrderAPIRequest对象

func (TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetParamAxinFundListQueryDTO added in v1.2.0

GetParamAxinFundListQueryDTO ParamAxinFundListQueryDTO Getter

func (*TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) SetParamAxinFundListQueryDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) SetParamAxinFundListQueryDTO(_paramAxinFundListQueryDTO *AxinFundListQueryDto) error

SetParamAxinFundListQueryDTO is ParamAxinFundListQueryDTO Setter 入参

type TaobaoAlitripAxinTransFundQueryByOrderAPIResponse

type TaobaoAlitripAxinTransFundQueryByOrderAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundQueryByOrderAPIResponseModel
}

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

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

type TaobaoAlitripAxinTransFundQueryByOrderAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransFundQueryByOrderAPIResponseModel 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"`
}

TaobaoAlitripAxinTransFundQueryByOrderAPIResponseModel is 通过外部订单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"`
	// 描述信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 出参
	Data *AxinFundDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripAxinTransFundQueryByOrderResult 结构体

type TaobaoAlitripAxinTransFundUpdateAPIRequest added in v1.2.0

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

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

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

func NewTaobaoAlitripAxinTransFundUpdateRequest

func NewTaobaoAlitripAxinTransFundUpdateRequest() *TaobaoAlitripAxinTransFundUpdateAPIRequest

NewTaobaoAlitripAxinTransFundUpdateRequest 初始化TaobaoAlitripAxinTransFundUpdateAPIRequest对象

func (TaobaoAlitripAxinTransFundUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundUpdateAPIRequest) GetAxinFundUpdateDTO added in v1.2.0

GetAxinFundUpdateDTO AxinFundUpdateDTO Getter

func (*TaobaoAlitripAxinTransFundUpdateAPIRequest) SetAxinFundUpdateDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransFundUpdateAPIRequest) SetAxinFundUpdateDTO(_axinFundUpdateDTO *AxinFundUpdateDto) error

SetAxinFundUpdateDTO is AxinFundUpdateDTO Setter 更新资金单接口入参

type TaobaoAlitripAxinTransFundUpdateAPIResponse

type TaobaoAlitripAxinTransFundUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundUpdateAPIResponseModel
}

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

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

type TaobaoAlitripAxinTransFundUpdateAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransFundUpdateAPIResponseModel 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"`
}

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

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"`
	// 提示信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 成功数量
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripAxinTransFundUpdateResult 结构体

type TaobaoAlitripAxinTransPayImgUploadAPIRequest added in v1.2.0

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

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

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

func NewTaobaoAlitripAxinTransPayImgUploadRequest

func NewTaobaoAlitripAxinTransPayImgUploadRequest() *TaobaoAlitripAxinTransPayImgUploadAPIRequest

NewTaobaoAlitripAxinTransPayImgUploadRequest 初始化TaobaoAlitripAxinTransPayImgUploadAPIRequest对象

func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetAxinPayImgUploadDTO added in v1.2.0

GetAxinPayImgUploadDTO AxinPayImgUploadDTO Getter

func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetImgContents added in v1.2.0

GetImgContents ImgContents Getter

func (*TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetAxinPayImgUploadDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetAxinPayImgUploadDTO(_axinPayImgUploadDTO *AxinPayImgUploadDto) error

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

func (*TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetImgContents added in v1.2.0

func (r *TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetImgContents(_imgContents *model.File) error

SetImgContents is ImgContents Setter 图片字节流

type TaobaoAlitripAxinTransPayImgUploadAPIResponse

type TaobaoAlitripAxinTransPayImgUploadAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayImgUploadAPIResponseModel
}

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

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

type TaobaoAlitripAxinTransPayImgUploadAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransPayImgUploadAPIResponseModel 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"`
}

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

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"`
	// 提示信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 返回素材id
	Data *AxinPayImgUploadResDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripAxinTransPayImgUploadResult 结构体

type TaobaoAlitripAxinTransPayRegisterAuditAPIRequest added in v1.2.0

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

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

阿信支付入驻审核通知

func NewTaobaoAlitripAxinTransPayRegisterAuditRequest

func NewTaobaoAlitripAxinTransPayRegisterAuditRequest() *TaobaoAlitripAxinTransPayRegisterAuditAPIRequest

NewTaobaoAlitripAxinTransPayRegisterAuditRequest 初始化TaobaoAlitripAxinTransPayRegisterAuditAPIRequest对象

func (TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetAxinPayRegisterAuditDto added in v1.2.0

GetAxinPayRegisterAuditDto AxinPayRegisterAuditDto Getter

func (*TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) SetAxinPayRegisterAuditDto added in v1.2.0

func (r *TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) SetAxinPayRegisterAuditDto(_axinPayRegisterAuditDto *AxinPayRegisterAuditDto) error

SetAxinPayRegisterAuditDto is AxinPayRegisterAuditDto Setter 支付入驻审核对象

type TaobaoAlitripAxinTransPayRegisterAuditAPIResponse

type TaobaoAlitripAxinTransPayRegisterAuditAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayRegisterAuditAPIResponseModel
}

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

阿信支付入驻审核通知

type TaobaoAlitripAxinTransPayRegisterAuditAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransPayRegisterAuditAPIResponseModel 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"`
}

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

type TaobaoAlitripAxinTransPayRegisterCreateAPIRequest added in v1.2.0

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

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

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

func NewTaobaoAlitripAxinTransPayRegisterCreateRequest

func NewTaobaoAlitripAxinTransPayRegisterCreateRequest() *TaobaoAlitripAxinTransPayRegisterCreateAPIRequest

NewTaobaoAlitripAxinTransPayRegisterCreateRequest 初始化TaobaoAlitripAxinTransPayRegisterCreateAPIRequest对象

func (TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetCreateDTO added in v1.2.0

GetCreateDTO CreateDTO Getter

func (*TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) SetCreateDTO added in v1.2.0

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

type TaobaoAlitripAxinTransPayRegisterCreateAPIResponse

type TaobaoAlitripAxinTransPayRegisterCreateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayRegisterCreateAPIResponseModel
}

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

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

type TaobaoAlitripAxinTransPayRegisterCreateAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransPayRegisterCreateAPIResponseModel 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"`
}

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

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"`
	// 描述信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 返回素材id
	Data *AxinPayRegisterCreateResDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripAxinTransPayRegisterCreateResult 结构体

type TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest added in v1.2.0

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

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

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

func NewTaobaoAlitripAxinTransPayRegisterReapplyRequest

func NewTaobaoAlitripAxinTransPayRegisterReapplyRequest() *TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest

NewTaobaoAlitripAxinTransPayRegisterReapplyRequest 初始化TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest对象

func (TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetAxinPayRegisterCreateDTO added in v1.2.0

GetAxinPayRegisterCreateDTO AxinPayRegisterCreateDTO Getter

func (*TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) SetAxinPayRegisterCreateDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) SetAxinPayRegisterCreateDTO(_axinPayRegisterCreateDTO *AxinPayRegisterCreateDto) error

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

type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponse

type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayRegisterReapplyAPIResponseModel
}

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

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

type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponseModel 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"`
}

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

type TaobaoAlitripAxinTransPaySignCheckAPIRequest added in v1.2.0

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

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

阿信支付宝验签服务

func NewTaobaoAlitripAxinTransPaySignCheckRequest

func NewTaobaoAlitripAxinTransPaySignCheckRequest() *TaobaoAlitripAxinTransPaySignCheckAPIRequest

NewTaobaoAlitripAxinTransPaySignCheckRequest 初始化TaobaoAlitripAxinTransPaySignCheckAPIRequest对象

func (TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetAxinPayCheckSignDto added in v1.2.0

GetAxinPayCheckSignDto AxinPayCheckSignDto Getter

func (*TaobaoAlitripAxinTransPaySignCheckAPIRequest) SetAxinPayCheckSignDto added in v1.2.0

func (r *TaobaoAlitripAxinTransPaySignCheckAPIRequest) SetAxinPayCheckSignDto(_axinPayCheckSignDto *AxinPayCheckSignDto) error

SetAxinPayCheckSignDto is AxinPayCheckSignDto Setter 验签对象

type TaobaoAlitripAxinTransPaySignCheckAPIResponse

type TaobaoAlitripAxinTransPaySignCheckAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPaySignCheckAPIResponseModel
}

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

阿信支付宝验签服务

type TaobaoAlitripAxinTransPaySignCheckAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransPaySignCheckAPIResponseModel 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"`
}

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

type TaobaoAlitripAxinTransRefundCreateAPIRequest added in v1.2.0

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

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

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

func NewTaobaoAlitripAxinTransRefundCreateRequest

func NewTaobaoAlitripAxinTransRefundCreateRequest() *TaobaoAlitripAxinTransRefundCreateAPIRequest

NewTaobaoAlitripAxinTransRefundCreateRequest 初始化TaobaoAlitripAxinTransRefundCreateAPIRequest对象

func (TaobaoAlitripAxinTransRefundCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransRefundCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransRefundCreateAPIRequest) GetAxinRefundCreateDTO added in v1.2.0

GetAxinRefundCreateDTO AxinRefundCreateDTO Getter

func (*TaobaoAlitripAxinTransRefundCreateAPIRequest) SetAxinRefundCreateDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransRefundCreateAPIRequest) SetAxinRefundCreateDTO(_axinRefundCreateDTO *AxinRefundCreateDto) error

SetAxinRefundCreateDTO is AxinRefundCreateDTO Setter 阿信创建退款单入参

type TaobaoAlitripAxinTransRefundCreateAPIResponse

type TaobaoAlitripAxinTransRefundCreateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransRefundCreateAPIResponseModel
}

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

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

type TaobaoAlitripAxinTransRefundCreateAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransRefundCreateAPIResponseModel 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"`
}

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

type TaobaoAlitripAxinTransRefundCreateResult

type TaobaoAlitripAxinTransRefundCreateResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 提示信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 返回素材id
	Data *AxinRefundCreateResDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,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