fundplatform

package
v1.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountChargeResponse

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

AccountChargeResponse

type AlibabaFundplatformAccountChargeAPIResponse

type AlibabaFundplatformAccountChargeAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformAccountChargeResponse
}

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

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

type AlibabaFundplatformAccountChargeNotifyAPIResponse

type AlibabaFundplatformAccountChargeNotifyAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformAccountChargeNotifyResponse
}

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

通知外部业务方充值成功

type AlibabaFundplatformAccountChargeNotifyRequest

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

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

通知外部业务方充值成功

func NewAlibabaFundplatformAccountChargeNotifyRequest

func NewAlibabaFundplatformAccountChargeNotifyRequest() *AlibabaFundplatformAccountChargeNotifyRequest

初始化AlibabaFundplatformAccountChargeNotifyRequest对象

func (AlibabaFundplatformAccountChargeNotifyRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformAccountChargeNotifyRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformAccountChargeNotifyRequest) GetRequest

Request Getter

func (*AlibabaFundplatformAccountChargeNotifyRequest) SetRequest

Request Setter 入参对象

type AlibabaFundplatformAccountChargeNotifyResponse

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

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

type AlibabaFundplatformAccountChargeNotifyStruct

type AlibabaFundplatformAccountChargeNotifyStruct struct {
	// 在资金平台中账户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"`
	// 回传充值时传入的outBizId
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 用户在淘宝中userId
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 环境变量值,该字段为枚举值:daily(日常),pre(预发),online(线上)
	OwnSign string `json:"own_sign,omitempty" xml:"own_sign,omitempty"`
}

AlibabaFundplatformAccountChargeNotifyStruct

type AlibabaFundplatformAccountChargeRequest

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

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

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

func NewAlibabaFundplatformAccountChargeRequest

func NewAlibabaFundplatformAccountChargeRequest() *AlibabaFundplatformAccountChargeRequest

初始化AlibabaFundplatformAccountChargeRequest对象

func (AlibabaFundplatformAccountChargeRequest) GetApiMethodName

func (r AlibabaFundplatformAccountChargeRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformAccountChargeRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformAccountChargeRequest) GetParamChargeRequest

func (r AlibabaFundplatformAccountChargeRequest) GetParamChargeRequest() *ChargeRequest

ParamChargeRequest Getter

func (AlibabaFundplatformAccountChargeRequest) GetParamLong

ParamLong Getter

func (*AlibabaFundplatformAccountChargeRequest) SetParamChargeRequest

func (r *AlibabaFundplatformAccountChargeRequest) SetParamChargeRequest(paramChargeRequest *ChargeRequest) error

ParamChargeRequest Setter 入参对象

func (*AlibabaFundplatformAccountChargeRequest) SetParamLong

func (r *AlibabaFundplatformAccountChargeRequest) SetParamLong(paramLong int64) error

ParamLong Setter 用户ID

type AlibabaFundplatformAccountChargeResponse

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

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

type AlibabaFundplatformAccountJourQueryInfoAPIResponse

type AlibabaFundplatformAccountJourQueryInfoAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformAccountJourQueryInfoResponse
}

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

外部查询账户流水信息

type AlibabaFundplatformAccountJourQueryInfoRequest

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

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

外部查询账户流水信息

func NewAlibabaFundplatformAccountJourQueryInfoRequest

func NewAlibabaFundplatformAccountJourQueryInfoRequest() *AlibabaFundplatformAccountJourQueryInfoRequest

初始化AlibabaFundplatformAccountJourQueryInfoRequest对象

func (AlibabaFundplatformAccountJourQueryInfoRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformAccountJourQueryInfoRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformAccountJourQueryInfoRequest) GetParamFundAccountJournalQueryReq

func (r AlibabaFundplatformAccountJourQueryInfoRequest) GetParamFundAccountJournalQueryReq() *FundAccountJournalQueryReq

ParamFundAccountJournalQueryReq Getter

func (*AlibabaFundplatformAccountJourQueryInfoRequest) SetParamFundAccountJournalQueryReq

func (r *AlibabaFundplatformAccountJourQueryInfoRequest) SetParamFundAccountJournalQueryReq(paramFundAccountJournalQueryReq *FundAccountJournalQueryReq) error

