fundplatform

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package fundplatform 包含汇金API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountChargeResponse

type AccountChargeResponse struct {
	// 充值URL
	PayUrl string `json:"pay_url,omitempty" xml:"pay_url,omitempty"`
	// 充值的账户ID
	AccountId int64 `json:"account_id,omitempty" xml:"account_id,omitempty"`
}

AccountChargeResponse 结构体

type AlibabaFundplatformAccountChargeAPIRequest added in v1.2.0

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

AlibabaFundplatformAccountChargeAPIRequest 资金平台余额账户充值 API请求 alibaba.fundplatform.account.charge

资金平台余额账户充值【创建账户&返回付款URL】

func NewAlibabaFundplatformAccountChargeRequest

func NewAlibabaFundplatformAccountChargeRequest() *AlibabaFundplatformAccountChargeAPIRequest

NewAlibabaFundplatformAccountChargeRequest 初始化AlibabaFundplatformAccountChargeAPIRequest对象

func (AlibabaFundplatformAccountChargeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformAccountChargeAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformAccountChargeAPIRequest) GetParamChargeRequest added in v1.2.0

func (r AlibabaFundplatformAccountChargeAPIRequest) GetParamChargeRequest() *ChargeRequest

GetParamChargeRequest ParamChargeRequest Getter

func (AlibabaFundplatformAccountChargeAPIRequest) GetParamLong added in v1.2.0

GetParamLong ParamLong Getter

func (*AlibabaFundplatformAccountChargeAPIRequest) SetParamChargeRequest added in v1.2.0

func (r *AlibabaFundplatformAccountChargeAPIRequest) SetParamChargeRequest(_paramChargeRequest *ChargeRequest) error

SetParamChargeRequest is ParamChargeRequest Setter 入参对象

func (*AlibabaFundplatformAccountChargeAPIRequest) SetParamLong added in v1.2.0

func (r *AlibabaFundplatformAccountChargeAPIRequest) SetParamLong(_paramLong int64) error

SetParamLong is ParamLong Setter 用户ID

type AlibabaFundplatformAccountChargeAPIResponse

type AlibabaFundplatformAccountChargeAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformAccountChargeAPIResponseModel
}

AlibabaFundplatformAccountChargeAPIResponse 资金平台余额账户充值 API返回值 alibaba.fundplatform.account.charge

资金平台余额账户充值【创建账户&返回付款URL】

type AlibabaFundplatformAccountChargeAPIResponseModel added in v1.2.0

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

AlibabaFundplatformAccountChargeAPIResponseModel is 资金平台余额账户充值 成功返回结果

type AlibabaFundplatformAccountChargeNotifyAPIRequest added in v1.2.0

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

AlibabaFundplatformAccountChargeNotifyAPIRequest 账户充值成功通知 API请求 alibaba.fundplatform.account.charge.notify

通知外部业务方充值成功

func NewAlibabaFundplatformAccountChargeNotifyRequest

func NewAlibabaFundplatformAccountChargeNotifyRequest() *AlibabaFundplatformAccountChargeNotifyAPIRequest

NewAlibabaFundplatformAccountChargeNotifyRequest 初始化AlibabaFundplatformAccountChargeNotifyAPIRequest对象

func (AlibabaFundplatformAccountChargeNotifyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformAccountChargeNotifyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformAccountChargeNotifyAPIRequest) GetRequest added in v1.2.0

GetRequest Request Getter

func (*AlibabaFundplatformAccountChargeNotifyAPIRequest) SetRequest added in v1.2.0

SetRequest is Request Setter 入参对象

type AlibabaFundplatformAccountChargeNotifyAPIResponse

type AlibabaFundplatformAccountChargeNotifyAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformAccountChargeNotifyAPIResponseModel
}

AlibabaFundplatformAccountChargeNotifyAPIResponse 账户充值成功通知 API返回值 alibaba.fundplatform.account.charge.notify

通知外部业务方充值成功

type AlibabaFundplatformAccountChargeNotifyAPIResponseModel added in v1.2.0

type AlibabaFundplatformAccountChargeNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_fundplatform_account_charge_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 处理消息
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// 处理错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 处理结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaFundplatformAccountChargeNotifyAPIResponseModel is 账户充值成功通知 成功返回结果

type AlibabaFundplatformAccountChargeNotifyStruct

type AlibabaFundplatformAccountChargeNotifyStruct struct {
	// 回传充值时传入的outBizId
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 环境变量值,该字段为枚举值:daily(日常),pre(预发),online(线上)
	OwnSign string `json:"own_sign,omitempty" xml:"own_sign,omitempty"`
	// 在资金平台中账户ID
	AccountId int64 `json:"account_id,omitempty" xml:"account_id,omitempty"`
	// 资金平台分配的业务类型
	SubBizType int64 `json:"sub_biz_type,omitempty" xml:"sub_biz_type,omitempty"`
	// 充值金额,单位分
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 用户在淘宝中userId
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

AlibabaFundplatformAccountChargeNotifyStruct 结构体

type AlibabaFundplatformAccountJourQueryInfoAPIRequest added in v1.2.0

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

AlibabaFundplatformAccountJourQueryInfoAPIRequest 查询账户流水信息 API请求 alibaba.fundplatform.account.jour.query.info

外部查询账户流水信息

func NewAlibabaFundplatformAccountJourQueryInfoRequest

func NewAlibabaFundplatformAccountJourQueryInfoRequest() *AlibabaFundplatformAccountJourQueryInfoAPIRequest

NewAlibabaFundplatformAccountJourQueryInfoRequest 初始化AlibabaFundplatformAccountJourQueryInfoAPIRequest对象

func (AlibabaFundplatformAccountJourQueryInfoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformAccountJourQueryInfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformAccountJourQueryInfoAPIRequest) GetParamFundAccountJournalQueryReq added in v1.2.0

func (r AlibabaFundplatformAccountJourQueryInfoAPIRequest) GetParamFundAccountJournalQueryReq() *FundAccountJournalQueryReq

GetParamFundAccountJournalQueryReq ParamFundAccountJournalQueryReq Getter

func (*AlibabaFundplatformAccountJourQueryInfoAPIRequest) SetParamFundAccountJournalQueryReq added in v1.2.0

func (r *AlibabaFundplatformAccountJourQueryInfoAPIRequest) SetParamFundAccountJournalQueryReq(_paramFundAccountJournalQueryReq *FundAccountJournalQueryReq) error

SetParamFundAccountJournalQueryReq is ParamFundAccountJournalQueryReq Setter 入参对象

type AlibabaFundplatformAccountJourQueryInfoAPIResponse

type AlibabaFundplatformAccountJourQueryInfoAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformAccountJourQueryInfoAPIResponseModel
}

