Documentation ¶
Overview ¶
阿信-交易API model
Index ¶
- type AxinFundConfirmResDto
- type AxinFundCreateDto
- type AxinFundCreateResDto
- type AxinFundDto
- type AxinFundListQueryDto
- type AxinFundUpdateDto
- type AxinPayCheckSignDto
- type AxinPayImgUploadDto
- type AxinPayImgUploadResDto
- type AxinPayRegisterAddress
- type AxinPayRegisterAuditDto
- type AxinPayRegisterCreateDto
- type AxinPayRegisterCreateResDto
- type AxinPayRegisterQualification
- type AxinPayRegisterSiteInfo
- type AxinRefundCreateDto
- type AxinRefundCreateResDto
- type BaseResultDto
- type ExtUserInfoDto
- type TaobaoAlitripAxinTransFundAddAPIRequest
- func (r TaobaoAlitripAxinTransFundAddAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripAxinTransFundAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripAxinTransFundAddAPIRequest) GetAxinFundCreateDTO() *AxinFundCreateDto
- func (r *TaobaoAlitripAxinTransFundAddAPIRequest) SetAxinFundCreateDTO(_axinFundCreateDTO *AxinFundCreateDto) error
- type TaobaoAlitripAxinTransFundAddAPIResponse
- type TaobaoAlitripAxinTransFundAddAPIResponseModel
- type TaobaoAlitripAxinTransFundAddResult
- type TaobaoAlitripAxinTransFundConfirmAPIRequest
- func (r TaobaoAlitripAxinTransFundConfirmAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripAxinTransFundConfirmAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripAxinTransFundConfirmAPIRequest) GetOuterOrderId() string
- func (r *TaobaoAlitripAxinTransFundConfirmAPIRequest) SetOuterOrderId(_outerOrderId string) error
- type TaobaoAlitripAxinTransFundConfirmAPIResponse
- type TaobaoAlitripAxinTransFundConfirmAPIResponseModel
- type TaobaoAlitripAxinTransFundConfirmResult
- type TaobaoAlitripAxinTransFundQueryByOrderAPIRequest
- func (r TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetParamAxinFundListQueryDTO() *AxinFundListQueryDto
- func (r *TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) SetParamAxinFundListQueryDTO(_paramAxinFundListQueryDTO *AxinFundListQueryDto) error
- type TaobaoAlitripAxinTransFundQueryByOrderAPIResponse
- type TaobaoAlitripAxinTransFundQueryByOrderAPIResponseModel
- type TaobaoAlitripAxinTransFundQueryByOrderResult
- type TaobaoAlitripAxinTransFundUpdateAPIRequest
- func (r TaobaoAlitripAxinTransFundUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripAxinTransFundUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripAxinTransFundUpdateAPIRequest) GetAxinFundUpdateDTO() *AxinFundUpdateDto
- func (r *TaobaoAlitripAxinTransFundUpdateAPIRequest) SetAxinFundUpdateDTO(_axinFundUpdateDTO *AxinFundUpdateDto) error
- type TaobaoAlitripAxinTransFundUpdateAPIResponse
- type TaobaoAlitripAxinTransFundUpdateAPIResponseModel
- type TaobaoAlitripAxinTransFundUpdateResult
- type TaobaoAlitripAxinTransPayImgUploadAPIRequest
- func (r TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetAxinPayImgUploadDTO() *AxinPayImgUploadDto
- func (r TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetImgContents() *model.File
- func (r *TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetAxinPayImgUploadDTO(_axinPayImgUploadDTO *AxinPayImgUploadDto) error
- func (r *TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetImgContents(_imgContents *model.File) error
- type TaobaoAlitripAxinTransPayImgUploadAPIResponse
- type TaobaoAlitripAxinTransPayImgUploadAPIResponseModel
- type TaobaoAlitripAxinTransPayImgUploadResult
- type TaobaoAlitripAxinTransPayRegisterAuditAPIRequest
- func (r TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetAxinPayRegisterAuditDto() *AxinPayRegisterAuditDto
- func (r *TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) SetAxinPayRegisterAuditDto(_axinPayRegisterAuditDto *AxinPayRegisterAuditDto) error
- type TaobaoAlitripAxinTransPayRegisterAuditAPIResponse
- type TaobaoAlitripAxinTransPayRegisterAuditAPIResponseModel
- type TaobaoAlitripAxinTransPayRegisterCreateAPIRequest
- func (r TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetCreateDTO() *AxinPayRegisterCreateDto
- func (r *TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) SetCreateDTO(_createDTO *AxinPayRegisterCreateDto) error
- type TaobaoAlitripAxinTransPayRegisterCreateAPIResponse
- type TaobaoAlitripAxinTransPayRegisterCreateAPIResponseModel
- type TaobaoAlitripAxinTransPayRegisterCreateResult
- type TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest
- func (r TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetAxinPayRegisterCreateDTO() *AxinPayRegisterCreateDto
- func (r *TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) SetAxinPayRegisterCreateDTO(_axinPayRegisterCreateDTO *AxinPayRegisterCreateDto) error
- type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponse
- type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponseModel
- type TaobaoAlitripAxinTransPaySignCheckAPIRequest
- func (r TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetAxinPayCheckSignDto() *AxinPayCheckSignDto
- func (r *TaobaoAlitripAxinTransPaySignCheckAPIRequest) SetAxinPayCheckSignDto(_axinPayCheckSignDto *AxinPayCheckSignDto) error
- type TaobaoAlitripAxinTransPaySignCheckAPIResponse
- type TaobaoAlitripAxinTransPaySignCheckAPIResponseModel
- type TaobaoAlitripAxinTransRefundCreateAPIRequest
- func (r TaobaoAlitripAxinTransRefundCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripAxinTransRefundCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripAxinTransRefundCreateAPIRequest) GetAxinRefundCreateDTO() *AxinRefundCreateDto
- func (r *TaobaoAlitripAxinTransRefundCreateAPIRequest) SetAxinRefundCreateDTO(_axinRefundCreateDTO *AxinRefundCreateDto) error
- type TaobaoAlitripAxinTransRefundCreateAPIResponse
- type TaobaoAlitripAxinTransRefundCreateAPIResponseModel
- type TaobaoAlitripAxinTransRefundCreateResult
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 { // 有效资金单列表 FundList []AxinFundDto `json:"fund_list,omitempty" xml:"fund_list>axin_fund_dto,omitempty"` // 已支付总金额 TotalPayedAmount int64 `json:"total_payed_amount,omitempty" xml:"total_payed_amount,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 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 ¶ 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 { // 审核结果 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 TaobaoAlitripAxinTransFundAddAPIRequest ¶ added in v1.2.0
type TaobaoAlitripAxinTransFundAddAPIRequest struct { model.Params // contains filtered or unexported fields }
创建资金单接口 API请求 taobao.alitrip.axin.trans.fund.add
创建资金单
func NewTaobaoAlitripAxinTransFundAddRequest ¶
func NewTaobaoAlitripAxinTransFundAddRequest() *TaobaoAlitripAxinTransFundAddAPIRequest
初始化TaobaoAlitripAxinTransFundAddAPIRequest对象
func (TaobaoAlitripAxinTransFundAddAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundAddAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripAxinTransFundAddAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundAddAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripAxinTransFundAddAPIRequest) GetAxinFundCreateDTO ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundAddAPIRequest) GetAxinFundCreateDTO() *AxinFundCreateDto
AxinFundCreateDTO Getter
func (*TaobaoAlitripAxinTransFundAddAPIRequest) SetAxinFundCreateDTO ¶ added in v1.2.0
func (r *TaobaoAlitripAxinTransFundAddAPIRequest) SetAxinFundCreateDTO(_axinFundCreateDTO *AxinFundCreateDto) error
AxinFundCreateDTO Setter 创建资金单接口入参
type TaobaoAlitripAxinTransFundAddAPIResponse ¶
type TaobaoAlitripAxinTransFundAddAPIResponse struct { model.CommonResponse TaobaoAlitripAxinTransFundAddAPIResponseModel }
创建资金单接口 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"` }
创建资金单接口 成功返回结果
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 TaobaoAlitripAxinTransFundConfirmAPIRequest ¶ added in v1.2.0
type TaobaoAlitripAxinTransFundConfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
确认资金单 API请求 taobao.alitrip.axin.trans.fund.confirm
通过外部订单号进行资金结算
func NewTaobaoAlitripAxinTransFundConfirmRequest ¶
func NewTaobaoAlitripAxinTransFundConfirmRequest() *TaobaoAlitripAxinTransFundConfirmAPIRequest
初始化TaobaoAlitripAxinTransFundConfirmAPIRequest对象
func (TaobaoAlitripAxinTransFundConfirmAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundConfirmAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripAxinTransFundConfirmAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundConfirmAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripAxinTransFundConfirmAPIRequest) GetOuterOrderId ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundConfirmAPIRequest) GetOuterOrderId() string
OuterOrderId Getter
func (*TaobaoAlitripAxinTransFundConfirmAPIRequest) SetOuterOrderId ¶ added in v1.2.0
func (r *TaobaoAlitripAxinTransFundConfirmAPIRequest) SetOuterOrderId(_outerOrderId string) error
OuterOrderId Setter 外部订单编号
type TaobaoAlitripAxinTransFundConfirmAPIResponse ¶
type TaobaoAlitripAxinTransFundConfirmAPIResponse struct { model.CommonResponse TaobaoAlitripAxinTransFundConfirmAPIResponseModel }
确认资金单 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"` }
确认资金单 成功返回结果
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 TaobaoAlitripAxinTransFundQueryByOrderAPIRequest ¶ added in v1.2.0
type TaobaoAlitripAxinTransFundQueryByOrderAPIRequest struct { model.Params // contains filtered or unexported fields }
通过外部订单ID查询所有资金单 API请求 taobao.alitrip.axin.trans.fund.query.by.order
阿信供销平台-通过外部订单ID查询所有资金单
func NewTaobaoAlitripAxinTransFundQueryByOrderRequest ¶
func NewTaobaoAlitripAxinTransFundQueryByOrderRequest() *TaobaoAlitripAxinTransFundQueryByOrderAPIRequest
初始化TaobaoAlitripAxinTransFundQueryByOrderAPIRequest对象
func (TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetParamAxinFundListQueryDTO ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetParamAxinFundListQueryDTO() *AxinFundListQueryDto
ParamAxinFundListQueryDTO Getter
func (*TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) SetParamAxinFundListQueryDTO ¶ added in v1.2.0
func (r *TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) SetParamAxinFundListQueryDTO(_paramAxinFundListQueryDTO *AxinFundListQueryDto) error
ParamAxinFundListQueryDTO Setter 入参
type TaobaoAlitripAxinTransFundQueryByOrderAPIResponse ¶
type TaobaoAlitripAxinTransFundQueryByOrderAPIResponse struct { model.CommonResponse TaobaoAlitripAxinTransFundQueryByOrderAPIResponseModel }
通过外部订单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"` }
通过外部订单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 TaobaoAlitripAxinTransFundUpdateAPIRequest ¶ added in v1.2.0
type TaobaoAlitripAxinTransFundUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
修改资金单接口 API请求 taobao.alitrip.axin.trans.fund.update
阿信供销平台-修改资金单接口
func NewTaobaoAlitripAxinTransFundUpdateRequest ¶
func NewTaobaoAlitripAxinTransFundUpdateRequest() *TaobaoAlitripAxinTransFundUpdateAPIRequest
初始化TaobaoAlitripAxinTransFundUpdateAPIRequest对象
func (TaobaoAlitripAxinTransFundUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundUpdateAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripAxinTransFundUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundUpdateAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripAxinTransFundUpdateAPIRequest) GetAxinFundUpdateDTO ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransFundUpdateAPIRequest) GetAxinFundUpdateDTO() *AxinFundUpdateDto
AxinFundUpdateDTO Getter
func (*TaobaoAlitripAxinTransFundUpdateAPIRequest) SetAxinFundUpdateDTO ¶ added in v1.2.0
func (r *TaobaoAlitripAxinTransFundUpdateAPIRequest) SetAxinFundUpdateDTO(_axinFundUpdateDTO *AxinFundUpdateDto) error
AxinFundUpdateDTO Setter 更新资金单接口入参
type TaobaoAlitripAxinTransFundUpdateAPIResponse ¶
type TaobaoAlitripAxinTransFundUpdateAPIResponse struct { model.CommonResponse TaobaoAlitripAxinTransFundUpdateAPIResponseModel }
修改资金单接口 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"` }
修改资金单接口 成功返回结果
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 TaobaoAlitripAxinTransPayImgUploadAPIRequest ¶ added in v1.2.0
type TaobaoAlitripAxinTransPayImgUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
上传图片到支付宝图片空间接口 API请求 taobao.alitrip.axin.trans.pay.img.upload
阿信供销平台-上传图片到支付宝图片空间接口
func NewTaobaoAlitripAxinTransPayImgUploadRequest ¶
func NewTaobaoAlitripAxinTransPayImgUploadRequest() *TaobaoAlitripAxinTransPayImgUploadAPIRequest
初始化TaobaoAlitripAxinTransPayImgUploadAPIRequest对象
func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetAxinPayImgUploadDTO ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetAxinPayImgUploadDTO() *AxinPayImgUploadDto
AxinPayImgUploadDTO Getter
func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetImgContents ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetImgContents() *model.File
ImgContents Getter
func (*TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetAxinPayImgUploadDTO ¶ added in v1.2.0
func (r *TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetAxinPayImgUploadDTO(_axinPayImgUploadDTO *AxinPayImgUploadDto) error
AxinPayImgUploadDTO Setter 上传图片到支付宝图片空间接口入参
func (*TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetImgContents ¶ added in v1.2.0
func (r *TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetImgContents(_imgContents *model.File) error
ImgContents Setter 图片字节流
type TaobaoAlitripAxinTransPayImgUploadAPIResponse ¶
type TaobaoAlitripAxinTransPayImgUploadAPIResponse struct { model.CommonResponse TaobaoAlitripAxinTransPayImgUploadAPIResponseModel }
上传图片到支付宝图片空间接口 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"` }
上传图片到支付宝图片空间接口 成功返回结果
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 TaobaoAlitripAxinTransPayRegisterAuditAPIRequest ¶ added in v1.2.0
type TaobaoAlitripAxinTransPayRegisterAuditAPIRequest struct { model.Params // contains filtered or unexported fields }
阿信支付入驻审核通知 API请求 taobao.alitrip.axin.trans.pay.register.audit
阿信支付入驻审核通知
func NewTaobaoAlitripAxinTransPayRegisterAuditRequest ¶
func NewTaobaoAlitripAxinTransPayRegisterAuditRequest() *TaobaoAlitripAxinTransPayRegisterAuditAPIRequest
初始化TaobaoAlitripAxinTransPayRegisterAuditAPIRequest对象
func (TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetAxinPayRegisterAuditDto ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetAxinPayRegisterAuditDto() *AxinPayRegisterAuditDto
AxinPayRegisterAuditDto Getter
func (*TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) SetAxinPayRegisterAuditDto ¶ added in v1.2.0
func (r *TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) SetAxinPayRegisterAuditDto(_axinPayRegisterAuditDto *AxinPayRegisterAuditDto) error
AxinPayRegisterAuditDto Setter 支付入驻审核对象
type TaobaoAlitripAxinTransPayRegisterAuditAPIResponse ¶
type TaobaoAlitripAxinTransPayRegisterAuditAPIResponse struct { model.CommonResponse TaobaoAlitripAxinTransPayRegisterAuditAPIResponseModel }
阿信支付入驻审核通知 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"` }
阿信支付入驻审核通知 成功返回结果
type TaobaoAlitripAxinTransPayRegisterCreateAPIRequest ¶ added in v1.2.0
type TaobaoAlitripAxinTransPayRegisterCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
提交支付服务开通 API请求 taobao.alitrip.axin.trans.pay.register.create
阿信供销平台-提交支付服务开通接口
func NewTaobaoAlitripAxinTransPayRegisterCreateRequest ¶
func NewTaobaoAlitripAxinTransPayRegisterCreateRequest() *TaobaoAlitripAxinTransPayRegisterCreateAPIRequest
初始化TaobaoAlitripAxinTransPayRegisterCreateAPIRequest对象
func (TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetCreateDTO ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetCreateDTO() *AxinPayRegisterCreateDto
CreateDTO Getter
func (*TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) SetCreateDTO ¶ added in v1.2.0
func (r *TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) SetCreateDTO(_createDTO *AxinPayRegisterCreateDto) error
CreateDTO Setter 提交支付服务开通接口入参
type TaobaoAlitripAxinTransPayRegisterCreateAPIResponse ¶
type TaobaoAlitripAxinTransPayRegisterCreateAPIResponse struct { model.CommonResponse TaobaoAlitripAxinTransPayRegisterCreateAPIResponseModel }
提交支付服务开通 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"` }
提交支付服务开通 成功返回结果
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 TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest ¶ added in v1.2.0
type TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest struct { model.Params // contains filtered or unexported fields }
阿信支付入驻重新申请 API请求 taobao.alitrip.axin.trans.pay.register.reapply
阿信支付入驻重新申请 用于支付平台驳回,商户提交时的业务场景
func NewTaobaoAlitripAxinTransPayRegisterReapplyRequest ¶
func NewTaobaoAlitripAxinTransPayRegisterReapplyRequest() *TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest
初始化TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest对象
func (TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetAxinPayRegisterCreateDTO ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetAxinPayRegisterCreateDTO() *AxinPayRegisterCreateDto
AxinPayRegisterCreateDTO Getter
func (*TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) SetAxinPayRegisterCreateDTO ¶ added in v1.2.0
func (r *TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) SetAxinPayRegisterCreateDTO(_axinPayRegisterCreateDTO *AxinPayRegisterCreateDto) error
AxinPayRegisterCreateDTO Setter 阿信支付入驻重新申请参数
type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponse ¶
type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponse struct { model.CommonResponse TaobaoAlitripAxinTransPayRegisterReapplyAPIResponseModel }
阿信支付入驻重新申请 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"` }
阿信支付入驻重新申请 成功返回结果
type TaobaoAlitripAxinTransPaySignCheckAPIRequest ¶ added in v1.2.0
type TaobaoAlitripAxinTransPaySignCheckAPIRequest struct { model.Params // contains filtered or unexported fields }
阿信支付宝验签服务 API请求 taobao.alitrip.axin.trans.pay.sign.check
阿信支付宝验签服务
func NewTaobaoAlitripAxinTransPaySignCheckRequest ¶
func NewTaobaoAlitripAxinTransPaySignCheckRequest() *TaobaoAlitripAxinTransPaySignCheckAPIRequest
初始化TaobaoAlitripAxinTransPaySignCheckAPIRequest对象
func (TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetAxinPayCheckSignDto ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetAxinPayCheckSignDto() *AxinPayCheckSignDto
AxinPayCheckSignDto Getter
func (*TaobaoAlitripAxinTransPaySignCheckAPIRequest) SetAxinPayCheckSignDto ¶ added in v1.2.0
func (r *TaobaoAlitripAxinTransPaySignCheckAPIRequest) SetAxinPayCheckSignDto(_axinPayCheckSignDto *AxinPayCheckSignDto) error
AxinPayCheckSignDto Setter 验签对象
type TaobaoAlitripAxinTransPaySignCheckAPIResponse ¶
type TaobaoAlitripAxinTransPaySignCheckAPIResponse struct { model.CommonResponse TaobaoAlitripAxinTransPaySignCheckAPIResponseModel }
阿信支付宝验签服务 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"` }
阿信支付宝验签服务 成功返回结果
type TaobaoAlitripAxinTransRefundCreateAPIRequest ¶ added in v1.2.0
type TaobaoAlitripAxinTransRefundCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
阿信创建退款单 API请求 taobao.alitrip.axin.trans.refund.create
阿信供销平台-创建退款单服务
func NewTaobaoAlitripAxinTransRefundCreateRequest ¶
func NewTaobaoAlitripAxinTransRefundCreateRequest() *TaobaoAlitripAxinTransRefundCreateAPIRequest
初始化TaobaoAlitripAxinTransRefundCreateAPIRequest对象
func (TaobaoAlitripAxinTransRefundCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransRefundCreateAPIRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripAxinTransRefundCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransRefundCreateAPIRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripAxinTransRefundCreateAPIRequest) GetAxinRefundCreateDTO ¶ added in v1.2.0
func (r TaobaoAlitripAxinTransRefundCreateAPIRequest) GetAxinRefundCreateDTO() *AxinRefundCreateDto
AxinRefundCreateDTO Getter
func (*TaobaoAlitripAxinTransRefundCreateAPIRequest) SetAxinRefundCreateDTO ¶ added in v1.2.0
func (r *TaobaoAlitripAxinTransRefundCreateAPIRequest) SetAxinRefundCreateDTO(_axinRefundCreateDTO *AxinRefundCreateDto) error
AxinRefundCreateDTO Setter 阿信创建退款单入参
type TaobaoAlitripAxinTransRefundCreateAPIResponse ¶
type TaobaoAlitripAxinTransRefundCreateAPIResponse struct { model.CommonResponse TaobaoAlitripAxinTransRefundCreateAPIResponseModel }
阿信创建退款单 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"` }
阿信创建退款单 成功返回结果
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 ¶
- AxinFundConfirmResDto.go
- AxinFundCreateDto.go
- AxinFundCreateResDto.go
- AxinFundDTO.go
- AxinFundListQueryDto.go
- AxinFundUpdateDto.go
- AxinPayCheckSignDto.go
- AxinPayImgUploadDto.go
- AxinPayImgUploadResDTO.go
- AxinPayRegisterAddress.go
- AxinPayRegisterAuditDto.go
- AxinPayRegisterCreateDto.go
- AxinPayRegisterCreateResDto.go
- AxinPayRegisterQualification.go
- AxinPayRegisterSiteInfo.go
- AxinRefundCreateDto.go
- AxinRefundCreateResDto.go
- BaseResultDto.go
- ExtUserInfoDto.go
- TaobaoAlitripAxinTransFundAddAPIRequest.go
- TaobaoAlitripAxinTransFundAddAPIResponse.go
- TaobaoAlitripAxinTransFundAddResult.go
- TaobaoAlitripAxinTransFundConfirmAPIRequest.go
- TaobaoAlitripAxinTransFundConfirmAPIResponse.go
- TaobaoAlitripAxinTransFundConfirmResult.go
- TaobaoAlitripAxinTransFundQueryByOrderAPIRequest.go
- TaobaoAlitripAxinTransFundQueryByOrderAPIResponse.go
- TaobaoAlitripAxinTransFundQueryByOrderResult.go
- TaobaoAlitripAxinTransFundUpdateAPIRequest.go
- TaobaoAlitripAxinTransFundUpdateAPIResponse.go
- TaobaoAlitripAxinTransFundUpdateResult.go
- TaobaoAlitripAxinTransPayImgUploadAPIRequest.go
- TaobaoAlitripAxinTransPayImgUploadAPIResponse.go
- TaobaoAlitripAxinTransPayImgUploadResult.go
- TaobaoAlitripAxinTransPayRegisterAuditAPIRequest.go
- TaobaoAlitripAxinTransPayRegisterAuditAPIResponse.go
- TaobaoAlitripAxinTransPayRegisterCreateAPIRequest.go
- TaobaoAlitripAxinTransPayRegisterCreateAPIResponse.go
- TaobaoAlitripAxinTransPayRegisterCreateResult.go
- TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest.go
- TaobaoAlitripAxinTransPayRegisterReapplyAPIResponse.go
- TaobaoAlitripAxinTransPaySignCheckAPIRequest.go
- TaobaoAlitripAxinTransPaySignCheckAPIResponse.go
- TaobaoAlitripAxinTransRefundCreateAPIRequest.go
- TaobaoAlitripAxinTransRefundCreateAPIResponse.go
- TaobaoAlitripAxinTransRefundCreateResult.go
- doc.go