ParamFundAccountJournalQueryReq Setter 入参对象

type AlibabaFundplatformAccountJourQueryInfoResponse

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

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

type AlibabaFundplatformAccountQueryInfoAPIResponse

type AlibabaFundplatformAccountQueryInfoAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformAccountQueryInfoResponse
}

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

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

type AlibabaFundplatformAccountQueryInfoRequest

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

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

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

func NewAlibabaFundplatformAccountQueryInfoRequest

func NewAlibabaFundplatformAccountQueryInfoRequest() *AlibabaFundplatformAccountQueryInfoRequest

初始化AlibabaFundplatformAccountQueryInfoRequest对象

func (AlibabaFundplatformAccountQueryInfoRequest) GetAccountId

AccountId Getter

func (AlibabaFundplatformAccountQueryInfoRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformAccountQueryInfoRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (*AlibabaFundplatformAccountQueryInfoRequest) SetAccountId

func (r *AlibabaFundplatformAccountQueryInfoRequest) SetAccountId(accountId int64) error

AccountId Setter 账户ID

type AlibabaFundplatformAccountQueryInfoResponse

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

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

type AlibabaFundplatformCardTemplateNewAPIResponse

type AlibabaFundplatformCardTemplateNewAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardTemplateNewResponse
}

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

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

type AlibabaFundplatformCardTemplateNewRequest

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

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

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

func NewAlibabaFundplatformCardTemplateNewRequest

func NewAlibabaFundplatformCardTemplateNewRequest() *AlibabaFundplatformCardTemplateNewRequest

初始化AlibabaFundplatformCardTemplateNewRequest对象

func (AlibabaFundplatformCardTemplateNewRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardTemplateNewRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardTemplateNewRequest) GetCardName

CardName Getter

func (AlibabaFundplatformCardTemplateNewRequest) GetIsTest

IsTest Getter

func (AlibabaFundplatformCardTemplateNewRequest) GetOwnSign

OwnSign Getter

func (AlibabaFundplatformCardTemplateNewRequest) GetParValue

ParValue Getter

func (AlibabaFundplatformCardTemplateNewRequest) GetPictureUrl

PictureUrl Getter

func (AlibabaFundplatformCardTemplateNewRequest) GetTemplateNo

TemplateNo Getter

func (*AlibabaFundplatformCardTemplateNewRequest) SetCardName

func (r *AlibabaFundplatformCardTemplateNewRequest) SetCardName(cardName string) error

CardName Setter 该模板生成的卡名称

func (*AlibabaFundplatformCardTemplateNewRequest) SetIsTest

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

func (*AlibabaFundplatformCardTemplateNewRequest) SetOwnSign

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

func (*AlibabaFundplatformCardTemplateNewRequest) SetParValue

func (r *AlibabaFundplatformCardTemplateNewRequest) SetParValue(parValue string) error

ParValue Setter 卡面额,单元分

func (*AlibabaFundplatformCardTemplateNewRequest) SetPictureUrl

func (r *AlibabaFundplatformCardTemplateNewRequest) SetPictureUrl(pictureUrl string) error

PictureUrl Setter 卡外观图片地址

func (*AlibabaFundplatformCardTemplateNewRequest) SetTemplateNo

func (r *AlibabaFundplatformCardTemplateNewRequest) SetTemplateNo(templateNo string) error

TemplateNo Setter 卡模板编号

type AlibabaFundplatformCardTemplateNewResponse

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

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

type AlibabaFundplatformCardorderCardActiveAPIResponse

type AlibabaFundplatformCardorderCardActiveAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderCardActiveResponse
}

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

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

type AlibabaFundplatformCardorderCardActiveRequest

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

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

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

func NewAlibabaFundplatformCardorderCardActiveRequest

func NewAlibabaFundplatformCardorderCardActiveRequest() *AlibabaFundplatformCardorderCardActiveRequest

初始化AlibabaFundplatformCardorderCardActiveRequest对象

func (AlibabaFundplatformCardorderCardActiveRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderCardActiveRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderCardActiveRequest) GetParamCardActiveRequest

ParamCardActiveRequest Getter

func (*AlibabaFundplatformCardorderCardActiveRequest) SetParamCardActiveRequest