AlibabaFundplatformAccountJourQueryInfoAPIResponse 查询账户流水信息 API返回值 alibaba.fundplatform.account.jour.query.info

外部查询账户流水信息

type AlibabaFundplatformAccountJourQueryInfoAPIResponseModel added in v1.2.0

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

AlibabaFundplatformAccountJourQueryInfoAPIResponseModel is 查询账户流水信息 成功返回结果

type AlibabaFundplatformAccountQueryInfoAPIRequest added in v1.2.0

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

AlibabaFundplatformAccountQueryInfoAPIRequest 查询账户信息 API请求 alibaba.fundplatform.account.query.info

外部查询资金平台用户账户信息

func NewAlibabaFundplatformAccountQueryInfoRequest

func NewAlibabaFundplatformAccountQueryInfoRequest() *AlibabaFundplatformAccountQueryInfoAPIRequest

NewAlibabaFundplatformAccountQueryInfoRequest 初始化AlibabaFundplatformAccountQueryInfoAPIRequest对象

func (AlibabaFundplatformAccountQueryInfoAPIRequest) GetAccountId added in v1.2.0

GetAccountId AccountId Getter

func (AlibabaFundplatformAccountQueryInfoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformAccountQueryInfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (*AlibabaFundplatformAccountQueryInfoAPIRequest) SetAccountId added in v1.2.0

func (r *AlibabaFundplatformAccountQueryInfoAPIRequest) SetAccountId(_accountId int64) error

SetAccountId is AccountId Setter 账户ID

type AlibabaFundplatformAccountQueryInfoAPIResponse

type AlibabaFundplatformAccountQueryInfoAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformAccountQueryInfoAPIResponseModel
}

AlibabaFundplatformAccountQueryInfoAPIResponse 查询账户信息 API返回值 alibaba.fundplatform.account.query.info

外部查询资金平台用户账户信息

type AlibabaFundplatformAccountQueryInfoAPIResponseModel added in v1.2.0

type AlibabaFundplatformAccountQueryInfoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_fundplatform_account_query_info_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参对象
	Result *ResultSupport `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaFundplatformAccountQueryInfoAPIResponseModel is 查询账户信息 成功返回结果

type AlibabaFundplatformCardTemplateNewAPIRequest added in v1.2.0

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

AlibabaFundplatformCardTemplateNewAPIRequest 新增实体卡模板 API请求 alibaba.fundplatform.card.template.new

该接口由制卡商实现,当新增一个实体卡模板的时候,需要调用该接口,通知制卡商同步新增卡模板信息。

func NewAlibabaFundplatformCardTemplateNewRequest

func NewAlibabaFundplatformCardTemplateNewRequest() *AlibabaFundplatformCardTemplateNewAPIRequest

NewAlibabaFundplatformCardTemplateNewRequest 初始化AlibabaFundplatformCardTemplateNewAPIRequest对象

func (AlibabaFundplatformCardTemplateNewAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardTemplateNewAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardTemplateNewAPIRequest) GetCardName added in v1.2.0

GetCardName CardName Getter

func (AlibabaFundplatformCardTemplateNewAPIRequest) GetIsTest added in v1.2.0

GetIsTest IsTest Getter

func (AlibabaFundplatformCardTemplateNewAPIRequest) GetOwnSign added in v1.2.0

GetOwnSign OwnSign Getter

func (AlibabaFundplatformCardTemplateNewAPIRequest) GetParValue added in v1.2.0

GetParValue ParValue Getter

func (AlibabaFundplatformCardTemplateNewAPIRequest) GetPictureUrl added in v1.2.0

GetPictureUrl PictureUrl Getter

func (AlibabaFundplatformCardTemplateNewAPIRequest) GetTemplateNo added in v1.2.0

GetTemplateNo TemplateNo Getter

func (*AlibabaFundplatformCardTemplateNewAPIRequest) SetCardName added in v1.2.0

func (r *AlibabaFundplatformCardTemplateNewAPIRequest) SetCardName(_cardName string) error

SetCardName is CardName Setter 该模板生成的卡名称

func (*AlibabaFundplatformCardTemplateNewAPIRequest) SetIsTest added in v1.2.0

SetIsTest is IsTest Setter 是否为测试卡模板,true表示是,如果是测试卡模板则请求制卡时无需真正去制作实体卡

func (*AlibabaFundplatformCardTemplateNewAPIRequest) SetOwnSign added in v1.2.0

SetOwnSign is OwnSign Setter 环境变量值,该字段为枚举值:daily(日常),pre(预发),online(线上)

func (*AlibabaFundplatformCardTemplateNewAPIRequest) SetParValue added in v1.2.0

func (r *AlibabaFundplatformCardTemplateNewAPIRequest) SetParValue(_parValue string) error

SetParValue is ParValue Setter 卡面额,单元分

func (*AlibabaFundplatformCardTemplateNewAPIRequest) SetPictureUrl added in v1.2.0

func (r *AlibabaFundplatformCardTemplateNewAPIRequest) SetPictureUrl(_pictureUrl string) error

SetPictureUrl is PictureUrl Setter 卡外观图片地址

func (*AlibabaFundplatformCardTemplateNewAPIRequest) SetTemplateNo added in v1.2.0

func (r *AlibabaFundplatformCardTemplateNewAPIRequest) SetTemplateNo(_templateNo string) error

SetTemplateNo is TemplateNo Setter 卡模板编号

type AlibabaFundplatformCardTemplateNewAPIResponse

type AlibabaFundplatformCardTemplateNewAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardTemplateNewAPIResponseModel
}

AlibabaFundplatformCardTemplateNewAPIResponse 新增实体卡模板 API返回值 alibaba.fundplatform.card.template.new

该接口由制卡商实现,当新增一个实体卡模板的时候,需要调用该接口,通知制卡商同步新增卡模板信息。

type AlibabaFundplatformCardTemplateNewAPIResponseModel added in v1.2.0

type AlibabaFundplatformCardTemplateNewAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_fundplatform_card_template_new_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误详情
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// 错误CODE
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaFundplatformCardTemplateNewAPIResponseModel is 新增实体卡模板 成功返回结果

type AlibabaFundplatformCardorderCardActiveAPIRequest added in v1.2.0

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

AlibabaFundplatformCardorderCardActiveAPIRequest 储值卡激活 API请求 alibaba.fundplatform.cardorder.card.active

储值卡接货接口,可以通过外部订单号或者卡号进行批量激活。如果储值卡已经被激活过仍然幂等返回成功。资金平台保证批量激活时一定全部成功或全部失败。 如果批量激活储值卡时,如果部分储值卡处于已激活,部分储值卡处于未激活,则会返回失败

func NewAlibabaFundplatformCardorderCardActiveRequest

func NewAlibabaFundplatformCardorderCardActiveRequest() *AlibabaFundplatformCardorderCardActiveAPIRequest

NewAlibabaFundplatformCardorderCardActiveRequest 初始化AlibabaFundplatformCardorderCardActiveAPIRequest对象

func (AlibabaFundplatformCardorderCardActiveAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderCardActiveAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderCardActiveAPIRequest) GetParamCardActiveRequest added in v1.2.0

GetParamCardActiveRequest ParamCardActiveRequest Getter

func (*AlibabaFundplatformCardorderCardActiveAPIRequest) SetParamCardActiveRequest added in v1.2.0

func (r *AlibabaFundplatformCardorderCardActiveAPIRequest) SetParamCardActiveRequest(_paramCardActiveRequest *CardActiveRequest) error

SetParamCardActiveRequest is ParamCardActiveRequest Setter 入参对象

type AlibabaFundplatformCardorderCardActiveAPIResponse

type AlibabaFundplatformCardorderCardActiveAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderCardActiveAPIResponseModel
}

AlibabaFundplatformCardorderCardActiveAPIResponse 储值卡激活 API返回值 alibaba.fundplatform.cardorder.card.active

储值卡接货接口,可以通过外部订单号或者卡号进行批量激活。如果储值卡已经被激活过仍然幂等返回成功。资金平台保证批量激活时一定全部成功或全部失败。 如果批量激活储值卡时,如果部分储值卡处于已激活,部分储值卡处于未激活,则会返回失败

type AlibabaFundplatformCardorderCardActiveAPIResponseModel added in v1.2.0

type AlibabaFundplatformCardorderCardActiveAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_fundplatform_cardorder_card_active_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参对象
	Result *CardActiveResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaFundplatformCardorderCardActiveAPIResponseModel is 储值卡激活 成功返回结果

type AlibabaFundplatformCardorderFetchCardAsyncAPIRequest added in v1.2.0

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

AlibabaFundplatformCardorderFetchCardAsyncAPIRequest 异步批量生成储值卡 API请求 alibaba.fundplatform.cardorder.fetch.card.async

外部业务方异步批量生成储值卡的接口。同步只返回接受成功,异步会通知制卡成功

func NewAlibabaFundplatformCardorderFetchCardAsyncRequest

func NewAlibabaFundplatformCardorderFetchCardAsyncRequest() *AlibabaFundplatformCardorderFetchCardAsyncAPIRequest

NewAlibabaFundplatformCardorderFetchCardAsyncRequest 初始化AlibabaFundplatformCardorderFetchCardAsyncAPIRequest对象

func (AlibabaFundplatformCardorderFetchCardAsyncAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderFetchCardAsyncAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderFetchCardAsyncAPIRequest) GetParamCardFetchAsyncRequest added in v1.2.0

GetParamCardFetchAsyncRequest ParamCardFetchAsyncRequest Getter

func (*AlibabaFundplatformCardorderFetchCardAsyncAPIRequest) SetParamCardFetchAsyncRequest added in v1.2.0

func (r *AlibabaFundplatformCardorderFetchCardAsyncAPIRequest) SetParamCardFetchAsyncRequest(_paramCardFetchAsyncRequest *CardFetchAsyncRequest) error

SetParamCardFetchAsyncRequest is ParamCardFetchAsyncRequest Setter 入参复杂对象

type AlibabaFundplatformCardorderFetchCardAsyncAPIResponse

type AlibabaFundplatformCardorderFetchCardAsyncAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderFetchCardAsyncAPIResponseModel
}

AlibabaFundplatformCardorderFetchCardAsyncAPIResponse 异步批量生成储值卡 API返回值 alibaba.fundplatform.cardorder.fetch.card.async

外部业务方异步批量生成储值卡的接口。同步只返回接受成功,异步会通知制卡成功

type AlibabaFundplatformCardorderFetchCardAsyncAPIResponseModel added in v1.2.0

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

AlibabaFundplatformCardorderFetchCardAsyncAPIResponseModel is 异步批量生成储值卡 成功返回结果

type AlibabaFundplatformCardorderMakeAPIRequest added in v1.2.0

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

AlibabaFundplatformCardorderMakeAPIRequest 通知制卡商制卡 API请求 alibaba.fundplatform.cardorder.make

该接口由内部定义,外部制卡商实现。当需要制卡商进行制卡操作时,将会调用该接口。

func NewAlibabaFundplatformCardorderMakeRequest

func NewAlibabaFundplatformCardorderMakeRequest() *AlibabaFundplatformCardorderMakeAPIRequest

NewAlibabaFundplatformCardorderMakeRequest 初始化AlibabaFundplatformCardorderMakeAPIRequest对象

func (AlibabaFundplatformCardorderMakeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderMakeAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderMakeAPIRequest) GetCardOrderId added in v1.2.0

GetCardOrderId CardOrderId Getter

func (AlibabaFundplatformCardorderMakeAPIRequest) GetCardProductInfos added in v1.2.0

GetCardProductInfos CardProductInfos Getter

func (AlibabaFundplatformCardorderMakeAPIRequest) GetLogisticsInfo added in v1.2.0

GetLogisticsInfo LogisticsInfo Getter

func (AlibabaFundplatformCardorderMakeAPIRequest) GetOwnSign added in v1.2.0

GetOwnSign OwnSign Getter

func (*AlibabaFundplatformCardorderMakeAPIRequest) SetCardOrderId added in v1.2.0

func (r *AlibabaFundplatformCardorderMakeAPIRequest) SetCardOrderId(_cardOrderId int64) error

SetCardOrderId is CardOrderId Setter 子制卡单ID

func (*AlibabaFundplatformCardorderMakeAPIRequest) SetCardProductInfos added in v1.2.0

SetCardProductInfos is CardProductInfos Setter 卡模板信息列表

func (*AlibabaFundplatformCardorderMakeAPIRequest) SetLogisticsInfo added in v1.2.0

SetLogisticsInfo is LogisticsInfo Setter 物流信息

func (*AlibabaFundplatformCardorderMakeAPIRequest) SetOwnSign added in v1.2.0

SetOwnSign is OwnSign Setter 环境变量值,该字段为枚举值:daily(日常),pre(预发),online(线上)

type AlibabaFundplatformCardorderMakeAPIResponse

type AlibabaFundplatformCardorderMakeAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderMakeAPIResponseModel
}

AlibabaFundplatformCardorderMakeAPIResponse 通知制卡商制卡 API返回值 alibaba.fundplatform.cardorder.make

该接口由内部定义,外部制卡商实现。当需要制卡商进行制卡操作时,将会调用该接口。

type AlibabaFundplatformCardorderMakeAPIResponseModel added in v1.2.0

type AlibabaFundplatformCardorderMakeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_fundplatform_cardorder_make_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结构体
	Response *AlibabaFundplatformCardorderMakeStruct `json:"response,omitempty" xml:"response,omitempty"`
}

AlibabaFundplatformCardorderMakeAPIResponseModel is 通知制卡商制卡 成功返回结果

type AlibabaFundplatformCardorderMakeStruct

type AlibabaFundplatformCardorderMakeStruct struct {
	// 卡模板编号
	TemplateNo string `json:"template_no,omitempty" xml:"template_no,omitempty"`
	// 卡外观图片地址
	PictureUrl string `json:"picture_url,omitempty" xml:"picture_url,omitempty"`
	// 卡面额,单元分
	ParValue string `json:"par_value,omitempty" xml:"par_value,omitempty"`
	// 该模板生成的卡名称
	CardName string `json:"card_name,omitempty" xml:"card_name,omitempty"`
	// 收件人邮编
	ReceiverZipCode string `json:"receiver_zip_code,omitempty" xml:"receiver_zip_code,omitempty"`
	// 收件人地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 收件人联系方式
	ReceiverNumber string `json:"receiver_number,omitempty" xml:"receiver_number,omitempty"`
	// 收件人名称
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 若制卡请求接收成功,返回制卡商内部对应此订单的编号。目前未实际使用,可以随意填写
	MakingCardNo string `json:"making_card_no,omitempty" xml:"making_card_no,omitempty"`
	// 错误详情
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// 错误CODE
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 当前卡模板制卡数量
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaFundplatformCardorderMakeStruct 结构体

type AlibabaFundplatformCardorderMakeSuccessAPIRequest added in v1.2.0

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

AlibabaFundplatformCardorderMakeSuccessAPIRequest 通知制卡成功 API请求 alibaba.fundplatform.cardorder.make.success

当外部业务方调用资金平台异步制卡接口后,资金平台制卡成功后通知异步通知业务方

func NewAlibabaFundplatformCardorderMakeSuccessRequest

func NewAlibabaFundplatformCardorderMakeSuccessRequest() *AlibabaFundplatformCardorderMakeSuccessAPIRequest

NewAlibabaFundplatformCardorderMakeSuccessRequest 初始化AlibabaFundplatformCardorderMakeSuccessAPIRequest对象

func (AlibabaFundplatformCardorderMakeSuccessAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderMakeSuccessAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderMakeSuccessAPIRequest) GetRequest added in v1.2.0

GetRequest Request Getter

func (*AlibabaFundplatformCardorderMakeSuccessAPIRequest) SetRequest added in v1.2.0

SetRequest is Request Setter 入参对象

type AlibabaFundplatformCardorderMakeSuccessAPIResponse

type AlibabaFundplatformCardorderMakeSuccessAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderMakeSuccessAPIResponseModel
}

AlibabaFundplatformCardorderMakeSuccessAPIResponse 通知制卡成功 API返回值 alibaba.fundplatform.cardorder.make.success

当外部业务方调用资金平台异步制卡接口后,资金平台制卡成功后通知异步通知业务方

type AlibabaFundplatformCardorderMakeSuccessAPIResponseModel added in v1.2.0

type AlibabaFundplatformCardorderMakeSuccessAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_fundplatform_cardorder_make_success_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误详情
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// 错误CODE
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaFundplatformCardorderMakeSuccessAPIResponseModel is 通知制卡成功 成功返回结果

type AlibabaFundplatformCardorderMakeSuccessStruct

type AlibabaFundplatformCardorderMakeSuccessStruct struct {
	// 制卡时传入的外部订单号
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 环境变量值,该字段为枚举值:daily(日常),pre(预发),online(线上)
	OwnSign string `json:"own_sign,omitempty" xml:"own_sign,omitempty"`
	// 制卡单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

AlibabaFundplatformCardorderMakeSuccessStruct 结构体

type AlibabaFundplatformCardorderReceiptAPIRequest added in v1.2.0

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

AlibabaFundplatformCardorderReceiptAPIRequest 通知确认收货 API请求 alibaba.fundplatform.cardorder.receipt

告知卡商这一批储值卡已经被用户确认收货

func NewAlibabaFundplatformCardorderReceiptRequest

func NewAlibabaFundplatformCardorderReceiptRequest() *AlibabaFundplatformCardorderReceiptAPIRequest

NewAlibabaFundplatformCardorderReceiptRequest 初始化AlibabaFundplatformCardorderReceiptAPIRequest对象

func (AlibabaFundplatformCardorderReceiptAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderReceiptAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderReceiptAPIRequest) GetCardOrderId added in v1.2.0

GetCardOrderId CardOrderId Getter

func (AlibabaFundplatformCardorderReceiptAPIRequest) GetOwnSign added in v1.2.0

GetOwnSign OwnSign Getter

func (*AlibabaFundplatformCardorderReceiptAPIRequest) SetCardOrderId added in v1.2.0

func (r *AlibabaFundplatformCardorderReceiptAPIRequest) SetCardOrderId(_cardOrderId int64) error

SetCardOrderId is CardOrderId Setter 通知制卡成功的子卡子单号

func (*AlibabaFundplatformCardorderReceiptAPIRequest) SetOwnSign added in v1.2.0

SetOwnSign is OwnSign Setter 环境变量值,该字段为枚举值:daily(日常),pre(预发),online(线上)

type AlibabaFundplatformCardorderReceiptAPIResponse

type AlibabaFundplatformCardorderReceiptAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderReceiptAPIResponseModel
}

AlibabaFundplatformCardorderReceiptAPIResponse 通知确认收货 API返回值 alibaba.fundplatform.cardorder.receipt

告知卡商这一批储值卡已经被用户确认收货

type AlibabaFundplatformCardorderReceiptAPIResponseModel added in v1.2.0

type AlibabaFundplatformCardorderReceiptAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_fundplatform_cardorder_receipt_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误详情
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// 错误CODE
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaFundplatformCardorderReceiptAPIResponseModel is 通知确认收货 成功返回结果

type AlibabaFundplatformCardorderStatusQueryAPIRequest added in v1.2.0

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

AlibabaFundplatformCardorderStatusQueryAPIRequest 查询制卡商制卡进度 API请求 alibaba.fundplatform.cardorder.status.query

当通知制卡商进行制卡后,其制卡流程会比较长,若长时间未反馈当前制卡进展,则需要使用该接口来向制卡商发起进度查询。

func NewAlibabaFundplatformCardorderStatusQueryRequest

func NewAlibabaFundplatformCardorderStatusQueryRequest() *AlibabaFundplatformCardorderStatusQueryAPIRequest

NewAlibabaFundplatformCardorderStatusQueryRequest 初始化AlibabaFundplatformCardorderStatusQueryAPIRequest对象

func (AlibabaFundplatformCardorderStatusQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderStatusQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderStatusQueryAPIRequest) GetRequest added in v1.2.0

GetRequest Request Getter

func (*AlibabaFundplatformCardorderStatusQueryAPIRequest) SetRequest added in v1.2.0

SetRequest is Request Setter 请求结构体

type AlibabaFundplatformCardorderStatusQueryAPIResponse

type AlibabaFundplatformCardorderStatusQueryAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderStatusQueryAPIResponseModel
}

AlibabaFundplatformCardorderStatusQueryAPIResponse 查询制卡商制卡进度 API返回值 alibaba.fundplatform.cardorder.status.query

当通知制卡商进行制卡后,其制卡流程会比较长,若长时间未反馈当前制卡进展,则需要使用该接口来向制卡商发起进度查询。

type AlibabaFundplatformCardorderStatusQueryAPIResponseModel added in v1.2.0

type AlibabaFundplatformCardorderStatusQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_fundplatform_cardorder_status_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结构体
	Response *AlibabaFundplatformCardorderStatusQueryStruct `json:"response,omitempty" xml:"response,omitempty"`
}

AlibabaFundplatformCardorderStatusQueryAPIResponseModel is 查询制卡商制卡进度 成功返回结果

type AlibabaFundplatformCardorderStatusQueryStruct

type AlibabaFundplatformCardorderStatusQueryStruct struct {
	// 环境变量值,该字段为枚举值:daily(日常),pre(预发),online(线上)
	OwnSign string `json:"own_sign,omitempty" xml:"own_sign,omitempty"`
	// 制卡当前阶段 该字段是枚举值,有: REQUEST_RECEIVED(请求接收成功),REQUEST_NOT_EXIST(请求不存在),WAITING_DELIVERY(制卡完成,等待发货),DELIVERED(已发货)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 错误详情
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// 错误CODE
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 物流商名称,仅当制卡状态为发货完成时返回该值
	LogisticsCompany string `json:"logistics_company,omitempty" xml:"logistics_company,omitempty"`
	// 物流单号,仅当制卡状态为发货完成时返回该值
	LogisticsOrderId string `json:"logistics_order_id,omitempty" xml:"logistics_order_id,omitempty"`
	// 子制卡单ID
	CardOrderId int64 `json:"card_order_id,omitempty" xml:"card_order_id,omitempty"`
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaFundplatformCardorderStatusQueryStruct 结构体

type AlibabaFundplatformCardordersInfoQueryAPIRequest added in v1.2.0

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

AlibabaFundplatformCardordersInfoQueryAPIRequest 根据制卡单分页查询卡信息 API请求 alibaba.fundplatform.cardorders.info.query

该接口由汇金实现,外部调用。通过制卡单号分页查询卡信息

func NewAlibabaFundplatformCardordersInfoQueryRequest

func NewAlibabaFundplatformCardordersInfoQueryRequest() *AlibabaFundplatformCardordersInfoQueryAPIRequest

NewAlibabaFundplatformCardordersInfoQueryRequest 初始化AlibabaFundplatformCardordersInfoQueryAPIRequest对象

func (AlibabaFundplatformCardordersInfoQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardordersInfoQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardordersInfoQueryAPIRequest) GetParameters added in v1.2.0

GetParameters Parameters Getter

func (*AlibabaFundplatformCardordersInfoQueryAPIRequest) SetParameters added in v1.2.0

SetParameters is Parameters Setter 请求结构体

type AlibabaFundplatformCardordersInfoQueryAPIResponse

type AlibabaFundplatformCardordersInfoQueryAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardordersInfoQueryAPIResponseModel
}

AlibabaFundplatformCardordersInfoQueryAPIResponse 根据制卡单分页查询卡信息 API返回值 alibaba.fundplatform.cardorders.info.query

该接口由汇金实现,外部调用。通过制卡单号分页查询卡信息

type AlibabaFundplatformCardordersInfoQueryAPIResponseModel added in v1.2.0

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

AlibabaFundplatformCardordersInfoQueryAPIResponseModel is 根据制卡单分页查询卡信息 成功返回结果

type AlibabaFundplatformCardordersInfoQueryByCardnoAPIRequest added in v1.2.0

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

AlibabaFundplatformCardordersInfoQueryByCardnoAPIRequest 通过卡号查询卡信息 API请求 alibaba.fundplatform.cardorders.info.query.by.cardno

该接口由汇金实现,外部调用。通过制卡单号分页查询卡信息

func NewAlibabaFundplatformCardordersInfoQueryByCardnoRequest

func NewAlibabaFundplatformCardordersInfoQueryByCardnoRequest() *AlibabaFundplatformCardordersInfoQueryByCardnoAPIRequest

NewAlibabaFundplatformCardordersInfoQueryByCardnoRequest 初始化AlibabaFundplatformCardordersInfoQueryByCardnoAPIRequest对象

func (AlibabaFundplatformCardordersInfoQueryByCardnoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardordersInfoQueryByCardnoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardordersInfoQueryByCardnoAPIRequest) GetParameters added in v1.2.0

GetParameters Parameters Getter

func (*AlibabaFundplatformCardordersInfoQueryByCardnoAPIRequest) SetParameters added in v1.2.0

SetParameters is Parameters Setter 请求结构体

type AlibabaFundplatformCardordersInfoQueryByCardnoAPIResponse

type AlibabaFundplatformCardordersInfoQueryByCardnoAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardordersInfoQueryByCardnoAPIResponseModel
}

AlibabaFundplatformCardordersInfoQueryByCardnoAPIResponse 通过卡号查询卡信息 API返回值 alibaba.fundplatform.cardorders.info.query.by.cardno

该接口由汇金实现,外部调用。通过制卡单号分页查询卡信息

type AlibabaFundplatformCardordersInfoQueryByCardnoAPIResponseModel added in v1.2.0

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

AlibabaFundplatformCardordersInfoQueryByCardnoAPIResponseModel is 通过卡号查询卡信息 成功返回结果

type AlibabaFundplatformCardordersStatusMakeFinishAPIRequest added in v1.2.0

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

AlibabaFundplatformCardordersStatusMakeFinishAPIRequest 制卡商通知制卡完成 API请求 alibaba.fundplatform.cardorders.status.make.finish

当制卡完成后,制卡商需要调用该接口,通知我们制卡已完成。

func NewAlibabaFundplatformCardordersStatusMakeFinishRequest

func NewAlibabaFundplatformCardordersStatusMakeFinishRequest() *AlibabaFundplatformCardordersStatusMakeFinishAPIRequest

NewAlibabaFundplatformCardordersStatusMakeFinishRequest 初始化AlibabaFundplatformCardordersStatusMakeFinishAPIRequest对象

func (AlibabaFundplatformCardordersStatusMakeFinishAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardordersStatusMakeFinishAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardordersStatusMakeFinishAPIRequest) GetCardOrderId added in v1.2.0

GetCardOrderId CardOrderId Getter

func (*AlibabaFundplatformCardordersStatusMakeFinishAPIRequest) SetCardOrderId added in v1.2.0

SetCardOrderId is CardOrderId Setter 子制卡单ID

type AlibabaFundplatformCardordersStatusMakeFinishAPIResponse

type AlibabaFundplatformCardordersStatusMakeFinishAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardordersStatusMakeFinishAPIResponseModel
}

AlibabaFundplatformCardordersStatusMakeFinishAPIResponse 制卡商通知制卡完成 API返回值 alibaba.fundplatform.cardorders.status.make.finish

当制卡完成后,制卡商需要调用该接口,通知我们制卡已完成。

type AlibabaFundplatformCardordersStatusMakeFinishAPIResponseModel added in v1.2.0

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

AlibabaFundplatformCardordersStatusMakeFinishAPIResponseModel is 制卡商通知制卡完成 成功返回结果

type AlibabaFundplatformCardordersStatusSendedAPIRequest added in v1.2.0

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

AlibabaFundplatformCardordersStatusSendedAPIRequest 制卡商通知实体卡发货完成 API请求 alibaba.fundplatform.cardorders.status.sended

当制卡商将实体卡发货完成后,需要调用该接口,通知我们已发货。

func NewAlibabaFundplatformCardordersStatusSendedRequest

func NewAlibabaFundplatformCardordersStatusSendedRequest() *AlibabaFundplatformCardordersStatusSendedAPIRequest

NewAlibabaFundplatformCardordersStatusSendedRequest 初始化AlibabaFundplatformCardordersStatusSendedAPIRequest对象

func (AlibabaFundplatformCardordersStatusSendedAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardordersStatusSendedAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardordersStatusSendedAPIRequest) GetCardOrderId added in v1.2.0

GetCardOrderId CardOrderId Getter

func (AlibabaFundplatformCardordersStatusSendedAPIRequest) GetLogisticsCompany added in v1.2.0

GetLogisticsCompany LogisticsCompany Getter

func (AlibabaFundplatformCardordersStatusSendedAPIRequest) GetLogisticsOrderId added in v1.2.0

GetLogisticsOrderId LogisticsOrderId Getter

func (*AlibabaFundplatformCardordersStatusSendedAPIRequest) SetCardOrderId added in v1.2.0

func (r *AlibabaFundplatformCardordersStatusSendedAPIRequest) SetCardOrderId(_cardOrderId int64) error

SetCardOrderId is CardOrderId Setter 子制卡单ID

func (*AlibabaFundplatformCardordersStatusSendedAPIRequest) SetLogisticsCompany added in v1.2.0

func (r *AlibabaFundplatformCardordersStatusSendedAPIRequest) SetLogisticsCompany(_logisticsCompany string) error

SetLogisticsCompany is LogisticsCompany Setter 物流商名称

func (*AlibabaFundplatformCardordersStatusSendedAPIRequest) SetLogisticsOrderId added in v1.2.0

func (r *AlibabaFundplatformCardordersStatusSendedAPIRequest) SetLogisticsOrderId(_logisticsOrderId string) error

SetLogisticsOrderId is LogisticsOrderId Setter 物流单号

type AlibabaFundplatformCardordersStatusSendedAPIResponse

type AlibabaFundplatformCardordersStatusSendedAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardordersStatusSendedAPIResponseModel
}

AlibabaFundplatformCardordersStatusSendedAPIResponse 制卡商通知实体卡发货完成 API返回值 alibaba.fundplatform.cardorders.status.sended

当制卡商将实体卡发货完成后,需要调用该接口,通知我们已发货。

type AlibabaFundplatformCardordersStatusSendedAPIResponseModel added in v1.2.0

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

AlibabaFundplatformCardordersStatusSendedAPIResponseModel is 制卡商通知实体卡发货完成 成功返回结果

type AlibabaTaxInvoiceSyncLedgerAPIRequest added in v1.2.0

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

AlibabaTaxInvoiceSyncLedgerAPIRequest 同步底账数据 API请求 alibaba.tax.invoice.sync.ledger

接收第三方服务(如:票易通)同步过来的底账发票数据

func NewAlibabaTaxInvoiceSyncLedgerRequest

func NewAlibabaTaxInvoiceSyncLedgerRequest() *AlibabaTaxInvoiceSyncLedgerAPIRequest

NewAlibabaTaxInvoiceSyncLedgerRequest 初始化AlibabaTaxInvoiceSyncLedgerAPIRequest对象

func (AlibabaTaxInvoiceSyncLedgerAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaTaxInvoiceSyncLedgerAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaTaxInvoiceSyncLedgerAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaTaxInvoiceSyncLedgerAPIRequest) GetParamSyncLedgerInvoiceRequest added in v1.2.0

func (r AlibabaTaxInvoiceSyncLedgerAPIRequest) GetParamSyncLedgerInvoiceRequest() *SyncLedgerInvoiceRequest

GetParamSyncLedgerInvoiceRequest ParamSyncLedgerInvoiceRequest Getter

func (*AlibabaTaxInvoiceSyncLedgerAPIRequest) SetParamSyncLedgerInvoiceRequest added in v1.2.0

func (r *AlibabaTaxInvoiceSyncLedgerAPIRequest) SetParamSyncLedgerInvoiceRequest(_paramSyncLedgerInvoiceRequest *SyncLedgerInvoiceRequest) error

SetParamSyncLedgerInvoiceRequest is ParamSyncLedgerInvoiceRequest Setter 参数

type AlibabaTaxInvoiceSyncLedgerAPIResponse

type AlibabaTaxInvoiceSyncLedgerAPIResponse struct {
	model.CommonResponse
	AlibabaTaxInvoiceSyncLedgerAPIResponseModel
}

AlibabaTaxInvoiceSyncLedgerAPIResponse 同步底账数据 API返回值 alibaba.tax.invoice.sync.ledger

接收第三方服务(如:票易通)同步过来的底账发票数据

type AlibabaTaxInvoiceSyncLedgerAPIResponseModel added in v1.2.0

type AlibabaTaxInvoiceSyncLedgerAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_tax_invoice_sync_ledger_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应编码
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 异常消息
	ResponseMsg string `json:"response_msg,omitempty" xml:"response_msg,omitempty"`
	// true/false
	Succeeded bool `json:"succeeded,omitempty" xml:"succeeded,omitempty"`
}

AlibabaTaxInvoiceSyncLedgerAPIResponseModel is 同步底账数据 成功返回结果

type CardActiveRequest

type CardActiveRequest struct {
	// 需要激活的卡号。卡号与外部订单号不可以同时为空。
	CardNos []string `json:"card_nos,omitempty" xml:"card_nos>string,omitempty"`
	// 在制卡时传入的外部订单号,卡号与外部订单号不可以同时为空
	FetchOutBizId string `json:"fetch_out_biz_id,omitempty" xml:"fetch_out_biz_id,omitempty"`
	// 当前激活操作的幂等号,请保证不重复
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 操作人ID,用于后续追踪
	OptUserId int64 `json:"opt_user_id,omitempty" xml:"opt_user_id,omitempty"`
}

CardActiveRequest 结构体

type CardActiveResponse

type CardActiveResponse struct {
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 错误消息
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// 是否处理成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CardActiveResponse 结构体

type CardFetchAsyncRequest

type CardFetchAsyncRequest struct {
	// 制卡详情
	CardFetchDetails []CardFetchDetailDto `json:"card_fetch_details,omitempty" xml:"card_fetch_details>card_fetch_detail_dto,omitempty"`
	// 购买主体类型 company 公司|person  个人
	BuyEntityType string `json:"buy_entity_type,omitempty" xml:"buy_entity_type,omitempty"`
	// 幂等字段,请保证唯一性,不要超过32位
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 售卖方式 online 线上|offline 线下
	SaleMode string `json:"sale_mode,omitempty" xml:"sale_mode,omitempty"`
	// 业务类型,由资金平台分配
	SubizType int64 `json:"subiz_type,omitempty" xml:"subiz_type,omitempty"`
	// 购买方在淘宝的用户ID
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 是否储值卡同步激活,默认为true
	Active bool `json:"active,omitempty" xml:"active,omitempty"`
}

CardFetchAsyncRequest 结构体

type CardFetchAsyncResponse

type CardFetchAsyncResponse struct {
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 错误消息
	ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CardFetchAsyncResponse 结构体

type CardFetchDetailDto

type CardFetchDetailDto struct {
	// 制卡模板号
	TemplateNo string `json:"template_no,omitempty" xml:"template_no,omitempty"`
	// 制卡数量
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 售价,单位为分。不填写则使用模板上配置的默认售价
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
}

CardFetchDetailDto 结构体

type CardMakingInfoQueryRequest

type CardMakingInfoQueryRequest struct {
	// 卡号列表
	CardNos []string `json:"card_nos,omitempty" xml:"card_nos>string,omitempty"`
	// 已废弃,可以填写固定值test
	Signture string `json:"signture,omitempty" xml:"signture,omitempty"`
	// 页大小,最大500
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 当前页,从1开始
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 子制卡单ID
	CardOrderId int64 `json:"card_order_id,omitempty" xml:"card_order_id,omitempty"`
}

CardMakingInfoQueryRequest 结构体

type CardMakingInfoQueryResponse

type CardMakingInfoQueryResponse struct {
	// 卡信息列表。cardNo卡号,cardPassword卡密,qrCode二维码链接,shortQrCode短连接二维码,templateNo卡商品编码,status卡状态
	CardMakingInfos []string `json:"card_making_infos,omitempty" xml:"card_making_infos>string,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CardMakingInfoQueryResponse 结构体