func (r *AlibabaFundplatformCardorderCardActiveRequest) SetParamCardActiveRequest(paramCardActiveRequest *CardActiveRequest) error

ParamCardActiveRequest Setter 入参对象

type AlibabaFundplatformCardorderCardActiveResponse

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

储值卡激活 成功返回结果

type AlibabaFundplatformCardorderFetchCardAsyncAPIResponse

type AlibabaFundplatformCardorderFetchCardAsyncAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderFetchCardAsyncResponse
}

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

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

type AlibabaFundplatformCardorderFetchCardAsyncRequest

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

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

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

func NewAlibabaFundplatformCardorderFetchCardAsyncRequest

func NewAlibabaFundplatformCardorderFetchCardAsyncRequest() *AlibabaFundplatformCardorderFetchCardAsyncRequest

初始化AlibabaFundplatformCardorderFetchCardAsyncRequest对象

func (AlibabaFundplatformCardorderFetchCardAsyncRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderFetchCardAsyncRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderFetchCardAsyncRequest) GetParamCardFetchAsyncRequest

ParamCardFetchAsyncRequest Getter

func (*AlibabaFundplatformCardorderFetchCardAsyncRequest) SetParamCardFetchAsyncRequest

func (r *AlibabaFundplatformCardorderFetchCardAsyncRequest) SetParamCardFetchAsyncRequest(paramCardFetchAsyncRequest *CardFetchAsyncRequest) error

ParamCardFetchAsyncRequest Setter 入参复杂对象

type AlibabaFundplatformCardorderFetchCardAsyncResponse

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

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

type AlibabaFundplatformCardorderMakeAPIResponse

type AlibabaFundplatformCardorderMakeAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderMakeResponse
}

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

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

type AlibabaFundplatformCardorderMakeRequest

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

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

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

func NewAlibabaFundplatformCardorderMakeRequest

func NewAlibabaFundplatformCardorderMakeRequest() *AlibabaFundplatformCardorderMakeRequest

初始化AlibabaFundplatformCardorderMakeRequest对象

func (AlibabaFundplatformCardorderMakeRequest) GetApiMethodName

func (r AlibabaFundplatformCardorderMakeRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderMakeRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderMakeRequest) GetCardOrderId

CardOrderId Getter

func (AlibabaFundplatformCardorderMakeRequest) GetCardProductInfos

CardProductInfos Getter

func (AlibabaFundplatformCardorderMakeRequest) GetLogisticsInfo

LogisticsInfo Getter

func (AlibabaFundplatformCardorderMakeRequest) GetOwnSign

OwnSign Getter

func (*AlibabaFundplatformCardorderMakeRequest) SetCardOrderId

func (r *AlibabaFundplatformCardorderMakeRequest) SetCardOrderId(cardOrderId int64) error

CardOrderId Setter 子制卡单ID

func (*AlibabaFundplatformCardorderMakeRequest) SetCardProductInfos

CardProductInfos Setter 卡模板信息列表

func (*AlibabaFundplatformCardorderMakeRequest) SetLogisticsInfo

LogisticsInfo Setter 物流信息

func (*AlibabaFundplatformCardorderMakeRequest) SetOwnSign

func (r *AlibabaFundplatformCardorderMakeRequest) SetOwnSign(ownSign string) error

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

type AlibabaFundplatformCardorderMakeResponse

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

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

type AlibabaFundplatformCardorderMakeStruct

type AlibabaFundplatformCardorderMakeStruct struct {
	// 收件人邮编
	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"`
	// 卡模板编号
	TemplateNo string `json:"template_no,omitempty" xml:"template_no,omitempty"`
	// 卡外观图片地址
	PictureUrl string `json:"picture_url,omitempty" xml:"picture_url,omitempty"`
	// 当前卡模板制卡数量
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// 卡面额,单元分
	ParValue string `json:"par_value,omitempty" xml:"par_value,omitempty"`
	// 该模板生成的卡名称
	CardName string `json:"card_name,omitempty" xml:"card_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"`
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaFundplatformCardorderMakeStruct

type AlibabaFundplatformCardorderMakeSuccessAPIResponse

type AlibabaFundplatformCardorderMakeSuccessAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderMakeSuccessResponse
}

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

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

type AlibabaFundplatformCardorderMakeSuccessRequest

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

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

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

func NewAlibabaFundplatformCardorderMakeSuccessRequest

func NewAlibabaFundplatformCardorderMakeSuccessRequest() *AlibabaFundplatformCardorderMakeSuccessRequest

初始化AlibabaFundplatformCardorderMakeSuccessRequest对象

func (AlibabaFundplatformCardorderMakeSuccessRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderMakeSuccessRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderMakeSuccessRequest) GetRequest

Request Getter

func (*AlibabaFundplatformCardorderMakeSuccessRequest) SetRequest

Request Setter 入参对象

type AlibabaFundplatformCardorderMakeSuccessResponse

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

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

type AlibabaFundplatformCardorderMakeSuccessStruct

type AlibabaFundplatformCardorderMakeSuccessStruct struct {
	// 制卡单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 制卡时传入的外部订单号
	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"`
}

AlibabaFundplatformCardorderMakeSuccessStruct

type AlibabaFundplatformCardorderReceiptAPIResponse

type AlibabaFundplatformCardorderReceiptAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderReceiptResponse
}

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

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

type AlibabaFundplatformCardorderReceiptRequest

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

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

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

func NewAlibabaFundplatformCardorderReceiptRequest

func NewAlibabaFundplatformCardorderReceiptRequest() *AlibabaFundplatformCardorderReceiptRequest

初始化AlibabaFundplatformCardorderReceiptRequest对象

func (AlibabaFundplatformCardorderReceiptRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderReceiptRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderReceiptRequest) GetCardOrderId

CardOrderId Getter

func (AlibabaFundplatformCardorderReceiptRequest) GetOwnSign

OwnSign Getter

func (*AlibabaFundplatformCardorderReceiptRequest) SetCardOrderId

func (r *AlibabaFundplatformCardorderReceiptRequest) SetCardOrderId(cardOrderId int64) error

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

func (*AlibabaFundplatformCardorderReceiptRequest) SetOwnSign

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

type AlibabaFundplatformCardorderReceiptResponse

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

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

type AlibabaFundplatformCardorderStatusQueryAPIResponse

type AlibabaFundplatformCardorderStatusQueryAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardorderStatusQueryResponse
}

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

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

type AlibabaFundplatformCardorderStatusQueryRequest

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

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

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

func NewAlibabaFundplatformCardorderStatusQueryRequest

func NewAlibabaFundplatformCardorderStatusQueryRequest() *AlibabaFundplatformCardorderStatusQueryRequest

初始化AlibabaFundplatformCardorderStatusQueryRequest对象

func (AlibabaFundplatformCardorderStatusQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardorderStatusQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardorderStatusQueryRequest) GetRequest

Request Getter

func (*AlibabaFundplatformCardorderStatusQueryRequest) SetRequest

Request Setter 请求结构体

type AlibabaFundplatformCardorderStatusQueryResponse

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

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

type AlibabaFundplatformCardorderStatusQueryStruct

type AlibabaFundplatformCardorderStatusQueryStruct struct {
	// 子制卡单ID
	CardOrderId int64 `json:"card_order_id,omitempty" xml:"card_order_id,omitempty"`
	// 环境变量值,该字段为枚举值: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"`
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 物流商名称,仅当制卡状态为发货完成时返回该值
	LogisticsCompany string `json:"logistics_company,omitempty" xml:"logistics_company,omitempty"`
	// 物流单号,仅当制卡状态为发货完成时返回该值
	LogisticsOrderId string `json:"logistics_order_id,omitempty" xml:"logistics_order_id,omitempty"`
}

AlibabaFundplatformCardorderStatusQueryStruct

type AlibabaFundplatformCardordersInfoQueryAPIResponse

type AlibabaFundplatformCardordersInfoQueryAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardordersInfoQueryResponse
}

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

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

type AlibabaFundplatformCardordersInfoQueryByCardnoAPIResponse

type AlibabaFundplatformCardordersInfoQueryByCardnoAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardordersInfoQueryByCardnoResponse
}

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

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

type AlibabaFundplatformCardordersInfoQueryByCardnoRequest

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

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

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

func NewAlibabaFundplatformCardordersInfoQueryByCardnoRequest