type CardMakingInformResponse

type CardMakingInformResponse struct {
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

CardMakingInformResponse 结构体

type ChargeRequest

type ChargeRequest struct {
	// 描述信息
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 幂等字段,最多32位,必须保证同一请求幂等号唯一。不同请求幂等号不同
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 付款支付宝账户email
	PayerAlipayEmail string `json:"payer_alipay_email,omitempty" xml:"payer_alipay_email,omitempty"`
	// 付款支付宝账户编码
	PayerAlipayNo string `json:"payer_alipay_no,omitempty" xml:"payer_alipay_no,omitempty"`
	// 充值金额,单位分
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 业务类型,由资金平台分配,一般为9位数字
	SubBizType int64 `json:"sub_biz_type,omitempty" xml:"sub_biz_type,omitempty"`
	// 用户ID,两个userId请保持一致
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

ChargeRequest 结构体

type FundAccountJournalDto

type FundAccountJournalDto struct {
	// 描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 最后修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 流水类型:FUND_ACCOUNT_IN 充值 FUND_ACCOUNT_OUT 提现 FUND_ACCOUNT_DEDUCT 扣款 FUND_ACCOUNT_FREEZE 冻结 FUND_ACCOUNT_UNFREEZE 解冻
	JournalType string `json:"journal_type,omitempty" xml:"journal_type,omitempty"`
	// 外部订单号
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 账户ID
	AccountId int64 `json:"account_id,omitempty" xml:"account_id,omitempty"`
	// 操作金额
	DealAmount int64 `json:"deal_amount,omitempty" xml:"deal_amount,omitempty"`
	// 用户ID
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

FundAccountJournalDto 结构体

type FundAccountJournalQueryReq

type FundAccountJournalQueryReq struct {
	// 查询流水类型枚举,为空代表所有类型FUND_ACCOUNT_IN 充值     FUND_ACCOUNT_OUT 提现     FUND_ACCOUNT_DEDUCT 扣款     FUND_ACCOUNT_FREEZE 冻结     FUND_ACCOUNT_UNFREEZE 解冻
	JournalTypes []string `json:"journal_types,omitempty" xml:"journal_types>string,omitempty"`
	// 流水创建开始时间,前闭后开
	CreateBeginTime string `json:"create_begin_time,omitempty" xml:"create_begin_time,omitempty"`
	// 流水创建结束时间,前闭后开
	CreateEndTime string `json:"create_end_time,omitempty" xml:"create_end_time,omitempty"`
	// 账户ID
	AccountId int64 `json:"account_id,omitempty" xml:"account_id,omitempty"`
	// 当前页,从1开始
	CurrentPageNo int64 `json:"current_page_no,omitempty" xml:"current_page_no,omitempty"`
	// 页大小,[1,1000]
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

FundAccountJournalQueryReq 结构体

type FundAccountJournalResponse

type FundAccountJournalResponse struct {
	// 流水列表
	JournalList []FundAccountJournalDto `json:"journal_list,omitempty" xml:"journal_list>fund_account_journal_dto,omitempty"`
}

FundAccountJournalResponse 结构体

type FundAccountResponse

type FundAccountResponse struct {
	// 外部订单号
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 账户名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 账户ID
	AccountId int64 `json:"account_id,omitempty" xml:"account_id,omitempty"`
	// 可用余额
	BalanceAmount int64 `json:"balance_amount,omitempty" xml:"balance_amount,omitempty"`
	// 冻结金额
	FreezeAmount int64 `json:"freeze_amount,omitempty" xml:"freeze_amount,omitempty"`
	// 状态,1:正常,2:禁用
	Status *model.File `json:"status,omitempty" xml:"status,omitempty"`
	// 用户ID
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

FundAccountResponse 结构体

type InputInvoiceLineLedgerDto

type InputInvoiceLineLedgerDto struct {
	// 总金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 不含税金额
	ExcludingTaxAmount string `json:"excluding_tax_amount,omitempty" xml:"excluding_tax_amount,omitempty"`
	// 货物名称
	GoodsDesc string `json:"goods_desc,omitempty" xml:"goods_desc,omitempty"`
	// 规格型号
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 单位
	QuantityUnit string `json:"quantity_unit,omitempty" xml:"quantity_unit,omitempty"`
	// 不含税金额
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	// 单价
	UnitPrice string `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// 税率
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
}

InputInvoiceLineLedgerDto 结构体

type ResultSupport

type ResultSupport struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMessage
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 出参对象
	Module *AccountChargeResponse `json:"module,omitempty" xml:"module,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ResultSupport 结构体

type SyncLedgerInvoiceRequest

type SyncLedgerInvoiceRequest struct {
	// 发票行
	InputInvoiceLineDTOList []InputInvoiceLineLedgerDto `json:"input_invoice_line_d_t_o_list,omitempty" xml:"input_invoice_line_d_t_o_list>input_invoice_line_ledger_dto,omitempty"`
	// 金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 认证时间
	CertifyDate string `json:"certify_date,omitempty" xml:"certify_date,omitempty"`
	// 认证标识
	CertifyFlag string `json:"certify_flag,omitempty" xml:"certify_flag,omitempty"`
	// 校验码
	CheckSum string `json:"check_sum,omitempty" xml:"check_sum,omitempty"`
	// 密码区
	CipherText string `json:"cipher_text,omitempty" xml:"cipher_text,omitempty"`
	// 不含税金额
	ExcludingTaxAmount string `json:"excluding_tax_amount,omitempty" xml:"excluding_tax_amount,omitempty"`
	// 发票代码
	InvoiceCode string `json:"invoice_code,omitempty" xml:"invoice_code,omitempty"`
	// 开票日期
	InvoiceDate string `json:"invoice_date,omitempty" xml:"invoice_date,omitempty"`
	// 发票号码
	InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"`
	// 发票状态
	InvoiceStatus string `json:"invoice_status,omitempty" xml:"invoice_status,omitempty"`
	// 发票类型
	InvoiceType string `json:"invoice_type,omitempty" xml:"invoice_type,omitempty"`
	// 机器编码
	MachineCode string `json:"machine_code,omitempty" xml:"machine_code,omitempty"`
	// 购方银行信息
	PurchaserBankInfo string `json:"purchaser_bank_info,omitempty" xml:"purchaser_bank_info,omitempty"`
	// 购方联系方式
	PurchaserContactInfo string `json:"purchaser_contact_info,omitempty" xml:"purchaser_contact_info,omitempty"`
	// 购方名称
	PurchaserName string `json:"purchaser_name,omitempty" xml:"purchaser_name,omitempty"`
	// 购方税号
	PurchaserTaxNo string `json:"purchaser_tax_no,omitempty" xml:"purchaser_tax_no,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 销方银行信息
	SellerBankInfo string `json:"seller_bank_info,omitempty" xml:"seller_bank_info,omitempty"`
	// 销方联系人信息
	SellerContactInfo string `json:"seller_contact_info,omitempty" xml:"seller_contact_info,omitempty"`
	// 销方名称
	SellerName string `json:"seller_name,omitempty" xml:"seller_name,omitempty"`
	// 销方税号
	SellerTaxNo string `json:"seller_tax_no,omitempty" xml:"seller_tax_no,omitempty"`
	// 税额
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	// 所属期
	TaxPeriod string `json:"tax_period,omitempty" xml:"tax_period,omitempty"`
	// 勾选时间
	CheckCertifyTime string `json:"check_certify_time,omitempty" xml:"check_certify_time,omitempty"`
	// 勾选状态
	CheckCertifyStatus string `json:"check_certify_status,omitempty" xml:"check_certify_status,omitempty"`
	// 有效税额
	EffectiveTaxAmount string `json:"effective_tax_amount,omitempty" xml:"effective_tax_amount,omitempty"`
	// 认证方式标识
	TaxDeductFag string `json:"tax_deduct_fag,omitempty" xml:"tax_deduct_fag,omitempty"`
}

SyncLedgerInvoiceRequest 结构体

Source Files

Jump to

Keyboard shortcuts

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