func NewAlibabaFundplatformCardordersInfoQueryByCardnoRequest() *AlibabaFundplatformCardordersInfoQueryByCardnoRequest

初始化AlibabaFundplatformCardordersInfoQueryByCardnoRequest对象

func (AlibabaFundplatformCardordersInfoQueryByCardnoRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardordersInfoQueryByCardnoRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardordersInfoQueryByCardnoRequest) GetParameters

Parameters Getter

func (*AlibabaFundplatformCardordersInfoQueryByCardnoRequest) SetParameters

Parameters Setter 请求结构体

type AlibabaFundplatformCardordersInfoQueryByCardnoResponse

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

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

type AlibabaFundplatformCardordersInfoQueryRequest

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

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

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

func NewAlibabaFundplatformCardordersInfoQueryRequest

func NewAlibabaFundplatformCardordersInfoQueryRequest() *AlibabaFundplatformCardordersInfoQueryRequest

初始化AlibabaFundplatformCardordersInfoQueryRequest对象

func (AlibabaFundplatformCardordersInfoQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardordersInfoQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardordersInfoQueryRequest) GetParameters

Parameters Getter

func (*AlibabaFundplatformCardordersInfoQueryRequest) SetParameters

Parameters Setter 请求结构体

type AlibabaFundplatformCardordersInfoQueryResponse

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

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

type AlibabaFundplatformCardordersStatusMakeFinishAPIResponse

type AlibabaFundplatformCardordersStatusMakeFinishAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardordersStatusMakeFinishResponse
}

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

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

type AlibabaFundplatformCardordersStatusMakeFinishRequest

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

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

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

func NewAlibabaFundplatformCardordersStatusMakeFinishRequest

func NewAlibabaFundplatformCardordersStatusMakeFinishRequest() *AlibabaFundplatformCardordersStatusMakeFinishRequest

初始化AlibabaFundplatformCardordersStatusMakeFinishRequest对象

func (AlibabaFundplatformCardordersStatusMakeFinishRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardordersStatusMakeFinishRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardordersStatusMakeFinishRequest) GetCardOrderId

CardOrderId Getter

func (*AlibabaFundplatformCardordersStatusMakeFinishRequest) SetCardOrderId

func (r *AlibabaFundplatformCardordersStatusMakeFinishRequest) SetCardOrderId(cardOrderId int64) error

CardOrderId Setter 子制卡单ID

type AlibabaFundplatformCardordersStatusMakeFinishResponse

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

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

type AlibabaFundplatformCardordersStatusSendedAPIResponse

type AlibabaFundplatformCardordersStatusSendedAPIResponse struct {
	model.CommonResponse
	AlibabaFundplatformCardordersStatusSendedResponse
}

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

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

type AlibabaFundplatformCardordersStatusSendedRequest

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

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

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

func NewAlibabaFundplatformCardordersStatusSendedRequest

func NewAlibabaFundplatformCardordersStatusSendedRequest() *AlibabaFundplatformCardordersStatusSendedRequest

初始化AlibabaFundplatformCardordersStatusSendedRequest对象

func (AlibabaFundplatformCardordersStatusSendedRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaFundplatformCardordersStatusSendedRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaFundplatformCardordersStatusSendedRequest) GetCardOrderId

CardOrderId Getter

func (AlibabaFundplatformCardordersStatusSendedRequest) GetLogisticsCompany

LogisticsCompany Getter

func (AlibabaFundplatformCardordersStatusSendedRequest) GetLogisticsOrderId

LogisticsOrderId Getter

func (*AlibabaFundplatformCardordersStatusSendedRequest) SetCardOrderId

func (r *AlibabaFundplatformCardordersStatusSendedRequest) SetCardOrderId(cardOrderId int64) error

CardOrderId Setter 子制卡单ID

func (*AlibabaFundplatformCardordersStatusSendedRequest) SetLogisticsCompany

func (r *AlibabaFundplatformCardordersStatusSendedRequest) SetLogisticsCompany(logisticsCompany string) error

LogisticsCompany Setter 物流商名称

func (*AlibabaFundplatformCardordersStatusSendedRequest) SetLogisticsOrderId

func (r *AlibabaFundplatformCardordersStatusSendedRequest) SetLogisticsOrderId(logisticsOrderId string) error

LogisticsOrderId Setter 物流单号

type AlibabaFundplatformCardordersStatusSendedResponse

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

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

type AlibabaTaxInvoiceSyncLedgerAPIResponse

type AlibabaTaxInvoiceSyncLedgerAPIResponse struct {
	model.CommonResponse
	AlibabaTaxInvoiceSyncLedgerResponse
}

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

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

type AlibabaTaxInvoiceSyncLedgerRequest

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

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

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

func NewAlibabaTaxInvoiceSyncLedgerRequest

func NewAlibabaTaxInvoiceSyncLedgerRequest() *AlibabaTaxInvoiceSyncLedgerRequest

初始化AlibabaTaxInvoiceSyncLedgerRequest对象

func (AlibabaTaxInvoiceSyncLedgerRequest) GetApiMethodName

func (r AlibabaTaxInvoiceSyncLedgerRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaTaxInvoiceSyncLedgerRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaTaxInvoiceSyncLedgerRequest) GetParamSyncLedgerInvoiceRequest

func (r AlibabaTaxInvoiceSyncLedgerRequest) GetParamSyncLedgerInvoiceRequest() *SyncLedgerInvoiceRequest

ParamSyncLedgerInvoiceRequest Getter

func (*AlibabaTaxInvoiceSyncLedgerRequest) SetParamSyncLedgerInvoiceRequest

func (r *AlibabaTaxInvoiceSyncLedgerRequest) SetParamSyncLedgerInvoiceRequest(paramSyncLedgerInvoiceRequest *SyncLedgerInvoiceRequest) error

ParamSyncLedgerInvoiceRequest Setter 参数

type AlibabaTaxInvoiceSyncLedgerResponse

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

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

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"`
	// 操作人ID,用于后续追踪
	OptUserId int64 `json:"opt_user_id,omitempty" xml:"opt_user_id,omitempty"`
	// 当前激活操作的幂等号,请保证不重复
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_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 {
	// 是否储值卡同步激活,默认为true
	Active bool `json:"active,omitempty" xml:"active,omitempty"`
	// 购买主体类型 company 公司|person  个人
	BuyEntityType string `json:"buy_entity_type,omitempty" xml:"buy_entity_type,omitempty"`
	// 制卡详情
	CardFetchDetails []CardFetchDetailDto `json:"card_fetch_details,omitempty" xml:"card_fetch_details>card_fetch_detail_dto,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"`
}

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

CardFetchDetailDto

type CardMakingInfoQueryRequest

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

CardMakingInfoQueryRequest

type CardMakingInfoQueryResponse

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

CardMakingInfoQueryResponse

type CardMakingInformResponse

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

CardMakingInformResponse

type ChargeRequest

type ChargeRequest struct {
	// 充值金额,单位分
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 描述信息
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 幂等字段,最多32位,必须保证同一请求幂等号唯一。不同请求幂等号不同
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,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"`
	// 付款支付宝账户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"`
}

ChargeRequest

type FundAccountJournalDto

type FundAccountJournalDto struct {
	// 账户ID
	AccountId int64 `json:"account_id,omitempty" xml:"account_id,omitempty"`
	// 操作金额
	DealAmount int64 `json:"deal_amount,omitempty" xml:"deal_amount,omitempty"`
	// 描述
	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
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

FundAccountJournalDto

type FundAccountJournalQueryReq

type FundAccountJournalQueryReq struct {
	// 账户ID
	AccountId int64 `json:"account_id,omitempty" xml:"account_id,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"`
	// 当前页,从1开始
	CurrentPageNo int64 `json:"current_page_no,omitempty" xml:"current_page_no,omitempty"`
	// 查询流水类型枚举,为空代表所有类型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"`
	// 页大小,[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 {
	// 账户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"`
	// 外部订单号
	OutBizId string `json:"out_biz_id,omitempty" xml:"out_biz_id,omitempty"`
	// 状态,1:正常,2:禁用
	Status *model.File `json:"status,omitempty" xml:"status,omitempty"`
	// 账户名称
	Title string `json:"title,omitempty" xml:"title,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 {
	// 金额
	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"`
	// 发票行
	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"`
	// 发票代码
	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