v20190820

package
v3.0.233+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2019-08-20"

Variables

This section is empty.

Functions

This section is empty.

Types

type Acct

type Acct struct {

	// STRING(50),见证子账户的账号(可重复)
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// STRING(10),见证子账户的属性(可重复。1: 普通会员子账号; 2: 挂账子账号; 3: 手续费子账号; 4: 利息子账号; 5: 平台担保子账号)
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubAcctProperty *string `json:"SubAcctProperty,omitempty" name:"SubAcctProperty"`

	// STRING(32),交易网会员代码(可重复)
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(150),见证子账户的名称(可重复)
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubAcctName *string `json:"SubAcctName,omitempty" name:"SubAcctName"`

	// STRING(20),见证子账户可用余额(可重复)
	// 注意:此字段可能返回 null,表示取不到有效值。
	AcctAvailBal *string `json:"AcctAvailBal,omitempty" name:"AcctAvailBal"`

	// STRING(20),见证子账户可提现金额(可重复。开户日期或修改日期)
	// 注意:此字段可能返回 null,表示取不到有效值。
	CashAmt *string `json:"CashAmt,omitempty" name:"CashAmt"`

	// STRING(8),维护日期
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaintenanceDate *string `json:"MaintenanceDate,omitempty" name:"MaintenanceDate"`
}

type AgentTaxPayment

type AgentTaxPayment struct {

	// 主播银行账号
	AnchorId *string `json:"AnchorId,omitempty" name:"AnchorId"`

	// 主播姓名
	AnchorName *string `json:"AnchorName,omitempty" name:"AnchorName"`

	// 主播身份证
	AnchorIDCard *string `json:"AnchorIDCard,omitempty" name:"AnchorIDCard"`

	// 纳税的开始时间,格式yyyy-MM-dd
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 纳税的结束时间,格式yyyy-MM-dd
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 流水金额。以“分”为单位
	Amount *int64 `json:"Amount,omitempty" name:"Amount"`

	// 应缴税款。以“分”为单位
	Tax *int64 `json:"Tax,omitempty" name:"Tax"`
}

type AgentTaxPaymentBatch

type AgentTaxPaymentBatch struct {

	// 状态消息
	StatusMsg *string `json:"StatusMsg,omitempty" name:"StatusMsg"`

	// 批次号
	BatchNum *int64 `json:"BatchNum,omitempty" name:"BatchNum"`

	// 录入记录的条数
	InfoNum *int64 `json:"InfoNum,omitempty" name:"InfoNum"`

	// 源电子凭证下载地址
	RawElectronicCertUrl *string `json:"RawElectronicCertUrl,omitempty" name:"RawElectronicCertUrl"`

	// 代理商账号
	AgentId *string `json:"AgentId,omitempty" name:"AgentId"`

	// 文件名
	FileName *string `json:"FileName,omitempty" name:"FileName"`

	// 状态码。0表示下载成功
	StatusCode *int64 `json:"StatusCode,omitempty" name:"StatusCode"`

	// 渠道号
	Channel *int64 `json:"Channel,omitempty" name:"Channel"`

	// 0-视同,1-个体工商户
	Type *int64 `json:"Type,omitempty" name:"Type"`
}

type AnchorContractInfo

type AnchorContractInfo struct {

	// 主播ID
	AnchorId *string `json:"AnchorId,omitempty" name:"AnchorId"`

	// 主播名称
	AnchorName *string `json:"AnchorName,omitempty" name:"AnchorName"`

	// 代理商ID
	AgentId *string `json:"AgentId,omitempty" name:"AgentId"`

	// 代理商名称
	AgentName *string `json:"AgentName,omitempty" name:"AgentName"`

	// 主播身份证号
	IdNo *string `json:"IdNo,omitempty" name:"IdNo"`
}

type ApplyApplicationMaterialRequest

type ApplyApplicationMaterialRequest struct {
	*tchttp.BaseRequest

	// 对接方汇出指令编号
	TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

	// 申报流水号
	DeclareId *string `json:"DeclareId,omitempty" name:"DeclareId"`

	// 付款人ID
	PayerId *string `json:"PayerId,omitempty" name:"PayerId"`

	// 源币种
	SourceCurrency *string `json:"SourceCurrency,omitempty" name:"SourceCurrency"`

	// 目的币种
	TargetCurrency *string `json:"TargetCurrency,omitempty" name:"TargetCurrency"`

	// 贸易编码
	TradeCode *string `json:"TradeCode,omitempty" name:"TradeCode"`

	// 原申报流水号
	OriginalDeclareId *string `json:"OriginalDeclareId,omitempty" name:"OriginalDeclareId"`

	// 源金额
	SourceAmount *int64 `json:"SourceAmount,omitempty" name:"SourceAmount"`

	// 目的金额
	TargetAmount *int64 `json:"TargetAmount,omitempty" name:"TargetAmount"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewApplyApplicationMaterialRequest

func NewApplyApplicationMaterialRequest() (request *ApplyApplicationMaterialRequest)

func (*ApplyApplicationMaterialRequest) FromJsonString

func (r *ApplyApplicationMaterialRequest) FromJsonString(s string) error

func (*ApplyApplicationMaterialRequest) ToJsonString

func (r *ApplyApplicationMaterialRequest) ToJsonString() string

type ApplyApplicationMaterialResponse

type ApplyApplicationMaterialResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 提交申报材料结果
		Result *ApplyDeclareResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewApplyApplicationMaterialResponse

func NewApplyApplicationMaterialResponse() (response *ApplyApplicationMaterialResponse)

func (*ApplyApplicationMaterialResponse) FromJsonString

func (r *ApplyApplicationMaterialResponse) FromJsonString(s string) error

func (*ApplyApplicationMaterialResponse) ToJsonString

func (r *ApplyApplicationMaterialResponse) ToJsonString() string

type ApplyDeclareData

type ApplyDeclareData struct {

	// 商户号
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 第三方指令编号
	TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

	// 受理状态
	Status *string `json:"Status,omitempty" name:"Status"`

	// 申报流水号
	DeclareId *string `json:"DeclareId,omitempty" name:"DeclareId"`

	// 原申报流水号
	// 注意:此字段可能返回 null,表示取不到有效值。
	OriginalDeclareId *string `json:"OriginalDeclareId,omitempty" name:"OriginalDeclareId"`

	// 付款人ID
	PayerId *string `json:"PayerId,omitempty" name:"PayerId"`
}

type ApplyDeclareResult

type ApplyDeclareResult struct {

	// 错误码
	Code *string `json:"Code,omitempty" name:"Code"`

	// 提交申报材料数据
	Data *ApplyDeclareData `json:"Data,omitempty" name:"Data"`
}

type ApplyOutwardOrderData

type ApplyOutwardOrderData struct {

	// 商户号
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 对接方汇出指令编号
	TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

	// 受理状态
	Status *string `json:"Status,omitempty" name:"Status"`
}

type ApplyOutwardOrderRequest

type ApplyOutwardOrderRequest struct {
	*tchttp.BaseRequest

	// 对接方汇出指令编号
	TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

	// 定价币种
	PricingCurrency *string `json:"PricingCurrency,omitempty" name:"PricingCurrency"`

	// 源币种
	SourceCurrency *string `json:"SourceCurrency,omitempty" name:"SourceCurrency"`

	// 目的币种
	TargetCurrency *string `json:"TargetCurrency,omitempty" name:"TargetCurrency"`

	// 收款人类型(银行卡填"BANK_ACCOUNT")
	PayeeType *string `json:"PayeeType,omitempty" name:"PayeeType"`

	// 收款人账号
	PayeeAccount *string `json:"PayeeAccount,omitempty" name:"PayeeAccount"`

	// 源币种金额
	SourceAmount *float64 `json:"SourceAmount,omitempty" name:"SourceAmount"`

	// 目的金额
	TargetAmount *float64 `json:"TargetAmount,omitempty" name:"TargetAmount"`

	// 收款人姓名(PayeeType为"BANK_COUNT"时必填)
	PayeeName *string `json:"PayeeName,omitempty" name:"PayeeName"`

	// 收款人地址(PayeeType为"BANK_COUNT"时必填)
	PayeeAddress *string `json:"PayeeAddress,omitempty" name:"PayeeAddress"`

	// 收款人银行账号类型(PayeeType为"BANK_COUNT"时必填)
	// 个人填"INDIVIDUAL"
	// 企业填"CORPORATE"
	PayeeBankAccountType *string `json:"PayeeBankAccountType,omitempty" name:"PayeeBankAccountType"`

	// 收款人国家或地区编码(PayeeType为"BANK_COUNT"时必填)
	PayeeCountryCode *string `json:"PayeeCountryCode,omitempty" name:"PayeeCountryCode"`

	// 收款人开户银行名称(PayeeType为"BANK_COUNT"时必填)
	PayeeBankName *string `json:"PayeeBankName,omitempty" name:"PayeeBankName"`

	// 收款人开户银行地址(PayeeType为"BANK_COUNT"时必填)
	PayeeBankAddress *string `json:"PayeeBankAddress,omitempty" name:"PayeeBankAddress"`

	// 收款人开户银行所在国家或地区编码(PayeeType为"BANK_COUNT"时必填)
	PayeeBankDistrict *string `json:"PayeeBankDistrict,omitempty" name:"PayeeBankDistrict"`

	// 收款银行SwiftCode(PayeeType为"BANK_COUNT"时必填)
	PayeeBankSwiftCode *string `json:"PayeeBankSwiftCode,omitempty" name:"PayeeBankSwiftCode"`

	// 收款银行国际编码类型
	PayeeBankType *string `json:"PayeeBankType,omitempty" name:"PayeeBankType"`

	// 收款银行国际编码
	PayeeBankCode *string `json:"PayeeBankCode,omitempty" name:"PayeeBankCode"`

	// 收款人附言
	ReferenceForBeneficiary *string `json:"ReferenceForBeneficiary,omitempty" name:"ReferenceForBeneficiary"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewApplyOutwardOrderRequest

func NewApplyOutwardOrderRequest() (request *ApplyOutwardOrderRequest)

func (*ApplyOutwardOrderRequest) FromJsonString

func (r *ApplyOutwardOrderRequest) FromJsonString(s string) error

func (*ApplyOutwardOrderRequest) ToJsonString

func (r *ApplyOutwardOrderRequest) ToJsonString() string

type ApplyOutwardOrderResponse

type ApplyOutwardOrderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 汇出指令申请
		Result *ApplyOutwardOrderResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewApplyOutwardOrderResponse

func NewApplyOutwardOrderResponse() (response *ApplyOutwardOrderResponse)

func (*ApplyOutwardOrderResponse) FromJsonString

func (r *ApplyOutwardOrderResponse) FromJsonString(s string) error

func (*ApplyOutwardOrderResponse) ToJsonString

func (r *ApplyOutwardOrderResponse) ToJsonString() string

type ApplyOutwardOrderResult

type ApplyOutwardOrderResult struct {

	// 汇出指令申请数据
	Data *ApplyOutwardOrderData `json:"Data,omitempty" name:"Data"`

	// 错误码
	Code *string `json:"Code,omitempty" name:"Code"`
}

type ApplyPayerInfoRequest

type ApplyPayerInfoRequest struct {
	*tchttp.BaseRequest

	// 付款人ID
	PayerId *string `json:"PayerId,omitempty" name:"PayerId"`

	// 付款人类型 (个人: INDIVIDUAL, 企业: CORPORATE)
	PayerType *string `json:"PayerType,omitempty" name:"PayerType"`

	// 付款人姓名
	PayerName *string `json:"PayerName,omitempty" name:"PayerName"`

	// 付款人证件类型 (身份证: ID_CARD, 统一社会信用代码: UNIFIED_CREDIT_CODE)
	PayerIdType *string `json:"PayerIdType,omitempty" name:"PayerIdType"`

	// 付款人证件号
	PayerIdNo *string `json:"PayerIdNo,omitempty" name:"PayerIdNo"`

	// 付款人常驻国家或地区编码 (见常见问题-国家/地区编码)
	PayerCountryCode *string `json:"PayerCountryCode,omitempty" name:"PayerCountryCode"`

	// 付款人联系人名称
	PayerContactName *string `json:"PayerContactName,omitempty" name:"PayerContactName"`

	// 付款人联系电话
	PayerContactNumber *string `json:"PayerContactNumber,omitempty" name:"PayerContactNumber"`

	// 付款人联系邮箱
	PayerEmailAddress *string `json:"PayerEmailAddress,omitempty" name:"PayerEmailAddress"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewApplyPayerInfoRequest

func NewApplyPayerInfoRequest() (request *ApplyPayerInfoRequest)

func (*ApplyPayerInfoRequest) FromJsonString

func (r *ApplyPayerInfoRequest) FromJsonString(s string) error

func (*ApplyPayerInfoRequest) ToJsonString

func (r *ApplyPayerInfoRequest) ToJsonString() string

type ApplyPayerInfoResponse

type ApplyPayerInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 付款人申请结果
		Result *ApplyPayerinfoResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewApplyPayerInfoResponse

func NewApplyPayerInfoResponse() (response *ApplyPayerInfoResponse)

func (*ApplyPayerInfoResponse) FromJsonString

func (r *ApplyPayerInfoResponse) FromJsonString(s string) error

func (*ApplyPayerInfoResponse) ToJsonString

func (r *ApplyPayerInfoResponse) ToJsonString() string

type ApplyPayerinfoData

type ApplyPayerinfoData struct {

	// 商户号
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 付款人ID
	PayerId *string `json:"PayerId,omitempty" name:"PayerId"`

	// 状态
	Status *string `json:"Status,omitempty" name:"Status"`

	// 失败原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailReason *string `json:"FailReason,omitempty" name:"FailReason"`
}

type ApplyPayerinfoResult

type ApplyPayerinfoResult struct {

	// 错误码
	Code *string `json:"Code,omitempty" name:"Code"`

	// 数据
	Data *ApplyPayerinfoData `json:"Data,omitempty" name:"Data"`
}

type ApplyReWithdrawalRequest

type ApplyReWithdrawalRequest struct {
	*tchttp.BaseRequest

	// 聚鑫业务类型
	BusinessType *uint64 `json:"BusinessType,omitempty" name:"BusinessType"`

	// 由平台客服提供的计费密钥Id
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 计费签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 提现信息
	Body *WithdrawBill `json:"Body,omitempty" name:"Body"`

	// 聚鑫业务ID
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewApplyReWithdrawalRequest

func NewApplyReWithdrawalRequest() (request *ApplyReWithdrawalRequest)

func (*ApplyReWithdrawalRequest) FromJsonString

func (r *ApplyReWithdrawalRequest) FromJsonString(s string) error

func (*ApplyReWithdrawalRequest) ToJsonString

func (r *ApplyReWithdrawalRequest) ToJsonString() string

type ApplyReWithdrawalResponse

type ApplyReWithdrawalResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 重新提现业务订单号
		WithdrawOrderId *string `json:"WithdrawOrderId,omitempty" name:"WithdrawOrderId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewApplyReWithdrawalResponse

func NewApplyReWithdrawalResponse() (response *ApplyReWithdrawalResponse)

func (*ApplyReWithdrawalResponse) FromJsonString

func (r *ApplyReWithdrawalResponse) FromJsonString(s string) error

func (*ApplyReWithdrawalResponse) ToJsonString

func (r *ApplyReWithdrawalResponse) ToJsonString() string

type ApplyTradeData

type ApplyTradeData struct {

	// 商户号
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 贸易材料流水号
	TradeFileId *string `json:"TradeFileId,omitempty" name:"TradeFileId"`

	// 交易币种
	TradeCurrency *string `json:"TradeCurrency,omitempty" name:"TradeCurrency"`

	// 交易金额
	TradeAmount *string `json:"TradeAmount,omitempty" name:"TradeAmount"`

	// 付款人ID
	PayerId *string `json:"PayerId,omitempty" name:"PayerId"`

	// 状态
	Status *string `json:"Status,omitempty" name:"Status"`
}

type ApplyTradeRequest

type ApplyTradeRequest struct {
	*tchttp.BaseRequest

	// 贸易材料流水号
	TradeFileId *string `json:"TradeFileId,omitempty" name:"TradeFileId"`

	// 贸易材料订单号
	TradeOrderId *string `json:"TradeOrderId,omitempty" name:"TradeOrderId"`

	// 付款人ID
	PayerId *string `json:"PayerId,omitempty" name:"PayerId"`

	// 收款人姓名
	PayeeName *string `json:"PayeeName,omitempty" name:"PayeeName"`

	// 收款人常驻国家或地区编码 (见常见问题)
	PayeeCountryCode *string `json:"PayeeCountryCode,omitempty" name:"PayeeCountryCode"`

	// 贸易类型 (GOODS: 商品, SERVICE: 服务)
	TradeType *string `json:"TradeType,omitempty" name:"TradeType"`

	// 交易时间 (格式: yyyyMMdd)
	TradeTime *string `json:"TradeTime,omitempty" name:"TradeTime"`

	// 交易币种
	TradeCurrency *string `json:"TradeCurrency,omitempty" name:"TradeCurrency"`

	// 交易金额
	TradeAmount *float64 `json:"TradeAmount,omitempty" name:"TradeAmount"`

	// 交易名称
	// (TradeType=GOODS时填写物品名称,可填写多个,格式无要求;
	// TradeType=SERVICE时填写贸易类别,见常见问题-贸易类别)
	TradeName *string `json:"TradeName,omitempty" name:"TradeName"`

	// 交易数量 (TradeType=GOODS 填写物品数量, TradeType=SERVICE填写服务次数)
	TradeCount *int64 `json:"TradeCount,omitempty" name:"TradeCount"`

	// 货贸承运人 (TradeType=GOODS 必填)
	GoodsCarrier *string `json:"GoodsCarrier,omitempty" name:"GoodsCarrier"`

	// 服贸交易细节 (TradeType=GOODS 必填, 见常见问题-交易细节)
	ServiceDetail *string `json:"ServiceDetail,omitempty" name:"ServiceDetail"`

	// 服贸服务时间 (TradeType=GOODS 必填, 见常见问题-服务时间)
	ServiceTime *string `json:"ServiceTime,omitempty" name:"ServiceTime"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewApplyTradeRequest

func NewApplyTradeRequest() (request *ApplyTradeRequest)

func (*ApplyTradeRequest) FromJsonString

func (r *ApplyTradeRequest) FromJsonString(s string) error

func (*ApplyTradeRequest) ToJsonString

func (r *ApplyTradeRequest) ToJsonString() string

type ApplyTradeResponse

type ApplyTradeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 提交贸易材料结果
		Result *ApplyTradeResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewApplyTradeResponse

func NewApplyTradeResponse() (response *ApplyTradeResponse)

func (*ApplyTradeResponse) FromJsonString

func (r *ApplyTradeResponse) FromJsonString(s string) error

func (*ApplyTradeResponse) ToJsonString

func (r *ApplyTradeResponse) ToJsonString() string

type ApplyTradeResult

type ApplyTradeResult struct {

	// 错误码
	Code *string `json:"Code,omitempty" name:"Code"`

	// 提交贸易材料数据
	Data *ApplyTradeData `json:"Data,omitempty" name:"Data"`
}

type ApplyWithdrawalRequest

type ApplyWithdrawalRequest struct {
	*tchttp.BaseRequest

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 聚鑫计费SubAppId,代表子商户
	SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

	// 用于提现
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	SettleAcctNo *string `json:"SettleAcctNo,omitempty" name:"SettleAcctNo"`

	// 结算账户户名
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	SettleAcctName *string `json:"SettleAcctName,omitempty" name:"SettleAcctName"`

	// 币种 RMB
	CurrencyType *string `json:"CurrencyType,omitempty" name:"CurrencyType"`

	// 单位,1:元,2:角,3:分
	CurrencyUnit *int64 `json:"CurrencyUnit,omitempty" name:"CurrencyUnit"`

	// 金额
	CurrencyAmt *string `json:"CurrencyAmt,omitempty" name:"CurrencyAmt"`

	// 交易网名称
	TranWebName *string `json:"TranWebName,omitempty" name:"TranWebName"`

	// 会员证件类型
	IdType *string `json:"IdType,omitempty" name:"IdType"`

	// 会员证件号码
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	IdCode *string `json:"IdCode,omitempty" name:"IdCode"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 按照聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 敏感信息加密类型:
	// RSA: rsa非对称加密,使用RSA-PKCS1-v1_5
	// AES: aes对称加密,使用AES256-CBC-PCKS7padding
	// 缺省: RSA
	EncryptType *string `json:"EncryptType,omitempty" name:"EncryptType"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`

	// 手续费金额
	CommissionAmount *string `json:"CommissionAmount,omitempty" name:"CommissionAmount"`

	// 提现单号,长度32字节
	WithdrawOrderId *string `json:"WithdrawOrderId,omitempty" name:"WithdrawOrderId"`
}

func NewApplyWithdrawalRequest

func NewApplyWithdrawalRequest() (request *ApplyWithdrawalRequest)

func (*ApplyWithdrawalRequest) FromJsonString

func (r *ApplyWithdrawalRequest) FromJsonString(s string) error

func (*ApplyWithdrawalRequest) ToJsonString

func (r *ApplyWithdrawalRequest) ToJsonString() string

type ApplyWithdrawalResponse

type ApplyWithdrawalResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewApplyWithdrawalResponse

func NewApplyWithdrawalResponse() (response *ApplyWithdrawalResponse)

func (*ApplyWithdrawalResponse) FromJsonString

func (r *ApplyWithdrawalResponse) FromJsonString(s string) error

func (*ApplyWithdrawalResponse) ToJsonString

func (r *ApplyWithdrawalResponse) ToJsonString() string

type BankCardItem

type BankCardItem struct {

	// 超级网银行号
	EiconBankBranchId *string `json:"EiconBankBranchId,omitempty" name:"EiconBankBranchId"`

	// 大小额行号
	CnapsBranchId *string `json:"CnapsBranchId,omitempty" name:"CnapsBranchId"`

	// 结算账户类型
	// 1 – 本行账户
	// 2 – 他行账户
	SettleAcctType *int64 `json:"SettleAcctType,omitempty" name:"SettleAcctType"`

	// 结算账户户名
	// <敏感信息>
	SettleAcctName *string `json:"SettleAcctName,omitempty" name:"SettleAcctName"`

	// 开户行名称
	AcctBranchName *string `json:"AcctBranchName,omitempty" name:"AcctBranchName"`

	// 用于提现
	// <敏感信息>
	SettleAcctNo *string `json:"SettleAcctNo,omitempty" name:"SettleAcctNo"`

	// 聚鑫计费SubAppId,代表子商户
	SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

	// 验证类型
	// 1 – 小额转账验证
	// 2 – 短信验证
	BindType *int64 `json:"BindType,omitempty" name:"BindType"`

	// 用于短信验证
	// BindType==2时必填
	// <敏感信息>
	Mobile *string `json:"Mobile,omitempty" name:"Mobile"`

	// 证件类型
	IdType *string `json:"IdType,omitempty" name:"IdType"`

	// 证件号码
	// <敏感信息>
	IdCode *string `json:"IdCode,omitempty" name:"IdCode"`
}

type BindAcctRequest

type BindAcctRequest struct {
	*tchttp.BaseRequest

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 聚鑫计费SubAppId,代表子商户
	SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

	// 1 – 小额转账验证
	// 2 – 短信验证
	// 3 - 一分钱转账验证,无需再调CheckAcct验证绑卡
	// 4 - 银行四要素验证,无需再调CheckAcct验证绑卡
	// 每个结算账户每天只能使用一次小额转账验证
	BindType *int64 `json:"BindType,omitempty" name:"BindType"`

	// 用于提现
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	SettleAcctNo *string `json:"SettleAcctNo,omitempty" name:"SettleAcctNo"`

	// 结算账户户名
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	SettleAcctName *string `json:"SettleAcctName,omitempty" name:"SettleAcctName"`

	// 1 – 本行账户
	// 2 – 他行账户
	SettleAcctType *int64 `json:"SettleAcctType,omitempty" name:"SettleAcctType"`

	// 证件类型,见《证件类型》表
	IdType *string `json:"IdType,omitempty" name:"IdType"`

	// 证件号码
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	IdCode *string `json:"IdCode,omitempty" name:"IdCode"`

	// 开户行名称
	AcctBranchName *string `json:"AcctBranchName,omitempty" name:"AcctBranchName"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 按照聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 用于短信验证
	// BindType==2时必填
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	Mobile *string `json:"Mobile,omitempty" name:"Mobile"`

	// 大小额行号,超级网银行号和大小额行号
	// 二选一
	CnapsBranchId *string `json:"CnapsBranchId,omitempty" name:"CnapsBranchId"`

	// 超级网银行号,超级网银行号和大小额行号
	// 二选一
	EiconBankBranchId *string `json:"EiconBankBranchId,omitempty" name:"EiconBankBranchId"`

	// 敏感信息加密类型:
	// RSA: rsa非对称加密,使用RSA-PKCS1-v1_5
	// AES: aes对称加密,使用AES256-CBC-PCKS7padding
	// 缺省: RSA
	EncryptType *string `json:"EncryptType,omitempty" name:"EncryptType"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewBindAcctRequest

func NewBindAcctRequest() (request *BindAcctRequest)

func (*BindAcctRequest) FromJsonString

func (r *BindAcctRequest) FromJsonString(s string) error

func (*BindAcctRequest) ToJsonString

func (r *BindAcctRequest) ToJsonString() string

type BindAcctResponse

type BindAcctResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindAcctResponse

func NewBindAcctResponse() (response *BindAcctResponse)

func (*BindAcctResponse) FromJsonString

func (r *BindAcctResponse) FromJsonString(s string) error

func (*BindAcctResponse) ToJsonString

func (r *BindAcctResponse) ToJsonString() string

type BindRelateAccReUnionPayRequest

type BindRelateAccReUnionPayRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(32),交易网会员代码(若需要把一个待绑定账户关联到两个会员名下,此字段可上送两个会员的交易网代码,并且须用“|::|”(右侧)进行分隔)
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(50),会员的待绑定账户的账号(即 BindRelateAcctUnionPay接口中的“会员的待绑定账户的账号”)
	MemberAcctNo *string `json:"MemberAcctNo,omitempty" name:"MemberAcctNo"`

	// STRING(20),短信验证码(即 BindRelateAcctUnionPay接口中的手机所接收到的短信验证码)
	MessageCheckCode *string `json:"MessageCheckCode,omitempty" name:"MessageCheckCode"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewBindRelateAccReUnionPayRequest

func NewBindRelateAccReUnionPayRequest() (request *BindRelateAccReUnionPayRequest)

func (*BindRelateAccReUnionPayRequest) FromJsonString

func (r *BindRelateAccReUnionPayRequest) FromJsonString(s string) error

func (*BindRelateAccReUnionPayRequest) ToJsonString

func (r *BindRelateAccReUnionPayRequest) ToJsonString() string

type BindRelateAccReUnionPayResponse

type BindRelateAccReUnionPayResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// STRING(52),见证系统流水号
		// 注意:此字段可能返回 null,表示取不到有效值。
		FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindRelateAccReUnionPayResponse

func NewBindRelateAccReUnionPayResponse() (response *BindRelateAccReUnionPayResponse)

func (*BindRelateAccReUnionPayResponse) FromJsonString

func (r *BindRelateAccReUnionPayResponse) FromJsonString(s string) error

func (*BindRelateAccReUnionPayResponse) ToJsonString

func (r *BindRelateAccReUnionPayResponse) ToJsonString() string

type BindRelateAcctSmallAmountRequest

type BindRelateAcctSmallAmountRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(32),交易网会员代码(若需要把一个待绑定账户关联到两个会员名下,此字段可上送两个会员的交易网代码,并且须用“|::|”(右侧)进行分隔)
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(150),见证子账户的户名(首次绑定的情况下,此字段即为待绑定的提现账户的户名。非首次绑定的情况下,须注意带绑定的提现账户的户名须与留存在后台系统的会员户名一致)
	MemberName *string `json:"MemberName,omitempty" name:"MemberName"`

	// STRING(5),会员证件类型(详情见“常见问题”)
	MemberGlobalType *string `json:"MemberGlobalType,omitempty" name:"MemberGlobalType"`

	// STRING(32),会员证件号码
	MemberGlobalId *string `json:"MemberGlobalId,omitempty" name:"MemberGlobalId"`

	// STRING(50),会员的待绑定账户的账号(提现的银行卡)
	MemberAcctNo *string `json:"MemberAcctNo,omitempty" name:"MemberAcctNo"`

	// STRING(10),会员的待绑定账户的本他行类型(1: 本行; 2: 他行)
	BankType *string `json:"BankType,omitempty" name:"BankType"`

	// STRING(150),会员的待绑定账户的开户行名称
	AcctOpenBranchName *string `json:"AcctOpenBranchName,omitempty" name:"AcctOpenBranchName"`

	// STRING(30),会员的手机号(手机号须由长度为11位的数字构成)
	Mobile *string `json:"Mobile,omitempty" name:"Mobile"`

	// STRING(20),会员的待绑定账户的开户行的联行号(本他行类型为他行的情况下,此字段和下一个字段至少一个不为空)
	CnapsBranchId *string `json:"CnapsBranchId,omitempty" name:"CnapsBranchId"`

	// STRING(20),会员的待绑定账户的开户行的超级网银行号(本他行类型为他行的情况下,此字段和上一个字段至少一个不为空)
	EiconBankBranchId *string `json:"EiconBankBranchId,omitempty" name:"EiconBankBranchId"`

	// STRING(1027),转账方式(1: 往账鉴权(默认值); 2: 来账鉴权)
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewBindRelateAcctSmallAmountRequest

func NewBindRelateAcctSmallAmountRequest() (request *BindRelateAcctSmallAmountRequest)

func (*BindRelateAcctSmallAmountRequest) FromJsonString

func (r *BindRelateAcctSmallAmountRequest) FromJsonString(s string) error

func (*BindRelateAcctSmallAmountRequest) ToJsonString

func (r *BindRelateAcctSmallAmountRequest) ToJsonString() string

type BindRelateAcctSmallAmountResponse

type BindRelateAcctSmallAmountResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(1027),保留域(来账鉴权的方式下,此字段的值为客户需往监管账户转入的金额。在同名子账户绑定的场景下,若返回""VERIFIED""则说明无需验证直接绑定成功)
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindRelateAcctSmallAmountResponse

func NewBindRelateAcctSmallAmountResponse() (response *BindRelateAcctSmallAmountResponse)

func (*BindRelateAcctSmallAmountResponse) FromJsonString

func (r *BindRelateAcctSmallAmountResponse) FromJsonString(s string) error

func (*BindRelateAcctSmallAmountResponse) ToJsonString

func (r *BindRelateAcctSmallAmountResponse) ToJsonString() string

type BindRelateAcctUnionPayRequest

type BindRelateAcctUnionPayRequest struct {
	*tchttp.BaseRequest

	// STRING(32),交易网会员代码(若需要把一个待绑定账户关联到两个会员名下,此字段可上送两个会员的交易网代码,并且须用“|::|”(右侧)进行分隔)
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(150),见证子账户的户名(首次绑定的情况下,此字段即为待绑定的提现账户的户名。非首次绑定的情况下,须注意带绑定的提现账户的户名须与留存在后台系统的会员户名一致)
	MemberName *string `json:"MemberName,omitempty" name:"MemberName"`

	// STRING(5),会员证件类型(详情见“常见问题”)
	MemberGlobalType *string `json:"MemberGlobalType,omitempty" name:"MemberGlobalType"`

	// STRING(32),会员证件号码
	MemberGlobalId *string `json:"MemberGlobalId,omitempty" name:"MemberGlobalId"`

	// STRING(50),会员的待绑定账户的账号(提现的银行卡)
	MemberAcctNo *string `json:"MemberAcctNo,omitempty" name:"MemberAcctNo"`

	// STRING(10),会员的待绑定账户的本他行类型(1: 本行; 2: 他行)
	BankType *string `json:"BankType,omitempty" name:"BankType"`

	// STRING(150),会员的待绑定账户的开户行名称(若大小额行号不填则送超级网银号对应的银行名称,若填大小额行号则送大小额行号对应的银行名称)
	AcctOpenBranchName *string `json:"AcctOpenBranchName,omitempty" name:"AcctOpenBranchName"`

	// STRING(30),会员的手机号(手机号须由长度为11位的数字构成)
	Mobile *string `json:"Mobile,omitempty" name:"Mobile"`

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(20),会员的待绑定账户的开户行的联行号(本他行类型为他行的情况下,此字段和下一个字段至少一个不为空)
	CnapsBranchId *string `json:"CnapsBranchId,omitempty" name:"CnapsBranchId"`

	// STRING(20),会员的待绑定账户的开户行的超级网银行号(本他行类型为他行的情况下,此字段和上一个字段至少一个不为空)
	EiconBankBranchId *string `json:"EiconBankBranchId,omitempty" name:"EiconBankBranchId"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewBindRelateAcctUnionPayRequest

func NewBindRelateAcctUnionPayRequest() (request *BindRelateAcctUnionPayRequest)

func (*BindRelateAcctUnionPayRequest) FromJsonString

func (r *BindRelateAcctUnionPayRequest) FromJsonString(s string) error

func (*BindRelateAcctUnionPayRequest) ToJsonString

func (r *BindRelateAcctUnionPayRequest) ToJsonString() string

type BindRelateAcctUnionPayResponse

type BindRelateAcctUnionPayResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// STRING(1027),保留域(在同名子账户绑定的场景下,若返回"VERIFIED"则说明无需验证直接绑定成功)
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindRelateAcctUnionPayResponse

func NewBindRelateAcctUnionPayResponse() (response *BindRelateAcctUnionPayResponse)

func (*BindRelateAcctUnionPayResponse) FromJsonString

func (r *BindRelateAcctUnionPayResponse) FromJsonString(s string) error

func (*BindRelateAcctUnionPayResponse) ToJsonString

func (r *BindRelateAcctUnionPayResponse) ToJsonString() string

type CheckAcctRequest

type CheckAcctRequest struct {
	*tchttp.BaseRequest

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 聚鑫计费SubAppId,代表子商户
	SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

	// 1 – 小额转账验证
	// 2 – 短信验证
	// 每个结算账户每天只能使用一次小额转账验证
	BindType *int64 `json:"BindType,omitempty" name:"BindType"`

	// 结算账户账号
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	SettleAcctNo *string `json:"SettleAcctNo,omitempty" name:"SettleAcctNo"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 按照聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 短信验证码
	// BindType==2必填
	CheckCode *string `json:"CheckCode,omitempty" name:"CheckCode"`

	// 币种 RMB
	// BindType==1必填
	CurrencyType *string `json:"CurrencyType,omitempty" name:"CurrencyType"`

	// 单位
	// 1:元,2:角,3:分
	// BindType==1必填
	CurrencyUnit *int64 `json:"CurrencyUnit,omitempty" name:"CurrencyUnit"`

	// 金额
	// BindType==1必填
	CurrencyAmt *string `json:"CurrencyAmt,omitempty" name:"CurrencyAmt"`

	// 敏感信息加密类型:
	// RSA: rsa非对称加密,使用RSA-PKCS1-v1_5
	// AES: aes对称加密,使用AES256-CBC-PCKS7padding
	// 缺省: RSA
	EncryptType *string `json:"EncryptType,omitempty" name:"EncryptType"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewCheckAcctRequest

func NewCheckAcctRequest() (request *CheckAcctRequest)

func (*CheckAcctRequest) FromJsonString

func (r *CheckAcctRequest) FromJsonString(s string) error

func (*CheckAcctRequest) ToJsonString

func (r *CheckAcctRequest) ToJsonString() string

type CheckAcctResponse

type CheckAcctResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 前置流水号,请保存
		FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCheckAcctResponse

func NewCheckAcctResponse() (response *CheckAcctResponse)

func (*CheckAcctResponse) FromJsonString

func (r *CheckAcctResponse) FromJsonString(s string) error

func (*CheckAcctResponse) ToJsonString

func (r *CheckAcctResponse) ToJsonString() string

type CheckAmountRequest

type CheckAmountRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(32),交易网会员代码(若需要把一个待绑定账户关联到两个会员名下,此字段可上送两个会员的交易网代码,并且须用“|::|”(右侧)进行分隔)
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(50),会员的待绑定账户的账号(即 BindRelateAcctSmallAmount接口中的“会员的待绑定账户的账号”)
	TakeCashAcctNo *string `json:"TakeCashAcctNo,omitempty" name:"TakeCashAcctNo"`

	// STRING(20),鉴权验证金额(即 BindRelateAcctSmallAmount接口中的“会员的待绑定账户收到的验证金额。原小额转账鉴权方式为来账鉴权的情况下此字段须赋值为0.00)
	AuthAmt *string `json:"AuthAmt,omitempty" name:"AuthAmt"`

	// STRING(3),币种(默认为RMB)
	Ccy *string `json:"Ccy,omitempty" name:"Ccy"`

	// STRING(1027),原小额转账方式(1: 往账鉴权,此为默认值; 2: 来账鉴权)
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewCheckAmountRequest

func NewCheckAmountRequest() (request *CheckAmountRequest)

func (*CheckAmountRequest) FromJsonString

func (r *CheckAmountRequest) FromJsonString(s string) error

func (*CheckAmountRequest) ToJsonString

func (r *CheckAmountRequest) ToJsonString() string

type CheckAmountResponse

type CheckAmountResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(52),见证系统流水号(即电商见证宝系统生成的流水号,可关联具体一笔请求)
		FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

		// STRING(1027),保留域
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCheckAmountResponse

func NewCheckAmountResponse() (response *CheckAmountResponse)

func (*CheckAmountResponse) FromJsonString

func (r *CheckAmountResponse) FromJsonString(s string) error

func (*CheckAmountResponse) ToJsonString

func (r *CheckAmountResponse) ToJsonString() string

type ClearItem

type ClearItem struct {

	// STRING(8),日期(格式: 20190101)
	// 注意:此字段可能返回 null,表示取不到有效值。
	Date *string `json:"Date,omitempty" name:"Date"`

	// STRING(40),子账号类型(子帐号类型。1: 普通会员子账号; 2: 挂账子账号; 3: 手续费子账号; 4: 利息子账号; 5: 平台担保子账号; 7: 在途; 8: 理财购买子帐号; 9: 理财赎回子帐号; 10: 平台子拥有结算子帐号)
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubAcctType *string `json:"SubAcctType,omitempty" name:"SubAcctType"`

	// STRING(3),对账状态(0: 成功; 1: 失败)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReconcileStatus *string `json:"ReconcileStatus,omitempty" name:"ReconcileStatus"`

	// STRING(300),对账返回信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReconcileReturnMsg *string `json:"ReconcileReturnMsg,omitempty" name:"ReconcileReturnMsg"`

	// STRING(20),清算状态(0: 成功; 1: 失败; 2: 异常; 3: 待处理)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClearingStatus *string `json:"ClearingStatus,omitempty" name:"ClearingStatus"`

	// STRING(2),清算返回信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClearingReturnMsg *string `json:"ClearingReturnMsg,omitempty" name:"ClearingReturnMsg"`

	// STRING(300),待清算总金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalAmt *string `json:"TotalAmt,omitempty" name:"TotalAmt"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) ApplyApplicationMaterial

func (c *Client) ApplyApplicationMaterial(request *ApplyApplicationMaterialRequest) (response *ApplyApplicationMaterialResponse, err error)

跨境-提交申报材料。申报材料的主体是付款人,需要提前调用【跨境-付款人申请】接口提交付款人信息且审核通过后调用。

func (*Client) ApplyOutwardOrder

func (c *Client) ApplyOutwardOrder(request *ApplyOutwardOrderRequest) (response *ApplyOutwardOrderResponse, err error)

跨境-汇出指令申请。通过该接口可将对接方账户中的人民币余额汇兑成外币,再汇出至指定银行账户。

func (*Client) ApplyPayerInfo

func (c *Client) ApplyPayerInfo(request *ApplyPayerInfoRequest) (response *ApplyPayerInfoResponse, err error)

跨境-付款人申请。通过该接口提交付款人信息并进行 kyc 审核。

func (*Client) ApplyReWithdrawal

func (c *Client) ApplyReWithdrawal(request *ApplyReWithdrawalRequest) (response *ApplyReWithdrawalResponse, err error)

正常结算提现失败情况下,发起重新提现的请求接口

func (*Client) ApplyTrade

func (c *Client) ApplyTrade(request *ApplyTradeRequest) (response *ApplyTradeResponse, err error)

跨境-提交贸易材料。通过提交贸易材料接口可为对接方累计贸易额度,在额度范围内可发起汇兑汇出交易。

func (*Client) ApplyWithdrawal

func (c *Client) ApplyWithdrawal(request *ApplyWithdrawalRequest) (response *ApplyWithdrawalResponse, err error)

商户提现

func (*Client) BindAcct

func (c *Client) BindAcct(request *BindAcctRequest) (response *BindAcctResponse, err error)

商户绑定提现银行卡,每个商户只能绑定一张提现银行卡

func (*Client) BindRelateAccReUnionPay

func (c *Client) BindRelateAccReUnionPay(request *BindRelateAccReUnionPayRequest) (response *BindRelateAccReUnionPayResponse, err error)

会员绑定提现账户-回填银联鉴权短信码。用于会员填写动态验证码后,发往银行进行验证,验证成功则完成绑定。

func (*Client) BindRelateAcctSmallAmount

func (c *Client) BindRelateAcctSmallAmount(request *BindRelateAcctSmallAmountRequest) (response *BindRelateAcctSmallAmountResponse, err error)

会员绑定提现账户-小额鉴权。会员申请绑定提现账户,绑定后从会员子账户中提现到绑定账户。 转账鉴权有两种形式:往账鉴权和来账鉴权。 往账鉴权:该接口发起成功后,银行会向提现账户转入小于等于0.5元的随机金额,并短信通知客户查看,客户查看后,需将收到的金额大小,在电商平台页面上回填,并通知银行。银行验证通过后,完成提现账户绑定。 来账鉴权:该接口发起成功后,银行以短信通知客户查看,客户查看后,需通过待绑定的账户往市场的监管账户转入短信上指定的金额。银行检索到该笔指定金额的来账是源自待绑定账户,则绑定成功。平安银行的账户,即BankType送1时,大小额行号和超级网银号都不用送。

func (*Client) BindRelateAcctUnionPay

func (c *Client) BindRelateAcctUnionPay(request *BindRelateAcctUnionPayRequest) (response *BindRelateAcctUnionPayResponse, err error)

会员绑定提现账户-银联鉴权。用于会员申请绑定提现账户,申请后银行前往银联验证卡信息:姓名、证件、卡号、银行预留手机是否相符,相符则发送给会员手机动态验证码并返回成功,不相符则返回失败。 平台接收到银行返回成功后,进入输入动态验证码的页面,有效期120秒,若120秒未输入,客户可点击重新发送动态验证码,这个步骤重新调用该接口即可。 平安银行的账户,大小额行号和超级网银号都不用送。 超级网银号:单笔转账金额不超过5万,不限制笔数,只用选XX银行,不用具体到支行,可实时知道对方是否收款成功。 大小额联行号:单笔转账可超过5万,需具体到支行,不能实时知道对方是否收款成功。金额超过5万的,在工作日的8点30-17点间才会成功。

func (*Client) CheckAcct

func (c *Client) CheckAcct(request *CheckAcctRequest) (response *CheckAcctResponse, err error)

商户绑定提现银行卡的验证接口

func (*Client) CheckAmount

func (c *Client) CheckAmount(request *CheckAmountRequest) (response *CheckAmountResponse, err error)

验证鉴权金额。此接口可受理BindRelateAcctSmallAmount接口发起的转账金额(往账鉴权方式)的验证处理。若所回填的验证金额验证通过,则会绑定原申请中的银行账户作为提现账户。通过此接口也可以查得BindRelateAcctSmallAmount接口发起的来账鉴权方式的申请的当前状态。

func (*Client) CloseOrder

func (c *Client) CloseOrder(request *CloseOrderRequest) (response *CloseOrderResponse, err error)

通过此接口关闭此前已创建的订单,关闭后,用户将无法继续付款。仅能关闭创建后未支付的订单

func (*Client) CreateAcct

func (c *Client) CreateAcct(request *CreateAcctRequest) (response *CreateAcctResponse, err error)

子商户入驻聚鑫平台

func (*Client) CreateAgentTaxPaymentInfos

func (c *Client) CreateAgentTaxPaymentInfos(request *CreateAgentTaxPaymentInfosRequest) (response *CreateAgentTaxPaymentInfosResponse, err error)

直播平台-代理商完税信息录入

func (*Client) CreateCustAcctId

func (c *Client) CreateCustAcctId(request *CreateCustAcctIdRequest) (response *CreateCustAcctIdResponse, err error)

会员子账户开立。会员在银行注册,并开立会员子账户,交易网会员代码即会员在平台端系统的会员编号。 平台需保存银行返回的子账户账号,后续交易接口都会用到。会员属性字段为预留扩展字段,当前必须送默认值。

func (*Client) CreateInvoice

func (c *Client) CreateInvoice(request *CreateInvoiceRequest) (response *CreateInvoiceResponse, err error)

智慧零售-发票开具

func (*Client) CreateMerchant

func (c *Client) CreateMerchant(request *CreateMerchantRequest) (response *CreateMerchantResponse, err error)

智慧零售-商户注册

func (*Client) CreateRedInvoice

func (c *Client) CreateRedInvoice(request *CreateRedInvoiceRequest) (response *CreateRedInvoiceResponse, err error)

智慧零售-发票红冲

func (*Client) CreateSinglePay

func (c *Client) CreateSinglePay(request *CreateSinglePayRequest) (response *CreateSinglePayResponse, err error)

银企直连-单笔支付接口

func (*Client) CreateTransferBatch

func (c *Client) CreateTransferBatch(request *CreateTransferBatchRequest) (response *CreateTransferBatchResponse, err error)

微信商户发起批量转账

func (*Client) DeleteAgentTaxPaymentInfo

func (c *Client) DeleteAgentTaxPaymentInfo(request *DeleteAgentTaxPaymentInfoRequest) (response *DeleteAgentTaxPaymentInfoResponse, err error)

直播平台-删除代理商完税信息

func (*Client) DeleteAgentTaxPaymentInfos

func (c *Client) DeleteAgentTaxPaymentInfos(request *DeleteAgentTaxPaymentInfosRequest) (response *DeleteAgentTaxPaymentInfosResponse, err error)

直播平台-删除代理商完税信息

func (*Client) DescribeChargeDetail

func (c *Client) DescribeChargeDetail(request *DescribeChargeDetailRequest) (response *DescribeChargeDetailResponse, err error)

查询充值明细接口

func (*Client) DescribeOrderStatus

func (c *Client) DescribeOrderStatus(request *DescribeOrderStatusRequest) (response *DescribeOrderStatusResponse, err error)

查询单笔订单交易状态

func (*Client) DownloadBill

func (c *Client) DownloadBill(request *DownloadBillRequest) (response *DownloadBillResponse, err error)

账单下载接口,根据本接口返回的URL地址,在D+1日下载对账单。注意,本接口返回的URL地址有时效,请尽快下载。URL超时时效后,请重新调用本接口再次获取。

func (*Client) ExecuteMemberTransaction

func (c *Client) ExecuteMemberTransaction(request *ExecuteMemberTransactionRequest) (response *ExecuteMemberTransactionResponse, err error)

会员间交易接口

func (*Client) MigrateOrderRefund

func (c *Client) MigrateOrderRefund(request *MigrateOrderRefundRequest) (response *MigrateOrderRefundResponse, err error)

山姆聚合支付项目-存量订单退款接口。可以通过本接口将支付款全部或部分退还给付款方,在收到用户退款请求并且验证成功之后,按照退款规则将支付款按原路退回到支付帐号。

func (*Client) MigrateOrderRefundQuery

func (c *Client) MigrateOrderRefundQuery(request *MigrateOrderRefundQueryRequest) (response *MigrateOrderRefundQueryResponse, err error)

提交退款申请后,通过调用该接口查询退款状态。退款可能有一定延时。

func (*Client) ModifyAgentTaxPaymentInfo

func (c *Client) ModifyAgentTaxPaymentInfo(request *ModifyAgentTaxPaymentInfoRequest) (response *ModifyAgentTaxPaymentInfoResponse, err error)

直播平台-修改代理商完税信息

func (*Client) ModifyMntMbrBindRelateAcctBankCode

func (c *Client) ModifyMntMbrBindRelateAcctBankCode(request *ModifyMntMbrBindRelateAcctBankCodeRequest) (response *ModifyMntMbrBindRelateAcctBankCodeResponse, err error)

维护会员绑定提现账户联行号。此接口可以支持市场修改会员的提现账户的开户行信息,具体包括开户行行名、开户行的银行联行号(大小额联行号)和超级网银行号。

func (*Client) QueryAcctBinding

func (c *Client) QueryAcctBinding(request *QueryAcctBindingRequest) (response *QueryAcctBindingResponse, err error)

聚鑫-查询子账户绑定银行卡

func (*Client) QueryAcctInfo

func (c *Client) QueryAcctInfo(request *QueryAcctInfoRequest) (response *QueryAcctInfoResponse, err error)

聚鑫-开户信息查询

func (*Client) QueryAcctInfoList

func (c *Client) QueryAcctInfoList(request *QueryAcctInfoListRequest) (response *QueryAcctInfoListResponse, err error)

聚鑫-开户信息列表查询, 查询某一段时间的开户信息

func (*Client) QueryAgentStatements

func (c *Client) QueryAgentStatements(request *QueryAgentStatementsRequest) (response *QueryAgentStatementsResponse, err error)

直播平台-查询代理商结算单链接

func (*Client) QueryAgentTaxPaymentBatch

func (c *Client) QueryAgentTaxPaymentBatch(request *QueryAgentTaxPaymentBatchRequest) (response *QueryAgentTaxPaymentBatchResponse, err error)

直播平台-查询批次信息

func (*Client) QueryAnchorContractInfo

func (c *Client) QueryAnchorContractInfo(request *QueryAnchorContractInfoRequest) (response *QueryAnchorContractInfoResponse, err error)

直播平台-查询主播签约信息

func (*Client) QueryApplicationMaterial

func (c *Client) QueryApplicationMaterial(request *QueryApplicationMaterialRequest) (response *QueryApplicationMaterialResponse, err error)

跨境-成功申报材料查询。查询成功入库的申报材料。

func (*Client) QueryBalance

func (c *Client) QueryBalance(request *QueryBalanceRequest) (response *QueryBalanceResponse, err error)

子商户余额查询

func (*Client) QueryBankClear

func (c *Client) QueryBankClear(request *QueryBankClearRequest) (response *QueryBankClearResponse, err error)

查询银行在途清算结果。查询时间段内交易网的在途清算结果。

func (*Client) QueryBankTransactionDetails

func (c *Client) QueryBankTransactionDetails(request *QueryBankTransactionDetailsRequest) (response *QueryBankTransactionDetailsResponse, err error)

查询银行时间段内交易明细。查询时间段的会员成功交易。

func (*Client) QueryBankWithdrawCashDetails

func (c *Client) QueryBankWithdrawCashDetails(request *QueryBankWithdrawCashDetailsRequest) (response *QueryBankWithdrawCashDetailsResponse, err error)

查询银行时间段内清分提现明细。查询银行时间段内清分提现明细接口:若为“见证+收单退款”“见证+收单充值”记录时备注Note为“见证+收单充值,订单号”“见证+收单退款,订单号”,此接口可以查到T0/T1的充值明细和退款记录。查询标志:充值记录仍用3清分选项查询,退款记录同提现用2选项查询。

func (*Client) QueryCommonTransferRecharge

func (c *Client) QueryCommonTransferRecharge(request *QueryCommonTransferRechargeRequest) (response *QueryCommonTransferRechargeResponse, err error)

查询普通转账充值明细。接口用于查询会员主动转账进资金汇总账户的明细情况。若会员使用绑定账号转入,则直接入账到会员子账户。若未使用绑定账号转入,则系统无法自动清分到对应子账户,则转入挂账子账户由平台自行清分。若是 “见证+收单充值”T0充值记录时备注Note为“见证+收单充值,订单号” 此接口可以查到T0到账的“见证+收单充值”充值记录。

func (*Client) QueryCustAcctIdBalance

func (c *Client) QueryCustAcctIdBalance(request *QueryCustAcctIdBalanceRequest) (response *QueryCustAcctIdBalanceResponse, err error)

查询银行子账户余额。查询会员子账户以及平台的功能子账户的余额。

func (*Client) QueryExchangeRate

func (c *Client) QueryExchangeRate(request *QueryExchangeRateRequest) (response *QueryExchangeRateResponse, err error)

跨境-查询汇率

func (*Client) QueryInvoice

func (c *Client) QueryInvoice(request *QueryInvoiceRequest) (response *QueryInvoiceResponse, err error)

智慧零售-发票查询

func (*Client) QueryMemberBind

func (c *Client) QueryMemberBind(request *QueryMemberBindRequest) (response *QueryMemberBindResponse, err error)

会员绑定信息查询。查询标志为“单个会员”的情况下,返回该会员的有效的绑定账户信息。 查询标志为“全部会员”的情况下,返回市场下的全部的有效的绑定账户信息。查询标志为“单个会员的证件信息”的情况下,返回市场下的指定的会员的留存在电商见证宝系统的证件信息。

func (*Client) QueryMemberTransaction

func (c *Client) QueryMemberTransaction(request *QueryMemberTransactionRequest) (response *QueryMemberTransactionResponse, err error)

会员间交易-不验证。此接口可以实现会员间的余额的交易,实现资金在会员之间流动。

func (*Client) QueryMerchantBalance

func (c *Client) QueryMerchantBalance(request *QueryMerchantBalanceRequest) (response *QueryMerchantBalanceResponse, err error)

跨境-对接方账户余额查询

func (*Client) QueryMerchantInfoForManagement

func (c *Client) QueryMerchantInfoForManagement(request *QueryMerchantInfoForManagementRequest) (response *QueryMerchantInfoForManagementResponse, err error)

智慧零售-查询管理端商户

func (*Client) QueryOrder

func (c *Client) QueryOrder(request *QueryOrderRequest) (response *QueryOrderResponse, err error)

根据订单号,或者用户Id,查询支付订单状态

func (*Client) QueryOutwardOrder

func (c *Client) QueryOutwardOrder(request *QueryOutwardOrderRequest) (response *QueryOutwardOrderResponse, err error)

跨境-查询汇出结果

func (*Client) QueryPayerInfo

func (c *Client) QueryPayerInfo(request *QueryPayerInfoRequest) (response *QueryPayerInfoResponse, err error)

跨境-付款人查询

func (*Client) QueryReconciliationDocument

func (c *Client) QueryReconciliationDocument(request *QueryReconciliationDocumentRequest) (response *QueryReconciliationDocumentResponse, err error)

查询对账文件信息。平台调用该接口获取需下载对账文件的文件名称以及密钥。 平台获取到信息后, 可以再调用OPENAPI的文件下载功能。

func (*Client) QueryRefund

func (c *Client) QueryRefund(request *QueryRefundRequest) (response *QueryRefundResponse, err error)

提交退款申请后,通过调用该接口查询退款状态。退款可能有一定延时,用微信零钱支付的退款约20分钟内到账,银行卡支付的退款约3个工作日后到账。

func (*Client) QuerySinglePay

func (c *Client) QuerySinglePay(request *QuerySinglePayRequest) (response *QuerySinglePayResponse, err error)

银企直连-单笔支付状态查询接口

func (*Client) QuerySingleTransactionStatus

func (c *Client) QuerySingleTransactionStatus(request *QuerySingleTransactionStatusRequest) (response *QuerySingleTransactionStatusResponse, err error)

查询银行单笔交易状态。查询单笔交易的状态。

func (*Client) QuerySmallAmountTransfer

func (c *Client) QuerySmallAmountTransfer(request *QuerySmallAmountTransferRequest) (response *QuerySmallAmountTransferResponse, err error)

查询小额鉴权转账结果。查询小额往账鉴权的转账状态。

func (*Client) QueryTrade

func (c *Client) QueryTrade(request *QueryTradeRequest) (response *QueryTradeResponse, err error)

跨境-贸易材料明细查询。

func (*Client) QueryTransferBatch

func (c *Client) QueryTransferBatch(request *QueryTransferBatchRequest) (response *QueryTransferBatchResponse, err error)

通过商家批次单号或者微信批次号查询批次单

func (*Client) QueryTransferDetail

func (c *Client) QueryTransferDetail(request *QueryTransferDetailRequest) (response *QueryTransferDetailResponse, err error)

通过商家或者微信批次明细单号查询明细单

func (*Client) RechargeByThirdPay

func (c *Client) RechargeByThirdPay(request *RechargeByThirdPayRequest) (response *RechargeByThirdPayResponse, err error)

会员在途充值(经第三方支付渠道)接口

func (*Client) RechargeMemberThirdPay

func (c *Client) RechargeMemberThirdPay(request *RechargeMemberThirdPayRequest) (response *RechargeMemberThirdPayResponse, err error)

见证宝-会员在途充值(经第三方支付渠道)

func (*Client) Refund

func (c *Client) Refund(request *RefundRequest) (response *RefundResponse, err error)

如交易订单需退款,可以通过本接口将支付款全部或部分退还给付款方,聚鑫将在收到退款请求并且验证成功之后,按照退款规则将支付款按原路退回到支付帐号。最长支持1年的订单退款。在订单包含多个子订单的情况下,如果使用本接口传入OutTradeNo或TransactionId退款,则只支持全单退款;如果需要部分退款,请通过传入子订单的方式来指定部分金额退款。

func (*Client) RefundMemberTransaction

func (c *Client) RefundMemberTransaction(request *RefundMemberTransactionRequest) (response *RefundMemberTransactionResponse, err error)

会员间交易退款

func (*Client) RegisterBill

func (c *Client) RegisterBill(request *RegisterBillRequest) (response *RegisterBillResponse, err error)

登记挂账(支持撤销)

func (*Client) RegisterBillSupportWithdraw

func (c *Client) RegisterBillSupportWithdraw(request *RegisterBillSupportWithdrawRequest) (response *RegisterBillSupportWithdrawResponse, err error)

登记挂账(支持撤销)。此接口可实现把不明来账或自有资金等已登记在挂账子账户下的资金调整到普通会员子账户。即通过申请调用此接口,将会减少挂账子账户的资金,调增指定的普通会员子账户的可提现余额及可用余额。此接口不支持把挂账子账户资金清分到功能子账户。

func (*Client) RevResigterBillSupportWithdraw

func (c *Client) RevResigterBillSupportWithdraw(request *RevResigterBillSupportWithdrawRequest) (response *RevResigterBillSupportWithdrawResponse, err error)

登记挂账撤销。此接口可以实现把RegisterBillSupportWithdraw接口完成的登记挂账进行撤销,即调减普通会员子账户的可提现和可用余额,调增挂账子账户的可用余额。

func (*Client) ReviseMbrProperty

func (c *Client) ReviseMbrProperty(request *ReviseMbrPropertyRequest) (response *ReviseMbrPropertyResponse, err error)

修改会员属性-普通商户子账户。修改会员的会员属性。

func (*Client) RevokeMemberRechargeThirdPay

func (c *Client) RevokeMemberRechargeThirdPay(request *RevokeMemberRechargeThirdPayRequest) (response *RevokeMemberRechargeThirdPayResponse, err error)

撤销会员在途充值(经第三方支付渠道)

func (*Client) RevokeRechargeByThirdPay

func (c *Client) RevokeRechargeByThirdPay(request *RevokeRechargeByThirdPayRequest) (response *RevokeRechargeByThirdPayResponse, err error)

撤销会员在途充值(经第三方支付渠道)接口

func (*Client) UnBindAcct

func (c *Client) UnBindAcct(request *UnBindAcctRequest) (response *UnBindAcctResponse, err error)

商户解除绑定的提现银行卡

func (*Client) UnbindRelateAcct

func (c *Client) UnbindRelateAcct(request *UnbindRelateAcctRequest) (response *UnbindRelateAcctResponse, err error)

会员解绑提现账户。此接口可以支持会员解除名下的绑定账户关系。

func (*Client) UnifiedOrder

func (c *Client) UnifiedOrder(request *UnifiedOrderRequest) (response *UnifiedOrderResponse, err error)

应用需要先调用本接口生成支付订单号,并将应答的PayInfo透传给聚鑫SDK,拉起客户端(包括微信公众号/微信小程序/客户端App)支付。

func (*Client) WithdrawCashMembership

func (c *Client) WithdrawCashMembership(request *WithdrawCashMembershipRequest) (response *WithdrawCashMembershipResponse, err error)

会员提现-不验证。此接口受理会员发起的提现申请。会员子账户的可提现余额、可用余额会减少,市场的资金汇总账户(监管账户)会减少相应的发生金额,提现到会员申请的收款账户。

type CloseOrderRequest

type CloseOrderRequest struct {
	*tchttp.BaseRequest

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 用户ID,长度不小于5位, 仅支持字母和数字的组合
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 按照聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 业务订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo
	OutTradeNo *string `json:"OutTradeNo,omitempty" name:"OutTradeNo"`

	// 聚鑫订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo
	TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewCloseOrderRequest

func NewCloseOrderRequest() (request *CloseOrderRequest)

func (*CloseOrderRequest) FromJsonString

func (r *CloseOrderRequest) FromJsonString(s string) error

func (*CloseOrderRequest) ToJsonString

func (r *CloseOrderRequest) ToJsonString() string

type CloseOrderResponse

type CloseOrderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCloseOrderResponse

func NewCloseOrderResponse() (response *CloseOrderResponse)

func (*CloseOrderResponse) FromJsonString

func (r *CloseOrderResponse) FromJsonString(s string) error

func (*CloseOrderResponse) ToJsonString

func (r *CloseOrderResponse) ToJsonString() string

type CreateAcctRequest

type CreateAcctRequest struct {
	*tchttp.BaseRequest

	// 聚鑫平台分配的支付MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 业务平台的子商户ID,唯一
	SubMchId *string `json:"SubMchId,omitempty" name:"SubMchId"`

	// 子商户名称
	SubMchName *string `json:"SubMchName,omitempty" name:"SubMchName"`

	// 子商户地址
	Address *string `json:"Address,omitempty" name:"Address"`

	// 子商户联系人
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	Contact *string `json:"Contact,omitempty" name:"Contact"`

	// 联系人手机号
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	Mobile *string `json:"Mobile,omitempty" name:"Mobile"`

	// 邮箱
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	Email *string `json:"Email,omitempty" name:"Email"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 按照聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 子商户类型:
	// 个人: personal
	// 企业: enterprise
	// 缺省: enterprise
	SubMchType *string `json:"SubMchType,omitempty" name:"SubMchType"`

	// 不填则默认子商户名称
	ShortName *string `json:"ShortName,omitempty" name:"ShortName"`

	// 子商户会员类型:
	// general: 普通子账户
	// merchant: 商户子账户
	// 缺省: general
	SubMerchantMemberType *string `json:"SubMerchantMemberType,omitempty" name:"SubMerchantMemberType"`

	// 子商户密钥
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	SubMerchantKey *string `json:"SubMerchantKey,omitempty" name:"SubMerchantKey"`

	// 子商户私钥
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	SubMerchantPrivateKey *string `json:"SubMerchantPrivateKey,omitempty" name:"SubMerchantPrivateKey"`

	// 敏感信息加密类型:
	// RSA: rsa非对称加密,使用RSA-PKCS1-v1_5
	// AES: aes对称加密,使用AES256-CBC-PCKS7padding
	// 缺省: RSA
	EncryptType *string `json:"EncryptType,omitempty" name:"EncryptType"`

	// 银行生成的子商户账户,已开户的场景需要录入
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewCreateAcctRequest

func NewCreateAcctRequest() (request *CreateAcctRequest)

func (*CreateAcctRequest) FromJsonString

func (r *CreateAcctRequest) FromJsonString(s string) error

func (*CreateAcctRequest) ToJsonString

func (r *CreateAcctRequest) ToJsonString() string

type CreateAcctResponse

type CreateAcctResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 聚鑫计费SubAppId,代表子商户
		SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

		// 银行生成的子商户账户
		SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAcctResponse

func NewCreateAcctResponse() (response *CreateAcctResponse)

func (*CreateAcctResponse) FromJsonString

func (r *CreateAcctResponse) FromJsonString(s string) error

func (*CreateAcctResponse) ToJsonString

func (r *CreateAcctResponse) ToJsonString() string

type CreateAgentTaxPaymentInfosRequest

type CreateAgentTaxPaymentInfosRequest struct {
	*tchttp.BaseRequest

	// 代理商ID
	AgentId *string `json:"AgentId,omitempty" name:"AgentId"`

	// 平台渠道
	Channel *int64 `json:"Channel,omitempty" name:"Channel"`

	// 类型。0-视同,1-个体工商户
	Type *int64 `json:"Type,omitempty" name:"Type"`

	// 源电子凭证下载地址
	RawElectronicCertUrl *string `json:"RawElectronicCertUrl,omitempty" name:"RawElectronicCertUrl"`

	// 文件名
	FileName *string `json:"FileName,omitempty" name:"FileName"`

	// 完税信息
	AgentTaxPaymentInfos []*AgentTaxPayment `json:"AgentTaxPaymentInfos,omitempty" name:"AgentTaxPaymentInfos" list`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewCreateAgentTaxPaymentInfosRequest

func NewCreateAgentTaxPaymentInfosRequest() (request *CreateAgentTaxPaymentInfosRequest)

func (*CreateAgentTaxPaymentInfosRequest) FromJsonString

func (r *CreateAgentTaxPaymentInfosRequest) FromJsonString(s string) error

func (*CreateAgentTaxPaymentInfosRequest) ToJsonString

func (r *CreateAgentTaxPaymentInfosRequest) ToJsonString() string

type CreateAgentTaxPaymentInfosResponse

type CreateAgentTaxPaymentInfosResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 代理商完税证明批次信息
		AgentTaxPaymentBatch *AgentTaxPaymentBatch `json:"AgentTaxPaymentBatch,omitempty" name:"AgentTaxPaymentBatch"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAgentTaxPaymentInfosResponse

func NewCreateAgentTaxPaymentInfosResponse() (response *CreateAgentTaxPaymentInfosResponse)

func (*CreateAgentTaxPaymentInfosResponse) FromJsonString

func (r *CreateAgentTaxPaymentInfosResponse) FromJsonString(s string) error

func (*CreateAgentTaxPaymentInfosResponse) ToJsonString

func (r *CreateAgentTaxPaymentInfosResponse) ToJsonString() string

type CreateCustAcctIdRequest

type CreateCustAcctIdRequest struct {
	*tchttp.BaseRequest

	// STRING(2),功能标志(1: 开户; 3: 销户)
	FunctionFlag *string `json:"FunctionFlag,omitempty" name:"FunctionFlag"`

	// STRING(50),资金汇总账号(即收单资金归集入账的账号)
	FundSummaryAcctNo *string `json:"FundSummaryAcctNo,omitempty" name:"FundSummaryAcctNo"`

	// STRING(32),交易网会员代码(平台端的用户ID,需要保证唯一性,可数字字母混合,如HY_120)
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(10),会员属性(00-普通子账户(默认); SH-商户子账户)
	MemberProperty *string `json:"MemberProperty,omitempty" name:"MemberProperty"`

	// STRING(30),手机号码
	Mobile *string `json:"Mobile,omitempty" name:"Mobile"`

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// String(2),是否为自营业务(0位非自营,1为自营)
	SelfBusiness *bool `json:"SelfBusiness,omitempty" name:"SelfBusiness"`

	// String(64),联系人
	ContactName *string `json:"ContactName,omitempty" name:"ContactName"`

	// String(64),子账户名称
	SubAcctName *string `json:"SubAcctName,omitempty" name:"SubAcctName"`

	// String(64),子账户简称
	SubAcctShortName *string `json:"SubAcctShortName,omitempty" name:"SubAcctShortName"`

	// String(4),子账户类型(0: 个人子账户; 1: 企业子账户)
	SubAcctType *int64 `json:"SubAcctType,omitempty" name:"SubAcctType"`

	// STRING(150),用户昵称
	UserNickname *string `json:"UserNickname,omitempty" name:"UserNickname"`

	// STRING(150),邮箱
	Email *string `json:"Email,omitempty" name:"Email"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewCreateCustAcctIdRequest

func NewCreateCustAcctIdRequest() (request *CreateCustAcctIdRequest)

func (*CreateCustAcctIdRequest) FromJsonString

func (r *CreateCustAcctIdRequest) FromJsonString(s string) error

func (*CreateCustAcctIdRequest) ToJsonString

func (r *CreateCustAcctIdRequest) ToJsonString() string

type CreateCustAcctIdResponse

type CreateCustAcctIdResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// STRING(50),见证子账户的账号(平台需要记录下来,后续所有接口交互都会用到)
		// 注意:此字段可能返回 null,表示取不到有效值。
		SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

		// STRING(1027),保留域(需要开通智能收款,此处返回智能收款账号,正常情况下返回空)
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateCustAcctIdResponse

func NewCreateCustAcctIdResponse() (response *CreateCustAcctIdResponse)

func (*CreateCustAcctIdResponse) FromJsonString

func (r *CreateCustAcctIdResponse) FromJsonString(s string) error

func (*CreateCustAcctIdResponse) ToJsonString

func (r *CreateCustAcctIdResponse) ToJsonString() string

type CreateInvoiceItem

type CreateInvoiceItem struct {

	// 商品名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 税收商品编码
	TaxCode *string `json:"TaxCode,omitempty" name:"TaxCode"`

	// 不含税商品总价(商品含税价总额/(1+税率))。InvoicePlatformId 为1时,该金额为含税总金额。单位为分。
	TotalPrice *int64 `json:"TotalPrice,omitempty" name:"TotalPrice"`

	// 商品税率
	TaxRate *int64 `json:"TaxRate,omitempty" name:"TaxRate"`

	// 商品税额(不含税商品总价*税率)。单位为分
	TaxAmount *int64 `json:"TaxAmount,omitempty" name:"TaxAmount"`

	// 税收商品类别
	TaxType *string `json:"TaxType,omitempty" name:"TaxType"`

	// 商品规格
	Models *string `json:"Models,omitempty" name:"Models"`

	// 商品单位
	Unit *string `json:"Unit,omitempty" name:"Unit"`

	// 商品数量
	Total *string `json:"Total,omitempty" name:"Total"`

	// 不含税商品单价。InvoicePlatformId 为1时,该金额为含税单价。
	Price *string `json:"Price,omitempty" name:"Price"`

	// 含税折扣总额。单位为分
	Discount *int64 `json:"Discount,omitempty" name:"Discount"`

	// 优惠政策标志。0:不使用优惠政策;1:使用优惠政策。
	PreferentialPolicyFlag *string `json:"PreferentialPolicyFlag,omitempty" name:"PreferentialPolicyFlag"`

	// 零税率标识:
	// 空:非零税率;
	// 0:出口零税率;
	// 1:免税;
	// 2:不征税;
	// 3:普通零税率。
	ZeroTaxFlag *string `json:"ZeroTaxFlag,omitempty" name:"ZeroTaxFlag"`

	// 增值税特殊管理。PreferentialPolicyFlag字段为1时,必填。目前仅支持5%(3%,2%,1.5%)简易征税、免税、不征税。
	VatSpecialManagement *string `json:"VatSpecialManagement,omitempty" name:"VatSpecialManagement"`
}

type CreateInvoiceRequest

type CreateInvoiceRequest struct {
	*tchttp.BaseRequest

	// 开票平台ID。0:高灯,1:票易通
	InvoicePlatformId *int64 `json:"InvoicePlatformId,omitempty" name:"InvoicePlatformId"`

	// 抬头类型:1:个人/政府事业单位;2:企业
	TitleType *int64 `json:"TitleType,omitempty" name:"TitleType"`

	// 购方名称
	BuyerTitle *string `json:"BuyerTitle,omitempty" name:"BuyerTitle"`

	// 业务开票号
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 含税总金额(单位为分)
	AmountHasTax *int64 `json:"AmountHasTax,omitempty" name:"AmountHasTax"`

	// 总税额(单位为分)
	TaxAmount *int64 `json:"TaxAmount,omitempty" name:"TaxAmount"`

	// 不含税总金额(单位为分)。InvoicePlatformId 为1时,传默认值-1
	AmountWithoutTax *int64 `json:"AmountWithoutTax,omitempty" name:"AmountWithoutTax"`

	// 销方纳税人识别号
	SellerTaxpayerNum *string `json:"SellerTaxpayerNum,omitempty" name:"SellerTaxpayerNum"`

	// 销方名称。(不填默认读取商户注册时输入的信息)
	SellerName *string `json:"SellerName,omitempty" name:"SellerName"`

	// 销方地址。(不填默认读取商户注册时输入的信息)
	SellerAddress *string `json:"SellerAddress,omitempty" name:"SellerAddress"`

	// 销方电话。(不填默认读取商户注册时输入的信息)
	SellerPhone *string `json:"SellerPhone,omitempty" name:"SellerPhone"`

	// 销方银行名称。(不填默认读取商户注册时输入的信息)
	SellerBankName *string `json:"SellerBankName,omitempty" name:"SellerBankName"`

	// 销方银行账号。(不填默认读取商户注册时输入的信息)
	SellerBankAccount *string `json:"SellerBankAccount,omitempty" name:"SellerBankAccount"`

	// 购方纳税人识别号(购方票面信息),若抬头类型为2时,必传
	BuyerTaxpayerNum *string `json:"BuyerTaxpayerNum,omitempty" name:"BuyerTaxpayerNum"`

	// 购方地址。开具专用发票时必填
	BuyerAddress *string `json:"BuyerAddress,omitempty" name:"BuyerAddress"`

	// 购方银行名称。开具专用发票时必填
	BuyerBankName *string `json:"BuyerBankName,omitempty" name:"BuyerBankName"`

	// 购方银行账号。开具专用发票时必填
	BuyerBankAccount *string `json:"BuyerBankAccount,omitempty" name:"BuyerBankAccount"`

	// 购方电话。开具专用发票时必填
	BuyerPhone *string `json:"BuyerPhone,omitempty" name:"BuyerPhone"`

	// 收票人邮箱。若填入,会收到发票推送邮件
	BuyerEmail *string `json:"BuyerEmail,omitempty" name:"BuyerEmail"`

	// 收票人手机号。若填入,会收到发票推送短信
	TakerPhone *string `json:"TakerPhone,omitempty" name:"TakerPhone"`

	// 开票类型:
	// 1:增值税专用发票;
	// 2:增值税普通发票;
	// 3:增值税电子发票;
	// 4:增值税卷式发票;
	// 5:区块链电子发票。
	// 若该字段不填,或值不为1-5,则认为开具”增值税电子发票”
	InvoiceType *int64 `json:"InvoiceType,omitempty" name:"InvoiceType"`

	// 发票结果回传地址
	CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"`

	// 开票人姓名。(不填默认读取商户注册时输入的信息)
	Drawer *string `json:"Drawer,omitempty" name:"Drawer"`

	// 收款人姓名。(不填默认读取商户注册时输入的信息)
	Payee *string `json:"Payee,omitempty" name:"Payee"`

	// 复核人姓名。(不填默认读取商户注册时输入的信息)
	Checker *string `json:"Checker,omitempty" name:"Checker"`

	// 税盘号
	TerminalCode *string `json:"TerminalCode,omitempty" name:"TerminalCode"`

	// 征收方式。开具差额征税发票时必填2。开具普通征税发票时为空
	LevyMethod *string `json:"LevyMethod,omitempty" name:"LevyMethod"`

	// 差额征税扣除额(单位为分)
	Deduction *int64 `json:"Deduction,omitempty" name:"Deduction"`

	// 备注(票面信息)
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// 项目商品明细
	Items []*CreateInvoiceItem `json:"Items,omitempty" name:"Items" list`

	// 接入环境。沙箱环境填sandbox。
	Profile *string `json:"Profile,omitempty" name:"Profile"`

	// 撤销部分商品。0-不撤销,1-撤销
	UndoPart *int64 `json:"UndoPart,omitempty" name:"UndoPart"`

	// 订单下单时间(格式 YYYYMMDD)
	OrderDate *string `json:"OrderDate,omitempty" name:"OrderDate"`

	// 订单级别折扣(单位为分)
	Discount *int64 `json:"Discount,omitempty" name:"Discount"`

	// 门店编码
	StoreNo *string `json:"StoreNo,omitempty" name:"StoreNo"`

	// 开票渠道。0:线上渠道,1:线下渠道。不填默认为线上渠道
	InvoiceChannel *int64 `json:"InvoiceChannel,omitempty" name:"InvoiceChannel"`
}

func NewCreateInvoiceRequest

func NewCreateInvoiceRequest() (request *CreateInvoiceRequest)

func (*CreateInvoiceRequest) FromJsonString

func (r *CreateInvoiceRequest) FromJsonString(s string) error

func (*CreateInvoiceRequest) ToJsonString

func (r *CreateInvoiceRequest) ToJsonString() string

type CreateInvoiceResponse

type CreateInvoiceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 发票开具结果
		Result *CreateInvoiceResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateInvoiceResponse

func NewCreateInvoiceResponse() (response *CreateInvoiceResponse)

func (*CreateInvoiceResponse) FromJsonString

func (r *CreateInvoiceResponse) FromJsonString(s string) error

func (*CreateInvoiceResponse) ToJsonString

func (r *CreateInvoiceResponse) ToJsonString() string

type CreateInvoiceResult

type CreateInvoiceResult struct {

	// 错误消息
	Message *string `json:"Message,omitempty" name:"Message"`

	// 错误码
	Code *int64 `json:"Code,omitempty" name:"Code"`

	// 数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *CreateInvoiceResultData `json:"Data,omitempty" name:"Data"`
}

type CreateInvoiceResultData

type CreateInvoiceResultData struct {

	// 开票状态
	State *int64 `json:"State,omitempty" name:"State"`

	// 发票ID
	InvoiceId *string `json:"InvoiceId,omitempty" name:"InvoiceId"`

	// 业务开票号
	OrderSn *string `json:"OrderSn,omitempty" name:"OrderSn"`
}

type CreateMerchantRequest

type CreateMerchantRequest struct {
	*tchttp.BaseRequest

	// 开票平台ID
	InvoicePlatformId *int64 `json:"InvoicePlatformId,omitempty" name:"InvoicePlatformId"`

	// 企业名称
	TaxpayerName *string `json:"TaxpayerName,omitempty" name:"TaxpayerName"`

	// 销方纳税人识别号
	TaxpayerNum *string `json:"TaxpayerNum,omitempty" name:"TaxpayerNum"`

	// 注册企业法定代表人名称
	LegalPersonName *string `json:"LegalPersonName,omitempty" name:"LegalPersonName"`

	// 联系人
	ContactsName *string `json:"ContactsName,omitempty" name:"ContactsName"`

	// 联系人手机号
	Phone *string `json:"Phone,omitempty" name:"Phone"`

	// 不包含省市名称的地址
	Address *string `json:"Address,omitempty" name:"Address"`

	// 地区编码
	RegionCode *int64 `json:"RegionCode,omitempty" name:"RegionCode"`

	// 市(地区)名称
	CityName *string `json:"CityName,omitempty" name:"CityName"`

	// 开票人
	Drawer *string `json:"Drawer,omitempty" name:"Drawer"`

	// 税务登记证图片(Base64)字符串,需小于 3M
	TaxRegistrationCertificate *string `json:"TaxRegistrationCertificate,omitempty" name:"TaxRegistrationCertificate"`

	// 联系人邮箱地址
	Email *string `json:"Email,omitempty" name:"Email"`

	// 企业电话
	BusinessMobile *string `json:"BusinessMobile,omitempty" name:"BusinessMobile"`

	// 银行名称
	BankName *string `json:"BankName,omitempty" name:"BankName"`

	// 银行账号
	BankAccount *string `json:"BankAccount,omitempty" name:"BankAccount"`

	// 复核人
	Reviewer *string `json:"Reviewer,omitempty" name:"Reviewer"`

	// 收款人
	Payee *string `json:"Payee,omitempty" name:"Payee"`

	// 注册邀请码
	RegisterCode *string `json:"RegisterCode,omitempty" name:"RegisterCode"`

	// 不填默认为1,有效状态
	// 0:表示无效;
	// 1:表示有效;
	// 2:表示禁止开蓝票;
	// 3:表示禁止冲红。
	State *string `json:"State,omitempty" name:"State"`

	// 接收推送的消息地址
	CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"`

	// 接入环境。沙箱环境填 sandbox。
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewCreateMerchantRequest

func NewCreateMerchantRequest() (request *CreateMerchantRequest)

func (*CreateMerchantRequest) FromJsonString

func (r *CreateMerchantRequest) FromJsonString(s string) error

func (*CreateMerchantRequest) ToJsonString

func (r *CreateMerchantRequest) ToJsonString() string

type CreateMerchantResponse

type CreateMerchantResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 商户注册结果
		Result *CreateMerchantResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateMerchantResponse

func NewCreateMerchantResponse() (response *CreateMerchantResponse)

func (*CreateMerchantResponse) FromJsonString

func (r *CreateMerchantResponse) FromJsonString(s string) error

func (*CreateMerchantResponse) ToJsonString

func (r *CreateMerchantResponse) ToJsonString() string

type CreateMerchantResult

type CreateMerchantResult struct {

	// 状态码
	Code *int64 `json:"Code,omitempty" name:"Code"`

	// 响应消息
	Message *string `json:"Message,omitempty" name:"Message"`

	// 创建商户结果数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *CreateMerchantResultData `json:"Data,omitempty" name:"Data"`
}

type CreateMerchantResultData

type CreateMerchantResultData struct {

	// 企业名称
	TaxpayerName *string `json:"TaxpayerName,omitempty" name:"TaxpayerName"`

	// 请求流水号
	SerialNo *string `json:"SerialNo,omitempty" name:"SerialNo"`

	// 纳税号
	TaxpayerNum *string `json:"TaxpayerNum,omitempty" name:"TaxpayerNum"`
}

type CreateRedInvoiceItem

type CreateRedInvoiceItem struct {

	// 订单号
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 发票结果回传地址
	CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"`

	// 业务开票号
	OrderSn *string `json:"OrderSn,omitempty" name:"OrderSn"`

	// 红字信息表编码
	RedSerialNo *string `json:"RedSerialNo,omitempty" name:"RedSerialNo"`

	// 门店编号
	StoreNo *string `json:"StoreNo,omitempty" name:"StoreNo"`
}

type CreateRedInvoiceRequest

type CreateRedInvoiceRequest struct {
	*tchttp.BaseRequest

	// 开票平台ID
	InvoicePlatformId *int64 `json:"InvoicePlatformId,omitempty" name:"InvoicePlatformId"`

	// 红冲明细
	Invoices []*CreateRedInvoiceItem `json:"Invoices,omitempty" name:"Invoices" list`

	// 接入环境。沙箱环境填 sandbox。
	Profile *string `json:"Profile,omitempty" name:"Profile"`

	// 开票渠道。0:线上渠道,1:线下渠道。不填默认为线上渠道
	InvoiceChannel *int64 `json:"InvoiceChannel,omitempty" name:"InvoiceChannel"`
}

func NewCreateRedInvoiceRequest

func NewCreateRedInvoiceRequest() (request *CreateRedInvoiceRequest)

func (*CreateRedInvoiceRequest) FromJsonString

func (r *CreateRedInvoiceRequest) FromJsonString(s string) error

func (*CreateRedInvoiceRequest) ToJsonString

func (r *CreateRedInvoiceRequest) ToJsonString() string

type CreateRedInvoiceResponse

type CreateRedInvoiceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 红冲结果
		Result *CreateRedInvoiceResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateRedInvoiceResponse

func NewCreateRedInvoiceResponse() (response *CreateRedInvoiceResponse)

func (*CreateRedInvoiceResponse) FromJsonString

func (r *CreateRedInvoiceResponse) FromJsonString(s string) error

func (*CreateRedInvoiceResponse) ToJsonString

func (r *CreateRedInvoiceResponse) ToJsonString() string

type CreateRedInvoiceResult

type CreateRedInvoiceResult struct {

	// 错误消息
	Message *string `json:"Message,omitempty" name:"Message"`

	// 错误码
	Code *int64 `json:"Code,omitempty" name:"Code"`

	// 红票数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*CreateRedInvoiceResultData `json:"Data,omitempty" name:"Data" list`
}

type CreateRedInvoiceResultData

type CreateRedInvoiceResultData struct {

	// 红冲状态码
	Code *int64 `json:"Code,omitempty" name:"Code"`

	// 红冲状态消息
	Message *string `json:"Message,omitempty" name:"Message"`

	// 发票ID
	InvoiceId *string `json:"InvoiceId,omitempty" name:"InvoiceId"`

	// 业务开票号
	OrderSn *string `json:"OrderSn,omitempty" name:"OrderSn"`
}

type CreateSinglePayRequest

type CreateSinglePayRequest struct {
	*tchttp.BaseRequest

	// 业务流水号,历史唯一
	SerialNumber *string `json:"SerialNumber,omitempty" name:"SerialNumber"`

	// 付方账户号
	PayAccountNumber *string `json:"PayAccountNumber,omitempty" name:"PayAccountNumber"`

	// 付方账户名称
	PayAccountName *string `json:"PayAccountName,omitempty" name:"PayAccountName"`

	// 金额
	Amount *int64 `json:"Amount,omitempty" name:"Amount"`

	// 收方账户号
	RecvAccountNumber *string `json:"RecvAccountNumber,omitempty" name:"RecvAccountNumber"`

	// 收方账户名称
	RecvAccountName *string `json:"RecvAccountName,omitempty" name:"RecvAccountName"`

	// 付方账户CNAPS号
	PayBankCnaps *string `json:"PayBankCnaps,omitempty" name:"PayBankCnaps"`

	// 付方账户银行大类,PayBankCnaps为空时必传(见常见问题-银企直连银行类型)
	PayBankType *string `json:"PayBankType,omitempty" name:"PayBankType"`

	// 付方账户银行所在省,PayBankCnaps为空时必传(见常见问题-银企直连省份枚举信息)
	PayBankProvince *string `json:"PayBankProvince,omitempty" name:"PayBankProvince"`

	// 付方账户银行所在地区,PayBankCnaps为空时必传(见常见问题-银企直连城市枚举信息)
	PayBankCity *string `json:"PayBankCity,omitempty" name:"PayBankCity"`

	// 收方账户CNAPS号
	RecvBankCnaps *string `json:"RecvBankCnaps,omitempty" name:"RecvBankCnaps"`

	// 收方账户银行大类,RecvBankCnaps为空时必传(见常见问题-银企直连银行类型)
	RecvBankType *string `json:"RecvBankType,omitempty" name:"RecvBankType"`

	// 收方账户银行所在省,RecvBankCnaps为空时必传(见常见问题-银企直连省份枚举信息)
	RecvBankProvince *string `json:"RecvBankProvince,omitempty" name:"RecvBankProvince"`

	// 收方账户银行所在地区,RecvBankCnaps为空时必传(见常见问题-银企直连城市枚举信息)
	RecvBankCity *string `json:"RecvBankCity,omitempty" name:"RecvBankCity"`

	// 收款方证件类型(见常见问题-银企直连证件类型枚举信息)
	RecvCertType *string `json:"RecvCertType,omitempty" name:"RecvCertType"`

	// 收款方证件号码
	RecvCertNo *string `json:"RecvCertNo,omitempty" name:"RecvCertNo"`

	// 摘要信息
	Summary *string `json:"Summary,omitempty" name:"Summary"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewCreateSinglePayRequest

func NewCreateSinglePayRequest() (request *CreateSinglePayRequest)

func (*CreateSinglePayRequest) FromJsonString

func (r *CreateSinglePayRequest) FromJsonString(s string) error

func (*CreateSinglePayRequest) ToJsonString

func (r *CreateSinglePayRequest) ToJsonString() string

type CreateSinglePayResponse

type CreateSinglePayResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 返回结果
		Result *CreateSinglePayResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSinglePayResponse

func NewCreateSinglePayResponse() (response *CreateSinglePayResponse)

func (*CreateSinglePayResponse) FromJsonString

func (r *CreateSinglePayResponse) FromJsonString(s string) error

func (*CreateSinglePayResponse) ToJsonString

func (r *CreateSinglePayResponse) ToJsonString() string

type CreateSinglePayResult

type CreateSinglePayResult struct {

	// 受理状态(S:处理成功;F:处理失败)
	HandleStatus *string `json:"HandleStatus,omitempty" name:"HandleStatus"`

	// 受理状态描述
	HandleMsg *string `json:"HandleMsg,omitempty" name:"HandleMsg"`

	// 业务流水号,历史唯一
	// 注意:此字段可能返回 null,表示取不到有效值。
	SerialNo *string `json:"SerialNo,omitempty" name:"SerialNo"`

	// 银行指令流水
	// 注意:此字段可能返回 null,表示取不到有效值。
	BankSerialNo *string `json:"BankSerialNo,omitempty" name:"BankSerialNo"`

	// 付款状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayStatus *string `json:"PayStatus,omitempty" name:"PayStatus"`

	// 银行原始返回码
	// 注意:此字段可能返回 null,表示取不到有效值。
	BankRetCode *string `json:"BankRetCode,omitempty" name:"BankRetCode"`

	// 银行原始返回
	// 注意:此字段可能返回 null,表示取不到有效值。
	BankRetMsg *string `json:"BankRetMsg,omitempty" name:"BankRetMsg"`
}

type CreateTransferBatchRequest

type CreateTransferBatchRequest struct {
	*tchttp.BaseRequest

	// 商户号。
	// 示例值:129284394
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 转账明细列表。
	// 发起批量转账的明细列表,最多三千笔
	TransferDetails []*TransferDetailRequest `json:"TransferDetails,omitempty" name:"TransferDetails" list`

	// 直连商户appId。
	// 即商户号绑定的appid。
	// 示例值:wxf636efh567hg4356
	MerchantAppId *string `json:"MerchantAppId,omitempty" name:"MerchantAppId"`

	// 商家批次单号。
	// 商户系统内部的商家批次单号,此参数只能由数字、字母组成,商户系统内部唯一,UTF8编码,最多32个字符。
	// 示例值:plfk2020042013
	MerchantBatchNo *string `json:"MerchantBatchNo,omitempty" name:"MerchantBatchNo"`

	// 批次名称。
	// 批量转账的名称。
	// 示例值:2019年1月深圳分部报销单
	BatchName *string `json:"BatchName,omitempty" name:"BatchName"`

	// 转账说明。
	// UTF8编码,最多32个字符。
	// 示例值:2019年深圳分部报销单
	BatchRemark *string `json:"BatchRemark,omitempty" name:"BatchRemark"`

	// 转账总金额。
	// 转账金额,单位为分。
	// 示例值:4000000
	TotalAmount *uint64 `json:"TotalAmount,omitempty" name:"TotalAmount"`

	// 转账总笔数。
	// 一个转账批次最多允许发起三千笔转账。
	// 示例值:200
	TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`

	// 环境名。
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewCreateTransferBatchRequest

func NewCreateTransferBatchRequest() (request *CreateTransferBatchRequest)

func (*CreateTransferBatchRequest) FromJsonString

func (r *CreateTransferBatchRequest) FromJsonString(s string) error

func (*CreateTransferBatchRequest) ToJsonString

func (r *CreateTransferBatchRequest) ToJsonString() string

type CreateTransferBatchResponse

type CreateTransferBatchResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 商家批次单号。
		// 商户系统内部的商家批次单号,此参数只能由数字、字母组成,商户系统内部唯一,UTF8编码,最多32个字符。
		// 示例值:plfk2020042013
		MerchantBatchNo *string `json:"MerchantBatchNo,omitempty" name:"MerchantBatchNo"`

		// 微信批次单号。
		// 微信商家转账系统返回的唯一标识。
		// 示例值:1030000071100999991182020050700019480001
		BatchId *string `json:"BatchId,omitempty" name:"BatchId"`

		// 批次受理成功时返回,遵循rfc3339标准格式。格式为YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE,YYYY-MM-DD表示年月日,T出现在字符串中,表示time元素的开头,HH:mm:ss.sss表示时分秒毫秒,TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间)。例如:2015-05-20T13:29:35.120+08:00表示北京时间2015年05月20日13点29分35秒。
		// 示例值:2015-05-20T13:29:35.120+08:00
		CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateTransferBatchResponse

func NewCreateTransferBatchResponse() (response *CreateTransferBatchResponse)

func (*CreateTransferBatchResponse) FromJsonString

func (r *CreateTransferBatchResponse) FromJsonString(s string) error

func (*CreateTransferBatchResponse) ToJsonString

func (r *CreateTransferBatchResponse) ToJsonString() string

type DeleteAgentTaxPaymentInfoRequest

type DeleteAgentTaxPaymentInfoRequest struct {
	*tchttp.BaseRequest

	// 批次号
	BatchNum *int64 `json:"BatchNum,omitempty" name:"BatchNum"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewDeleteAgentTaxPaymentInfoRequest

func NewDeleteAgentTaxPaymentInfoRequest() (request *DeleteAgentTaxPaymentInfoRequest)

func (*DeleteAgentTaxPaymentInfoRequest) FromJsonString

func (r *DeleteAgentTaxPaymentInfoRequest) FromJsonString(s string) error

func (*DeleteAgentTaxPaymentInfoRequest) ToJsonString

func (r *DeleteAgentTaxPaymentInfoRequest) ToJsonString() string

type DeleteAgentTaxPaymentInfoResponse

type DeleteAgentTaxPaymentInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAgentTaxPaymentInfoResponse

func NewDeleteAgentTaxPaymentInfoResponse() (response *DeleteAgentTaxPaymentInfoResponse)

func (*DeleteAgentTaxPaymentInfoResponse) FromJsonString

func (r *DeleteAgentTaxPaymentInfoResponse) FromJsonString(s string) error

func (*DeleteAgentTaxPaymentInfoResponse) ToJsonString

func (r *DeleteAgentTaxPaymentInfoResponse) ToJsonString() string

type DeleteAgentTaxPaymentInfosRequest

type DeleteAgentTaxPaymentInfosRequest struct {
	*tchttp.BaseRequest

	// 批次号
	BatchNum *int64 `json:"BatchNum,omitempty" name:"BatchNum"`
}

func NewDeleteAgentTaxPaymentInfosRequest

func NewDeleteAgentTaxPaymentInfosRequest() (request *DeleteAgentTaxPaymentInfosRequest)

func (*DeleteAgentTaxPaymentInfosRequest) FromJsonString

func (r *DeleteAgentTaxPaymentInfosRequest) FromJsonString(s string) error

func (*DeleteAgentTaxPaymentInfosRequest) ToJsonString

func (r *DeleteAgentTaxPaymentInfosRequest) ToJsonString() string

type DeleteAgentTaxPaymentInfosResponse

type DeleteAgentTaxPaymentInfosResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAgentTaxPaymentInfosResponse

func NewDeleteAgentTaxPaymentInfosResponse() (response *DeleteAgentTaxPaymentInfosResponse)

func (*DeleteAgentTaxPaymentInfosResponse) FromJsonString

func (r *DeleteAgentTaxPaymentInfosResponse) FromJsonString(s string) error

func (*DeleteAgentTaxPaymentInfosResponse) ToJsonString

func (r *DeleteAgentTaxPaymentInfosResponse) ToJsonString() string

type DescribeChargeDetailRequest

type DescribeChargeDetailRequest struct {
	*tchttp.BaseRequest

	// 请求类型
	RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

	// 商户号
	MerchantCode *string `json:"MerchantCode,omitempty" name:"MerchantCode"`

	// 支付渠道
	PayChannel *string `json:"PayChannel,omitempty" name:"PayChannel"`

	// 子渠道
	PayChannelSubId *int64 `json:"PayChannelSubId,omitempty" name:"PayChannelSubId"`

	// 原始交易订单号或者流水号
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 父账户账号,资金汇总账号
	BankAccountNumber *string `json:"BankAccountNumber,omitempty" name:"BankAccountNumber"`

	// 收单渠道类型
	AcquiringChannelType *string `json:"AcquiringChannelType,omitempty" name:"AcquiringChannelType"`

	// 平台短号(银行分配)
	PlatformShortNumber *string `json:"PlatformShortNumber,omitempty" name:"PlatformShortNumber"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 计费签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 交易流水号
	TransSequenceNumber *string `json:"TransSequenceNumber,omitempty" name:"TransSequenceNumber"`

	// Midas环境参数
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`

	// 保留域
	ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`
}

func NewDescribeChargeDetailRequest

func NewDescribeChargeDetailRequest() (request *DescribeChargeDetailRequest)

func (*DescribeChargeDetailRequest) FromJsonString

func (r *DescribeChargeDetailRequest) FromJsonString(s string) error

func (*DescribeChargeDetailRequest) ToJsonString

func (r *DescribeChargeDetailRequest) ToJsonString() string

type DescribeChargeDetailResponse

type DescribeChargeDetailResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 交易状态 (0:成功,1:失败,2:异常,3:冲正,5:待处理)
		OrderStatus *string `json:"OrderStatus,omitempty" name:"OrderStatus"`

		// 交易金额
		OrderAmount *string `json:"OrderAmount,omitempty" name:"OrderAmount"`

		// 佣金费
		CommissionAmount *string `json:"CommissionAmount,omitempty" name:"CommissionAmount"`

		// 支付方式  0-冻结支付 1-普通支付
		PayMode *string `json:"PayMode,omitempty" name:"PayMode"`

		// 交易日期
		OrderDate *string `json:"OrderDate,omitempty" name:"OrderDate"`

		// 交易时间
		OrderTime *string `json:"OrderTime,omitempty" name:"OrderTime"`

		// 订单实际转入见证子账户的名称
		OrderActualInSubAccountName *string `json:"OrderActualInSubAccountName,omitempty" name:"OrderActualInSubAccountName"`

		// 订单实际转入见证子账户的帐号
		OrderActualInSubAccountNumber *string `json:"OrderActualInSubAccountNumber,omitempty" name:"OrderActualInSubAccountNumber"`

		// 订单实际转入见证子账户的帐号
		OrderInSubAccountName *string `json:"OrderInSubAccountName,omitempty" name:"OrderInSubAccountName"`

		// 订单转入见证子账户的帐号
		OrderInSubAccountNumber *string `json:"OrderInSubAccountNumber,omitempty" name:"OrderInSubAccountNumber"`

		// 银行流水号
		FrontSequenceNumber *string `json:"FrontSequenceNumber,omitempty" name:"FrontSequenceNumber"`

		// 当充值失败时,返回交易失败原因
		FailMessage *string `json:"FailMessage,omitempty" name:"FailMessage"`

		// 请求类型
		RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeChargeDetailResponse

func NewDescribeChargeDetailResponse() (response *DescribeChargeDetailResponse)

func (*DescribeChargeDetailResponse) FromJsonString

func (r *DescribeChargeDetailResponse) FromJsonString(s string) error

func (*DescribeChargeDetailResponse) ToJsonString

func (r *DescribeChargeDetailResponse) ToJsonString() string

type DescribeOrderStatusRequest

type DescribeOrderStatusRequest struct {
	*tchttp.BaseRequest

	// 请求类型,此接口固定填:QueryOrderStatusReq
	RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

	// 商户号
	MerchantCode *string `json:"MerchantCode,omitempty" name:"MerchantCode"`

	// 支付渠道
	PayChannel *string `json:"PayChannel,omitempty" name:"PayChannel"`

	// 子渠道
	PayChannelSubId *int64 `json:"PayChannelSubId,omitempty" name:"PayChannelSubId"`

	// 交易订单号或流水号,提现,充值或会员交易请求时的CnsmrSeqNo值
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 父账户账号,资金汇总账号
	BankAccountNumber *string `json:"BankAccountNumber,omitempty" name:"BankAccountNumber"`

	// 平台短号(银行分配)
	PlatformShortNumber *string `json:"PlatformShortNumber,omitempty" name:"PlatformShortNumber"`

	// 功能标志 0:会员间交易 1:提现 2:充值
	QueryType *string `json:"QueryType,omitempty" name:"QueryType"`

	// 银行流水号
	TransSequenceNumber *string `json:"TransSequenceNumber,omitempty" name:"TransSequenceNumber"`

	// 计费签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// Midas环境参数
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`

	// 保留字段
	ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`

	// 子账户账号 暂未使用
	BankSubAccountNumber *string `json:"BankSubAccountNumber,omitempty" name:"BankSubAccountNumber"`

	// 交易日期 暂未使用
	TransDate *string `json:"TransDate,omitempty" name:"TransDate"`
}

func NewDescribeOrderStatusRequest

func NewDescribeOrderStatusRequest() (request *DescribeOrderStatusRequest)

func (*DescribeOrderStatusRequest) FromJsonString

func (r *DescribeOrderStatusRequest) FromJsonString(s string) error

func (*DescribeOrderStatusRequest) ToJsonString

func (r *DescribeOrderStatusRequest) ToJsonString() string

type DescribeOrderStatusResponse

type DescribeOrderStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 交易状态 (0:成功,1:失败,2:待确认, 5:待处理,6:处理中)
		OrderStatus *string `json:"OrderStatus,omitempty" name:"OrderStatus"`

		// 交易金额
		OrderAmount *string `json:"OrderAmount,omitempty" name:"OrderAmount"`

		// 交易日期
		OrderDate *string `json:"OrderDate,omitempty" name:"OrderDate"`

		// 交易时间
		OrderTime *string `json:"OrderTime,omitempty" name:"OrderTime"`

		// 转出子账户账号
		OutSubAccountNumber *string `json:"OutSubAccountNumber,omitempty" name:"OutSubAccountNumber"`

		// 转入子账户账号
		InSubAccountNumber *string `json:"InSubAccountNumber,omitempty" name:"InSubAccountNumber"`

		// 记账标志(1:登记挂账 2:支付 3:提现 4:清分5:下单预支付 6:确认并付款 7:退款 8:支付到平台 N:其他)
		BookingFlag *string `json:"BookingFlag,omitempty" name:"BookingFlag"`

		// 当交易失败时,返回交易失败原因
		FailMessage *string `json:"FailMessage,omitempty" name:"FailMessage"`

		// 请求类型
		RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeOrderStatusResponse

func NewDescribeOrderStatusResponse() (response *DescribeOrderStatusResponse)

func (*DescribeOrderStatusResponse) FromJsonString

func (r *DescribeOrderStatusResponse) FromJsonString(s string) error

func (*DescribeOrderStatusResponse) ToJsonString

func (r *DescribeOrderStatusResponse) ToJsonString() string

type DownloadBillRequest

type DownloadBillRequest struct {
	*tchttp.BaseRequest

	// 请求下载对账单日期
	StateDate *string `json:"StateDate,omitempty" name:"StateDate"`

	// 聚鑫分配的MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 聚鑫分配的SecretId
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 使用聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewDownloadBillRequest

func NewDownloadBillRequest() (request *DownloadBillRequest)

func (*DownloadBillRequest) FromJsonString

func (r *DownloadBillRequest) FromJsonString(s string) error

func (*DownloadBillRequest) ToJsonString

func (r *DownloadBillRequest) ToJsonString() string

type DownloadBillResponse

type DownloadBillResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 账单文件名
		FileName *string `json:"FileName,omitempty" name:"FileName"`

		// 账单文件的MD5值
		FileMD5 *string `json:"FileMD5,omitempty" name:"FileMD5"`

		// 账单文件的真实下载地址
		DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDownloadBillResponse

func NewDownloadBillResponse() (response *DownloadBillResponse)

func (*DownloadBillResponse) FromJsonString

func (r *DownloadBillResponse) FromJsonString(s string) error

func (*DownloadBillResponse) ToJsonString

func (r *DownloadBillResponse) ToJsonString() string

type ExecuteMemberTransactionRequest

type ExecuteMemberTransactionRequest struct {
	*tchttp.BaseRequest

	// 请求类型此接口固定填:MemberTransactionReq
	RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

	// 银行注册商户号
	MerchantCode *string `json:"MerchantCode,omitempty" name:"MerchantCode"`

	// 支付渠道
	PayChannel *string `json:"PayChannel,omitempty" name:"PayChannel"`

	// 子渠道
	PayChannelSubId *int64 `json:"PayChannelSubId,omitempty" name:"PayChannelSubId"`

	// 转出交易网会员代码
	OutTransNetMemberCode *string `json:"OutTransNetMemberCode,omitempty" name:"OutTransNetMemberCode"`

	// 转出见证子账户的户名
	OutSubAccountName *string `json:"OutSubAccountName,omitempty" name:"OutSubAccountName"`

	// 转入见证子账户的户名
	InSubAccountName *string `json:"InSubAccountName,omitempty" name:"InSubAccountName"`

	// 转出子账户账号
	OutSubAccountNumber *string `json:"OutSubAccountNumber,omitempty" name:"OutSubAccountNumber"`

	// 转入子账户账号
	InSubAccountNumber *string `json:"InSubAccountNumber,omitempty" name:"InSubAccountNumber"`

	// 父账户账号,资金汇总账号
	BankAccountNumber *string `json:"BankAccountNumber,omitempty" name:"BankAccountNumber"`

	// 货币单位 单位,1:元,2:角,3:分
	CurrencyUnit *string `json:"CurrencyUnit,omitempty" name:"CurrencyUnit"`

	// 币种
	CurrencyType *string `json:"CurrencyType,omitempty" name:"CurrencyType"`

	// 交易金额
	CurrencyAmount *string `json:"CurrencyAmount,omitempty" name:"CurrencyAmount"`

	// 订单号
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 计费签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 交易流水号
	// 生成方式:用户短号+日期(6位)+ 随机编号(10位)例如:F088722005120904930798
	// 短号:F08872  日期: 200512   随机编号:0904930798
	TransSequenceNumber *string `json:"TransSequenceNumber,omitempty" name:"TransSequenceNumber"`

	// 转入交易网会员代码
	InTransNetMemberCode *string `json:"InTransNetMemberCode,omitempty" name:"InTransNetMemberCode"`

	// Midas环境标识 release 现网环境 sandbox 沙箱环境
	// development 开发环境
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`

	// 平台短号(银行分配)
	PlatformShortNumber *string `json:"PlatformShortNumber,omitempty" name:"PlatformShortNumber"`

	// 1:下单预支付
	// 2:确认并付款
	// 3:退款
	// 6:直接支付T+1
	// 9:直接支付T+0
	TransType *string `json:"TransType,omitempty" name:"TransType"`

	// 交易手续费
	TransFee *string `json:"TransFee,omitempty" name:"TransFee"`

	// 保留域
	ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`
}

func NewExecuteMemberTransactionRequest

func NewExecuteMemberTransactionRequest() (request *ExecuteMemberTransactionRequest)

func (*ExecuteMemberTransactionRequest) FromJsonString

func (r *ExecuteMemberTransactionRequest) FromJsonString(s string) error

func (*ExecuteMemberTransactionRequest) ToJsonString

func (r *ExecuteMemberTransactionRequest) ToJsonString() string

type ExecuteMemberTransactionResponse

type ExecuteMemberTransactionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 请求类型
		RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

		// 银行流水号
		FrontSequenceNumber *string `json:"FrontSequenceNumber,omitempty" name:"FrontSequenceNumber"`

		// 保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewExecuteMemberTransactionResponse

func NewExecuteMemberTransactionResponse() (response *ExecuteMemberTransactionResponse)

func (*ExecuteMemberTransactionResponse) FromJsonString

func (r *ExecuteMemberTransactionResponse) FromJsonString(s string) error

func (*ExecuteMemberTransactionResponse) ToJsonString

func (r *ExecuteMemberTransactionResponse) ToJsonString() string

type FileItem

type FileItem struct {

	// STRING(256),文件名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	FileName *string `json:"FileName,omitempty" name:"FileName"`

	// STRING(120),随机密码
	// 注意:此字段可能返回 null,表示取不到有效值。
	RandomPassword *string `json:"RandomPassword,omitempty" name:"RandomPassword"`

	// STRING(512),文件路径
	// 注意:此字段可能返回 null,表示取不到有效值。
	FilePath *string `json:"FilePath,omitempty" name:"FilePath"`

	// STRING(64),提取码
	// 注意:此字段可能返回 null,表示取不到有效值。
	DrawCode *string `json:"DrawCode,omitempty" name:"DrawCode"`
}

type MerchantManagementList

type MerchantManagementList struct {

	// 企业名称。
	TaxpayerName *string `json:"TaxpayerName,omitempty" name:"TaxpayerName"`

	// 纳税人识别号(税号)	。
	TaxpayerNum *string `json:"TaxpayerNum,omitempty" name:"TaxpayerNum"`

	// 请求流水号。
	SerialNo *string `json:"SerialNo,omitempty" name:"SerialNo"`

	// 开票系统ID
	InvoicePlatformId *int64 `json:"InvoicePlatformId,omitempty" name:"InvoicePlatformId"`
}

type MerchantManagementResult

type MerchantManagementResult struct {

	// 总数。
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// 商户列表。
	List []*MerchantManagementList `json:"List,omitempty" name:"List" list`
}

type MigrateOrderRefundQueryRequest

type MigrateOrderRefundQueryRequest struct {
	*tchttp.BaseRequest

	// 商户号
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 支付渠道,ALIPAY对应支付宝渠道;UNIONPAY对应银联渠道
	PayChannel *string `json:"PayChannel,omitempty" name:"PayChannel"`

	// 退款订单号,最长64位,仅支持数字、 字母
	RefundOrderId *string `json:"RefundOrderId,omitempty" name:"RefundOrderId"`

	// 退款流水号
	TradeSerialNo *string `json:"TradeSerialNo,omitempty" name:"TradeSerialNo"`

	// 接入环境。沙箱环境填 sandbox。
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewMigrateOrderRefundQueryRequest

func NewMigrateOrderRefundQueryRequest() (request *MigrateOrderRefundQueryRequest)

func (*MigrateOrderRefundQueryRequest) FromJsonString

func (r *MigrateOrderRefundQueryRequest) FromJsonString(s string) error

func (*MigrateOrderRefundQueryRequest) ToJsonString

func (r *MigrateOrderRefundQueryRequest) ToJsonString() string

type MigrateOrderRefundQueryResponse

type MigrateOrderRefundQueryResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 请求成功状态
		IsSuccess *bool `json:"IsSuccess,omitempty" name:"IsSuccess"`

		// 交易流水号
		TradeSerialNo *string `json:"TradeSerialNo,omitempty" name:"TradeSerialNo"`

		// 交易备注
		TradeMsg *string `json:"TradeMsg,omitempty" name:"TradeMsg"`

		// 交易状态:0=交易待处理;1=交易处理中;2=交易处理成功;3=交易失败;4=状态未知
		TradeStatus *int64 `json:"TradeStatus,omitempty" name:"TradeStatus"`

		// 第三方支付机构支付交易号
		// 注意:此字段可能返回 null,表示取不到有效值。
		ThirdChannelOrderId *string `json:"ThirdChannelOrderId,omitempty" name:"ThirdChannelOrderId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewMigrateOrderRefundQueryResponse

func NewMigrateOrderRefundQueryResponse() (response *MigrateOrderRefundQueryResponse)

func (*MigrateOrderRefundQueryResponse) FromJsonString

func (r *MigrateOrderRefundQueryResponse) FromJsonString(s string) error

func (*MigrateOrderRefundQueryResponse) ToJsonString

func (r *MigrateOrderRefundQueryResponse) ToJsonString() string

type MigrateOrderRefundRequest

type MigrateOrderRefundRequest struct {
	*tchttp.BaseRequest

	// 商户代码
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 支付渠道,ALIPAY对应支付宝渠道;UNIONPAY对应银联渠道
	PayChannel *string `json:"PayChannel,omitempty" name:"PayChannel"`

	// 正向支付商户订单号
	PayOrderId *string `json:"PayOrderId,omitempty" name:"PayOrderId"`

	// 退款订单号,最长64位,仅支持数字、 字母
	RefundOrderId *string `json:"RefundOrderId,omitempty" name:"RefundOrderId"`

	// 退款金额,单位:分。备注:改字段必须大于0 和小于10000000000的整数。
	RefundAmt *uint64 `json:"RefundAmt,omitempty" name:"RefundAmt"`

	// 第三方支付机构支付交易号
	ThirdChannelOrderId *string `json:"ThirdChannelOrderId,omitempty" name:"ThirdChannelOrderId"`

	// 原始支付金额,单位:分。备注:当该字段为空或者为0 时,系统会默认使用订单当 实付金额作为退款金额
	PayAmt *uint64 `json:"PayAmt,omitempty" name:"PayAmt"`

	// 接入环境。沙箱环境填 sandbox。
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewMigrateOrderRefundRequest

func NewMigrateOrderRefundRequest() (request *MigrateOrderRefundRequest)

func (*MigrateOrderRefundRequest) FromJsonString

func (r *MigrateOrderRefundRequest) FromJsonString(s string) error

func (*MigrateOrderRefundRequest) ToJsonString

func (r *MigrateOrderRefundRequest) ToJsonString() string

type MigrateOrderRefundResponse

type MigrateOrderRefundResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 请求成功状态
		IsSuccess *bool `json:"IsSuccess,omitempty" name:"IsSuccess"`

		// 退款流水号
		TradeSerialNo *string `json:"TradeSerialNo,omitempty" name:"TradeSerialNo"`

		// 交易备注
		TradeMsg *string `json:"TradeMsg,omitempty" name:"TradeMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewMigrateOrderRefundResponse

func NewMigrateOrderRefundResponse() (response *MigrateOrderRefundResponse)

func (*MigrateOrderRefundResponse) FromJsonString

func (r *MigrateOrderRefundResponse) FromJsonString(s string) error

func (*MigrateOrderRefundResponse) ToJsonString

func (r *MigrateOrderRefundResponse) ToJsonString() string

type ModifyAgentTaxPaymentInfoRequest

type ModifyAgentTaxPaymentInfoRequest struct {
	*tchttp.BaseRequest

	// 批次号
	BatchNum *int64 `json:"BatchNum,omitempty" name:"BatchNum"`

	// 新源电子凭证地址
	RawElectronicCertUrl *string `json:"RawElectronicCertUrl,omitempty" name:"RawElectronicCertUrl"`

	// 新的文件名
	FileName *string `json:"FileName,omitempty" name:"FileName"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewModifyAgentTaxPaymentInfoRequest

func NewModifyAgentTaxPaymentInfoRequest() (request *ModifyAgentTaxPaymentInfoRequest)

func (*ModifyAgentTaxPaymentInfoRequest) FromJsonString

func (r *ModifyAgentTaxPaymentInfoRequest) FromJsonString(s string) error

func (*ModifyAgentTaxPaymentInfoRequest) ToJsonString

func (r *ModifyAgentTaxPaymentInfoRequest) ToJsonString() string

type ModifyAgentTaxPaymentInfoResponse

type ModifyAgentTaxPaymentInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 代理商完税证明批次信息
		AgentTaxPaymentBatch *AgentTaxPaymentBatch `json:"AgentTaxPaymentBatch,omitempty" name:"AgentTaxPaymentBatch"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAgentTaxPaymentInfoResponse

func NewModifyAgentTaxPaymentInfoResponse() (response *ModifyAgentTaxPaymentInfoResponse)

func (*ModifyAgentTaxPaymentInfoResponse) FromJsonString

func (r *ModifyAgentTaxPaymentInfoResponse) FromJsonString(s string) error

func (*ModifyAgentTaxPaymentInfoResponse) ToJsonString

func (r *ModifyAgentTaxPaymentInfoResponse) ToJsonString() string

type ModifyMntMbrBindRelateAcctBankCodeRequest

type ModifyMntMbrBindRelateAcctBankCodeRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(50),见证子账户的账号
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// STRING(50),会员绑定账号
	MemberBindAcctNo *string `json:"MemberBindAcctNo,omitempty" name:"MemberBindAcctNo"`

	// STRING(150),开户行名称(若大小额行号不填则送超级网银号对应的银行名称,若填大小额行号则送大小额行号对应的银行名称)
	AcctOpenBranchName *string `json:"AcctOpenBranchName,omitempty" name:"AcctOpenBranchName"`

	// STRING(20),大小额行号(CnapsBranchId和EiconBankBranchId两者二选一必填)
	CnapsBranchId *string `json:"CnapsBranchId,omitempty" name:"CnapsBranchId"`

	// STRING(20),超级网银行号
	EiconBankBranchId *string `json:"EiconBankBranchId,omitempty" name:"EiconBankBranchId"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewModifyMntMbrBindRelateAcctBankCodeRequest

func NewModifyMntMbrBindRelateAcctBankCodeRequest() (request *ModifyMntMbrBindRelateAcctBankCodeRequest)

func (*ModifyMntMbrBindRelateAcctBankCodeRequest) FromJsonString

func (*ModifyMntMbrBindRelateAcctBankCodeRequest) ToJsonString

type ModifyMntMbrBindRelateAcctBankCodeResponse

type ModifyMntMbrBindRelateAcctBankCodeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyMntMbrBindRelateAcctBankCodeResponse

func NewModifyMntMbrBindRelateAcctBankCodeResponse() (response *ModifyMntMbrBindRelateAcctBankCodeResponse)

func (*ModifyMntMbrBindRelateAcctBankCodeResponse) FromJsonString

func (*ModifyMntMbrBindRelateAcctBankCodeResponse) ToJsonString

type Order

type Order struct {

	// 含税金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	AmountHasTax *float64 `json:"AmountHasTax,omitempty" name:"AmountHasTax"`

	// 优惠金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	Discount *float64 `json:"Discount,omitempty" name:"Discount"`

	// 销方名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	SellerName *string `json:"SellerName,omitempty" name:"SellerName"`

	// 发票类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	InvoiceType *int64 `json:"InvoiceType,omitempty" name:"InvoiceType"`

	// 默认“”
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 支付金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	Amount *float64 `json:"Amount,omitempty" name:"Amount"`

	// 下单日期
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrderDate *string `json:"OrderDate,omitempty" name:"OrderDate"`

	// 订单号
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 门店号
	// 注意:此字段可能返回 null,表示取不到有效值。
	StoreNo *string `json:"StoreNo,omitempty" name:"StoreNo"`

	// 明细
	// 注意:此字段可能返回 null,表示取不到有效值。
	Items []*OrderItem `json:"Items,omitempty" name:"Items" list`
}

type OrderItem

type OrderItem struct {

	// 明细金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	AmountHasTax *float64 `json:"AmountHasTax,omitempty" name:"AmountHasTax"`

	// 优惠金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	Discount *float64 `json:"Discount,omitempty" name:"Discount"`

	// 商品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 型号
	// 注意:此字段可能返回 null,表示取不到有效值。
	Models *string `json:"Models,omitempty" name:"Models"`

	// 数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// 数量单位
	// 注意:此字段可能返回 null,表示取不到有效值。
	Unit *string `json:"Unit,omitempty" name:"Unit"`

	// 默认“0”
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 单价
	// 注意:此字段可能返回 null,表示取不到有效值。
	Price *float64 `json:"Price,omitempty" name:"Price"`

	// 商品编码
	// 注意:此字段可能返回 null,表示取不到有效值。
	TaxCode *string `json:"TaxCode,omitempty" name:"TaxCode"`
}

type QueryAcctBindingRequest

type QueryAcctBindingRequest struct {
	*tchttp.BaseRequest

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 聚鑫计费SubAppId,代表子商户
	SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

	// 由平台客服提供的计费密钥Id
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 计费签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 敏感信息加密类型:
	// RSA: rsa非对称加密,使用RSA-PKCS1-v1_5
	// AES: aes对称加密,使用AES256-CBC-PCKS7padding
	// 缺省: RSA
	EncryptType *string `json:"EncryptType,omitempty" name:"EncryptType"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewQueryAcctBindingRequest

func NewQueryAcctBindingRequest() (request *QueryAcctBindingRequest)

func (*QueryAcctBindingRequest) FromJsonString

func (r *QueryAcctBindingRequest) FromJsonString(s string) error

func (*QueryAcctBindingRequest) ToJsonString

func (r *QueryAcctBindingRequest) ToJsonString() string

type QueryAcctBindingResponse

type QueryAcctBindingResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 总行数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 银行卡信息列表
		BankCardItems []*BankCardItem `json:"BankCardItems,omitempty" name:"BankCardItems" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryAcctBindingResponse

func NewQueryAcctBindingResponse() (response *QueryAcctBindingResponse)

func (*QueryAcctBindingResponse) FromJsonString

func (r *QueryAcctBindingResponse) FromJsonString(s string) error

func (*QueryAcctBindingResponse) ToJsonString

func (r *QueryAcctBindingResponse) ToJsonString() string

type QueryAcctInfoListRequest

type QueryAcctInfoListRequest struct {
	*tchttp.BaseRequest

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 查询开始时间(以开户时间为准)
	QueryAcctBeginTime *string `json:"QueryAcctBeginTime,omitempty" name:"QueryAcctBeginTime"`

	// 查询结束时间(以开户时间为准)
	QueryAcctEndTime *string `json:"QueryAcctEndTime,omitempty" name:"QueryAcctEndTime"`

	// 分页号,  起始值为1,每次最多返回20条记录,第二页返回的记录数为第21至40条记录,第三页为41至60条记录,顺序均按照开户时间的先后
	PageOffset *string `json:"PageOffset,omitempty" name:"PageOffset"`

	// 由平台客服提供的计费密钥Id
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 计费签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 敏感信息加密类型:
	// RSA: rsa非对称加密,使用RSA-PKCS1-v1_5
	// AES: aes对称加密,使用AES256-CBC-PCKS7padding
	// 缺省: RSA
	EncryptType *string `json:"EncryptType,omitempty" name:"EncryptType"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewQueryAcctInfoListRequest

func NewQueryAcctInfoListRequest() (request *QueryAcctInfoListRequest)

func (*QueryAcctInfoListRequest) FromJsonString

func (r *QueryAcctInfoListRequest) FromJsonString(s string) error

func (*QueryAcctInfoListRequest) ToJsonString

func (r *QueryAcctInfoListRequest) ToJsonString() string

type QueryAcctInfoListResponse

type QueryAcctInfoListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 本次交易返回查询结果记录数
		ResultCount *int64 `json:"ResultCount,omitempty" name:"ResultCount"`

		// 符合业务查询条件的记录总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 查询结果项 [object,object]
		QueryAcctItems []*QueryAcctItem `json:"QueryAcctItems,omitempty" name:"QueryAcctItems" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryAcctInfoListResponse

func NewQueryAcctInfoListResponse() (response *QueryAcctInfoListResponse)

func (*QueryAcctInfoListResponse) FromJsonString

func (r *QueryAcctInfoListResponse) FromJsonString(s string) error

func (*QueryAcctInfoListResponse) ToJsonString

func (r *QueryAcctInfoListResponse) ToJsonString() string

type QueryAcctInfoRequest

type QueryAcctInfoRequest struct {
	*tchttp.BaseRequest

	// 聚鑫平台分配的支付MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 业务平台的子商户Id,唯一
	SubMchId *string `json:"SubMchId,omitempty" name:"SubMchId"`

	// 由平台客服提供的计费密钥Id
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 计费签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 敏感信息加密类型:
	// RSA: rsa非对称加密,使用RSA-PKCS1-v1_5
	// AES: aes对称加密,使用AES256-CBC-PCKS7padding
	// 缺省: RSA
	EncryptType *string `json:"EncryptType,omitempty" name:"EncryptType"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewQueryAcctInfoRequest

func NewQueryAcctInfoRequest() (request *QueryAcctInfoRequest)

func (*QueryAcctInfoRequest) FromJsonString

func (r *QueryAcctInfoRequest) FromJsonString(s string) error

func (*QueryAcctInfoRequest) ToJsonString

func (r *QueryAcctInfoRequest) ToJsonString() string

type QueryAcctInfoResponse

type QueryAcctInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 聚鑫计费SubAppId,代表子商户
		SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

		// 子商户名称
		SubMchName *string `json:"SubMchName,omitempty" name:"SubMchName"`

		// 子商户类型:
		// 个人: personal
		// 企业:enterprise
		// 缺省: enterprise�
		SubMchType *string `json:"SubMchType,omitempty" name:"SubMchType"`

		// 不填则默认子商户名称
		ShortName *string `json:"ShortName,omitempty" name:"ShortName"`

		// 子商户地址
		Address *string `json:"Address,omitempty" name:"Address"`

		// 子商户联系人子商户联系人
		// <敏感信息>
		Contact *string `json:"Contact,omitempty" name:"Contact"`

		// 联系人手机号
		// <敏感信息>
		Mobile *string `json:"Mobile,omitempty" name:"Mobile"`

		// 邮箱
		// <敏感信息>
		Email *string `json:"Email,omitempty" name:"Email"`

		// 子商户id
		SubMchId *string `json:"SubMchId,omitempty" name:"SubMchId"`

		// 子账户
		SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

		// 子商户会员类型:
		// general:普通子账户
		// merchant:商户子账户
		// 缺省: general
		// 注意:此字段可能返回 null,表示取不到有效值。
		SubMerchantMemberType *string `json:"SubMerchantMemberType,omitempty" name:"SubMerchantMemberType"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryAcctInfoResponse

func NewQueryAcctInfoResponse() (response *QueryAcctInfoResponse)

func (*QueryAcctInfoResponse) FromJsonString

func (r *QueryAcctInfoResponse) FromJsonString(s string) error

func (*QueryAcctInfoResponse) ToJsonString

func (r *QueryAcctInfoResponse) ToJsonString() string

type QueryAcctItem

type QueryAcctItem struct {

	// 子商户类型:
	// 个人: personal
	// 企业:enterprise
	// 缺省: enterprise
	SubMchType *string `json:"SubMchType,omitempty" name:"SubMchType"`

	// 子商户名称
	SubMchName *string `json:"SubMchName,omitempty" name:"SubMchName"`

	// 子账号号
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// 不填则默认子商户名称
	ShortName *string `json:"ShortName,omitempty" name:"ShortName"`

	// 业务平台的子商户Id,唯一
	SubMchId *string `json:"SubMchId,omitempty" name:"SubMchId"`

	// 聚鑫计费SubAppId,代表子商户
	SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

	// 子商户联系人
	// <敏感信息>
	Contact *string `json:"Contact,omitempty" name:"Contact"`

	// 子商户地址
	Address *string `json:"Address,omitempty" name:"Address"`

	// 联系人手机号
	// <敏感信息>
	Mobile *string `json:"Mobile,omitempty" name:"Mobile"`

	// 邮箱
	// <敏感信息>
	Email *string `json:"Email,omitempty" name:"Email"`

	// 子商户会员类型:
	// general:普通子账户
	// merchant:商户子账户
	// 缺省: general
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubMerchantMemberType *string `json:"SubMerchantMemberType,omitempty" name:"SubMerchantMemberType"`
}

type QueryAgentStatementsRequest

type QueryAgentStatementsRequest struct {
	*tchttp.BaseRequest

	// 结算单日期,月结算单填每月1日
	Date *string `json:"Date,omitempty" name:"Date"`

	// 日结算单:daily
	// 月结算单:monthly
	Type *string `json:"Type,omitempty" name:"Type"`
}

func NewQueryAgentStatementsRequest

func NewQueryAgentStatementsRequest() (request *QueryAgentStatementsRequest)

func (*QueryAgentStatementsRequest) FromJsonString

func (r *QueryAgentStatementsRequest) FromJsonString(s string) error

func (*QueryAgentStatementsRequest) ToJsonString

func (r *QueryAgentStatementsRequest) ToJsonString() string

type QueryAgentStatementsResponse

type QueryAgentStatementsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 文件下载链接
		// 注意:此字段可能返回 null,表示取不到有效值。
		FileUrl *string `json:"FileUrl,omitempty" name:"FileUrl"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryAgentStatementsResponse

func NewQueryAgentStatementsResponse() (response *QueryAgentStatementsResponse)

func (*QueryAgentStatementsResponse) FromJsonString

func (r *QueryAgentStatementsResponse) FromJsonString(s string) error

func (*QueryAgentStatementsResponse) ToJsonString

func (r *QueryAgentStatementsResponse) ToJsonString() string

type QueryAgentTaxPaymentBatchRequest

type QueryAgentTaxPaymentBatchRequest struct {
	*tchttp.BaseRequest

	// 批次号
	BatchNum *int64 `json:"BatchNum,omitempty" name:"BatchNum"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryAgentTaxPaymentBatchRequest

func NewQueryAgentTaxPaymentBatchRequest() (request *QueryAgentTaxPaymentBatchRequest)

func (*QueryAgentTaxPaymentBatchRequest) FromJsonString

func (r *QueryAgentTaxPaymentBatchRequest) FromJsonString(s string) error

func (*QueryAgentTaxPaymentBatchRequest) ToJsonString

func (r *QueryAgentTaxPaymentBatchRequest) ToJsonString() string

type QueryAgentTaxPaymentBatchResponse

type QueryAgentTaxPaymentBatchResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 代理商完税证明批次信息
		AgentTaxPaymentBatch *AgentTaxPaymentBatch `json:"AgentTaxPaymentBatch,omitempty" name:"AgentTaxPaymentBatch"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryAgentTaxPaymentBatchResponse

func NewQueryAgentTaxPaymentBatchResponse() (response *QueryAgentTaxPaymentBatchResponse)

func (*QueryAgentTaxPaymentBatchResponse) FromJsonString

func (r *QueryAgentTaxPaymentBatchResponse) FromJsonString(s string) error

func (*QueryAgentTaxPaymentBatchResponse) ToJsonString

func (r *QueryAgentTaxPaymentBatchResponse) ToJsonString() string

type QueryAnchorContractInfoRequest

type QueryAnchorContractInfoRequest struct {
	*tchttp.BaseRequest

	// 起始时间,格式为yyyy-MM-dd
	BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"`

	// 起始时间,格式为yyyy-MM-dd
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

func NewQueryAnchorContractInfoRequest

func NewQueryAnchorContractInfoRequest() (request *QueryAnchorContractInfoRequest)

func (*QueryAnchorContractInfoRequest) FromJsonString

func (r *QueryAnchorContractInfoRequest) FromJsonString(s string) error

func (*QueryAnchorContractInfoRequest) ToJsonString

func (r *QueryAnchorContractInfoRequest) ToJsonString() string

type QueryAnchorContractInfoResponse

type QueryAnchorContractInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 签约主播数据
		AnchorContractInfoList []*AnchorContractInfo `json:"AnchorContractInfoList,omitempty" name:"AnchorContractInfoList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryAnchorContractInfoResponse

func NewQueryAnchorContractInfoResponse() (response *QueryAnchorContractInfoResponse)

func (*QueryAnchorContractInfoResponse) FromJsonString

func (r *QueryAnchorContractInfoResponse) FromJsonString(s string) error

func (*QueryAnchorContractInfoResponse) ToJsonString

func (r *QueryAnchorContractInfoResponse) ToJsonString() string

type QueryApplicationMaterialRequest

type QueryApplicationMaterialRequest struct {
	*tchttp.BaseRequest

	// 申报流水号
	DeclareId *string `json:"DeclareId,omitempty" name:"DeclareId"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryApplicationMaterialRequest

func NewQueryApplicationMaterialRequest() (request *QueryApplicationMaterialRequest)

func (*QueryApplicationMaterialRequest) FromJsonString

func (r *QueryApplicationMaterialRequest) FromJsonString(s string) error

func (*QueryApplicationMaterialRequest) ToJsonString

func (r *QueryApplicationMaterialRequest) ToJsonString() string

type QueryApplicationMaterialResponse

type QueryApplicationMaterialResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 成功申报材料查询结果
		Result *QueryDeclareResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryApplicationMaterialResponse

func NewQueryApplicationMaterialResponse() (response *QueryApplicationMaterialResponse)

func (*QueryApplicationMaterialResponse) FromJsonString

func (r *QueryApplicationMaterialResponse) FromJsonString(s string) error

func (*QueryApplicationMaterialResponse) ToJsonString

func (r *QueryApplicationMaterialResponse) ToJsonString() string

type QueryBalanceRequest

type QueryBalanceRequest struct {
	*tchttp.BaseRequest

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 聚鑫计费SubAppId,代表子商户
	SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

	// 2:普通会员子账号
	// 3:功能子账号
	QueryFlag *string `json:"QueryFlag,omitempty" name:"QueryFlag"`

	// 起始值为1,每次最多返回20条记录,第二页返回的记录数为第21至40条记录,第三页为41至60条记录,顺序均按照建立时间的先后
	PageOffset *string `json:"PageOffset,omitempty" name:"PageOffset"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 按照聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewQueryBalanceRequest

func NewQueryBalanceRequest() (request *QueryBalanceRequest)

func (*QueryBalanceRequest) FromJsonString

func (r *QueryBalanceRequest) FromJsonString(s string) error

func (*QueryBalanceRequest) ToJsonString

func (r *QueryBalanceRequest) ToJsonString() string

type QueryBalanceResponse

type QueryBalanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 本次交易返回查询结果记录数
		ResultCount *string `json:"ResultCount,omitempty" name:"ResultCount"`

		// 起始记录号
		StartRecordOffset *string `json:"StartRecordOffset,omitempty" name:"StartRecordOffset"`

		// 结束标志
		EndFlag *string `json:"EndFlag,omitempty" name:"EndFlag"`

		// 符合业务查询条件的记录总数
		TotalCount *string `json:"TotalCount,omitempty" name:"TotalCount"`

		// 查询结果项
		QueryItems []*QueryItem `json:"QueryItems,omitempty" name:"QueryItems" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryBalanceResponse

func NewQueryBalanceResponse() (response *QueryBalanceResponse)

func (*QueryBalanceResponse) FromJsonString

func (r *QueryBalanceResponse) FromJsonString(s string) error

func (*QueryBalanceResponse) ToJsonString

func (r *QueryBalanceResponse) ToJsonString() string

type QueryBankClearRequest

type QueryBankClearRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(2),功能标志(1: 全部; 2: 指定时间段)
	FunctionFlag *string `json:"FunctionFlag,omitempty" name:"FunctionFlag"`

	// STRING (10),页码(起始值为1,每次最多返回20条记录,第二页返回的记录数为第21至40条记录,第三页为41至60条记录,顺序均按照建立时间的先后)
	PageNum *string `json:"PageNum,omitempty" name:"PageNum"`

	// STRING(8),开始日期(若是指定时间段查询,则必输,当查询全部时,不起作用。格式: 20190101)
	StartDate *string `json:"StartDate,omitempty" name:"StartDate"`

	// STRING(8),终止日期(若是指定时间段查询,则必输,当查询全部时,不起作用。格式:20190101)
	EndDate *string `json:"EndDate,omitempty" name:"EndDate"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryBankClearRequest

func NewQueryBankClearRequest() (request *QueryBankClearRequest)

func (*QueryBankClearRequest) FromJsonString

func (r *QueryBankClearRequest) FromJsonString(s string) error

func (*QueryBankClearRequest) ToJsonString

func (r *QueryBankClearRequest) ToJsonString() string

type QueryBankClearResponse

type QueryBankClearResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING (10),本次交易返回查询结果记录数
		// 注意:此字段可能返回 null,表示取不到有效值。
		ResultNum *string `json:"ResultNum,omitempty" name:"ResultNum"`

		// STRING(30),起始记录号
		// 注意:此字段可能返回 null,表示取不到有效值。
		StartRecordNo *string `json:"StartRecordNo,omitempty" name:"StartRecordNo"`

		// STRING(2),结束标志(0: 否; 1: 是)
		// 注意:此字段可能返回 null,表示取不到有效值。
		EndFlag *string `json:"EndFlag,omitempty" name:"EndFlag"`

		// STRING (10),符合业务查询条件的记录总数(重复次数, 一次最多返回20条记录)
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalNum *string `json:"TotalNum,omitempty" name:"TotalNum"`

		// 交易信息数组
		// 注意:此字段可能返回 null,表示取不到有效值。
		TranItemArray []*ClearItem `json:"TranItemArray,omitempty" name:"TranItemArray" list`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryBankClearResponse

func NewQueryBankClearResponse() (response *QueryBankClearResponse)

func (*QueryBankClearResponse) FromJsonString

func (r *QueryBankClearResponse) FromJsonString(s string) error

func (*QueryBankClearResponse) ToJsonString

func (r *QueryBankClearResponse) ToJsonString() string

type QueryBankTransactionDetailsRequest

type QueryBankTransactionDetailsRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(2),功能标志(1: 当日; 2: 历史)
	FunctionFlag *string `json:"FunctionFlag,omitempty" name:"FunctionFlag"`

	// STRING(50),见证子帐户的帐号
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// STRING(4),查询标志(1: 全部; 2: 转出; 3: 转入 )
	QueryFlag *string `json:"QueryFlag,omitempty" name:"QueryFlag"`

	// STRING(10),页码(起始值为1,每次最多返回20条记录,第二页返回的记录数为第21至40条记录,第三页为41至60条记录,顺序均按照建立时间的先后)
	PageNum *string `json:"PageNum,omitempty" name:"PageNum"`

	// STRING(8),开始日期(若是历史查询,则必输,当日查询时,不起作用。格式:20190101)
	StartDate *string `json:"StartDate,omitempty" name:"StartDate"`

	// STRING(8),终止日期(若是历史查询,则必输,当日查询时,不起作用。格式:20190101)
	EndDate *string `json:"EndDate,omitempty" name:"EndDate"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryBankTransactionDetailsRequest

func NewQueryBankTransactionDetailsRequest() (request *QueryBankTransactionDetailsRequest)

func (*QueryBankTransactionDetailsRequest) FromJsonString

func (r *QueryBankTransactionDetailsRequest) FromJsonString(s string) error

func (*QueryBankTransactionDetailsRequest) ToJsonString

func (r *QueryBankTransactionDetailsRequest) ToJsonString() string

type QueryBankTransactionDetailsResponse

type QueryBankTransactionDetailsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(10),本次交易返回查询结果记录数
		// 注意:此字段可能返回 null,表示取不到有效值。
		ResultNum *string `json:"ResultNum,omitempty" name:"ResultNum"`

		// STRING(30),起始记录号
		// 注意:此字段可能返回 null,表示取不到有效值。
		StartRecordNo *string `json:"StartRecordNo,omitempty" name:"StartRecordNo"`

		// STRING(2),结束标志(0: 否; 1: 是)
		// 注意:此字段可能返回 null,表示取不到有效值。
		EndFlag *string `json:"EndFlag,omitempty" name:"EndFlag"`

		// STRING(10),符合业务查询条件的记录总数(重复次数,一次最多返回20条记录)
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalNum *string `json:"TotalNum,omitempty" name:"TotalNum"`

		// 交易信息数组
		// 注意:此字段可能返回 null,表示取不到有效值。
		TranItemArray []*TransactionItem `json:"TranItemArray,omitempty" name:"TranItemArray" list`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryBankTransactionDetailsResponse

func NewQueryBankTransactionDetailsResponse() (response *QueryBankTransactionDetailsResponse)

func (*QueryBankTransactionDetailsResponse) FromJsonString

func (r *QueryBankTransactionDetailsResponse) FromJsonString(s string) error

func (*QueryBankTransactionDetailsResponse) ToJsonString

func (r *QueryBankTransactionDetailsResponse) ToJsonString() string

type QueryBankWithdrawCashDetailsRequest

type QueryBankWithdrawCashDetailsRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(2),功能标志(1: 当日; 2: 历史)
	FunctionFlag *string `json:"FunctionFlag,omitempty" name:"FunctionFlag"`

	// STRING(50),见证子帐户的帐号
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// STRING(4),查询标志(2: 提现; 3: 清分)
	QueryFlag *string `json:"QueryFlag,omitempty" name:"QueryFlag"`

	// STRING(10),页码(起始值为1,每次最多返回20条记录,第二页返回的记录数为第21至40条记录,第三页为41至60条记录,顺序均按照建立时间的先后)
	PageNum *string `json:"PageNum,omitempty" name:"PageNum"`

	// STRING(8),开始日期(若是历史查询,则必输,当日查询时,不起作用。格式:20190101)
	BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`

	// STRING(8),结束日期(若是历史查询,则必输,当日查询时,不起作用。格式:20190101)
	EndDate *string `json:"EndDate,omitempty" name:"EndDate"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryBankWithdrawCashDetailsRequest

func NewQueryBankWithdrawCashDetailsRequest() (request *QueryBankWithdrawCashDetailsRequest)

func (*QueryBankWithdrawCashDetailsRequest) FromJsonString

func (r *QueryBankWithdrawCashDetailsRequest) FromJsonString(s string) error

func (*QueryBankWithdrawCashDetailsRequest) ToJsonString

func (r *QueryBankWithdrawCashDetailsRequest) ToJsonString() string

type QueryBankWithdrawCashDetailsResponse

type QueryBankWithdrawCashDetailsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(10),本次交易返回查询结果记录数
		// 注意:此字段可能返回 null,表示取不到有效值。
		ResultNum *string `json:"ResultNum,omitempty" name:"ResultNum"`

		// STRING(30),起始记录号
		// 注意:此字段可能返回 null,表示取不到有效值。
		StartRecordNo *string `json:"StartRecordNo,omitempty" name:"StartRecordNo"`

		// STRING(2),结束标志(0:否; 1:是)
		// 注意:此字段可能返回 null,表示取不到有效值。
		EndFlag *string `json:"EndFlag,omitempty" name:"EndFlag"`

		// STRING(10),符合业务查询条件的记录总数(重复次数,一次最多返回20条记录)
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalNum *string `json:"TotalNum,omitempty" name:"TotalNum"`

		// 交易信息数组
		// 注意:此字段可能返回 null,表示取不到有效值。
		TranItemArray []*WithdrawItem `json:"TranItemArray,omitempty" name:"TranItemArray" list`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryBankWithdrawCashDetailsResponse

func NewQueryBankWithdrawCashDetailsResponse() (response *QueryBankWithdrawCashDetailsResponse)

func (*QueryBankWithdrawCashDetailsResponse) FromJsonString

func (r *QueryBankWithdrawCashDetailsResponse) FromJsonString(s string) error

func (*QueryBankWithdrawCashDetailsResponse) ToJsonString

func (r *QueryBankWithdrawCashDetailsResponse) ToJsonString() string

type QueryCommonTransferRechargeRequest

type QueryCommonTransferRechargeRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(2),功能标志(1为查询当日数据,0查询历史数据)
	FunctionFlag *string `json:"FunctionFlag,omitempty" name:"FunctionFlag"`

	// STRING(8),开始日期(格式:20190101)
	StartDate *string `json:"StartDate,omitempty" name:"StartDate"`

	// STRING(8),终止日期(格式:20190101)
	EndDate *string `json:"EndDate,omitempty" name:"EndDate"`

	// STRING(10),页码(起始值为1,每次最多返回20条记录,第二页返回的记录数为第21至40条记录,第三页为41至60条记录,顺序均按照建立时间的先后)
	PageNum *string `json:"PageNum,omitempty" name:"PageNum"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryCommonTransferRechargeRequest

func NewQueryCommonTransferRechargeRequest() (request *QueryCommonTransferRechargeRequest)

func (*QueryCommonTransferRechargeRequest) FromJsonString

func (r *QueryCommonTransferRechargeRequest) FromJsonString(s string) error

func (*QueryCommonTransferRechargeRequest) ToJsonString

func (r *QueryCommonTransferRechargeRequest) ToJsonString() string

type QueryCommonTransferRechargeResponse

type QueryCommonTransferRechargeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(10),本次交易返回查询结果记录数
		// 注意:此字段可能返回 null,表示取不到有效值。
		ResultNum *string `json:"ResultNum,omitempty" name:"ResultNum"`

		// STRING(30),起始记录号
		// 注意:此字段可能返回 null,表示取不到有效值。
		StartRecordNo *string `json:"StartRecordNo,omitempty" name:"StartRecordNo"`

		// STRING(2),结束标志(0: 否; 1: 是)
		// 注意:此字段可能返回 null,表示取不到有效值。
		EndFlag *string `json:"EndFlag,omitempty" name:"EndFlag"`

		// STRING(10),符合业务查询条件的记录总数(重复次数,一次最多返回20条记录)
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalNum *string `json:"TotalNum,omitempty" name:"TotalNum"`

		// 交易信息数组
		// 注意:此字段可能返回 null,表示取不到有效值。
		TranItemArray []*TransferItem `json:"TranItemArray,omitempty" name:"TranItemArray" list`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryCommonTransferRechargeResponse

func NewQueryCommonTransferRechargeResponse() (response *QueryCommonTransferRechargeResponse)

func (*QueryCommonTransferRechargeResponse) FromJsonString

func (r *QueryCommonTransferRechargeResponse) FromJsonString(s string) error

func (*QueryCommonTransferRechargeResponse) ToJsonString

func (r *QueryCommonTransferRechargeResponse) ToJsonString() string

type QueryCustAcctIdBalanceRequest

type QueryCustAcctIdBalanceRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(4),查询标志(2: 普通会员子账号; 3: 功能子账号)
	QueryFlag *string `json:"QueryFlag,omitempty" name:"QueryFlag"`

	// STRING(10),页码(起始值为1,每次最多返回20条记录,第二页返回的记录数为第21至40条记录,第三页为41至60条记录,顺序均按照建立时间的先后)
	PageNum *string `json:"PageNum,omitempty" name:"PageNum"`

	// STRING(50),见证子账户的账号(若SelectFlag为2时,子账号必输)
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryCustAcctIdBalanceRequest

func NewQueryCustAcctIdBalanceRequest() (request *QueryCustAcctIdBalanceRequest)

func (*QueryCustAcctIdBalanceRequest) FromJsonString

func (r *QueryCustAcctIdBalanceRequest) FromJsonString(s string) error

func (*QueryCustAcctIdBalanceRequest) ToJsonString

func (r *QueryCustAcctIdBalanceRequest) ToJsonString() string

type QueryCustAcctIdBalanceResponse

type QueryCustAcctIdBalanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(10),本次交易返回查询结果记录数
		// 注意:此字段可能返回 null,表示取不到有效值。
		ResultNum *string `json:"ResultNum,omitempty" name:"ResultNum"`

		// STRING(30),起始记录号
		// 注意:此字段可能返回 null,表示取不到有效值。
		StartRecordNo *string `json:"StartRecordNo,omitempty" name:"StartRecordNo"`

		// STRING(2),结束标志(0: 否; 1: 是)
		// 注意:此字段可能返回 null,表示取不到有效值。
		EndFlag *string `json:"EndFlag,omitempty" name:"EndFlag"`

		// STRING(10),符合业务查询条件的记录总数(重复次数,一次最多返回20条记录)
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalNum *string `json:"TotalNum,omitempty" name:"TotalNum"`

		// 账户信息数组
		// 注意:此字段可能返回 null,表示取不到有效值。
		AcctArray []*Acct `json:"AcctArray,omitempty" name:"AcctArray" list`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryCustAcctIdBalanceResponse

func NewQueryCustAcctIdBalanceResponse() (response *QueryCustAcctIdBalanceResponse)

func (*QueryCustAcctIdBalanceResponse) FromJsonString

func (r *QueryCustAcctIdBalanceResponse) FromJsonString(s string) error

func (*QueryCustAcctIdBalanceResponse) ToJsonString

func (r *QueryCustAcctIdBalanceResponse) ToJsonString() string

type QueryDeclareData

type QueryDeclareData struct {

	// 商户号
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 对接方汇出指令编号
	TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

	// 申报流水号
	DeclareId *string `json:"DeclareId,omitempty" name:"DeclareId"`

	// 原申报流水号
	// 注意:此字段可能返回 null,表示取不到有效值。
	OriginalDeclareId *string `json:"OriginalDeclareId,omitempty" name:"OriginalDeclareId"`

	// 付款人ID
	PayerId *string `json:"PayerId,omitempty" name:"PayerId"`

	// 源币种
	SourceCurrency *string `json:"SourceCurrency,omitempty" name:"SourceCurrency"`

	// 源金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	SourceAmount *string `json:"SourceAmount,omitempty" name:"SourceAmount"`

	// 目的币种
	TargetCurrency *string `json:"TargetCurrency,omitempty" name:"TargetCurrency"`

	// 目的金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	TargetAmount *string `json:"TargetAmount,omitempty" name:"TargetAmount"`

	// 交易编码
	TradeCode *string `json:"TradeCode,omitempty" name:"TradeCode"`

	// 状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitempty" name:"Status"`
}

type QueryDeclareResult

type QueryDeclareResult struct {

	// 成功申报材料查询数据
	Data *QueryDeclareData `json:"Data,omitempty" name:"Data"`

	// 错误码
	Code *string `json:"Code,omitempty" name:"Code"`
}

type QueryExchangeRateRequest

type QueryExchangeRateRequest struct {
	*tchttp.BaseRequest

	// 源币种 (默认CNY)
	SourceCurrency *string `json:"SourceCurrency,omitempty" name:"SourceCurrency"`

	// 目的币种 (见常见问题-汇出币种)
	TargetCurrency *string `json:"TargetCurrency,omitempty" name:"TargetCurrency"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryExchangeRateRequest

func NewQueryExchangeRateRequest() (request *QueryExchangeRateRequest)

func (*QueryExchangeRateRequest) FromJsonString

func (r *QueryExchangeRateRequest) FromJsonString(s string) error

func (*QueryExchangeRateRequest) ToJsonString

func (r *QueryExchangeRateRequest) ToJsonString() string

type QueryExchangeRateResponse

type QueryExchangeRateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 查询汇率结果
		Result *QueryExchangerateResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryExchangeRateResponse

func NewQueryExchangeRateResponse() (response *QueryExchangeRateResponse)

func (*QueryExchangeRateResponse) FromJsonString

func (r *QueryExchangeRateResponse) FromJsonString(s string) error

func (*QueryExchangeRateResponse) ToJsonString

func (r *QueryExchangeRateResponse) ToJsonString() string

type QueryExchangerateData

type QueryExchangerateData struct {

	// 汇率
	Rate *string `json:"Rate,omitempty" name:"Rate"`

	// 源币种
	SourceCurrency *string `json:"SourceCurrency,omitempty" name:"SourceCurrency"`

	// 目的币种
	TargetCurrency *string `json:"TargetCurrency,omitempty" name:"TargetCurrency"`

	// 汇率时间
	RateTime *string `json:"RateTime,omitempty" name:"RateTime"`

	// 基准币种
	BaseCurrency *string `json:"BaseCurrency,omitempty" name:"BaseCurrency"`
}

type QueryExchangerateResult

type QueryExchangerateResult struct {

	// 错误码
	Code *string `json:"Code,omitempty" name:"Code"`

	// 查询汇率数据数组
	Data []*QueryExchangerateData `json:"Data,omitempty" name:"Data" list`
}

type QueryInvoiceRequest

type QueryInvoiceRequest struct {
	*tchttp.BaseRequest

	// 开票平台ID
	InvoicePlatformId *int64 `json:"InvoicePlatformId,omitempty" name:"InvoicePlatformId"`

	// 订单号
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 业务开票号
	OrderSn *string `json:"OrderSn,omitempty" name:"OrderSn"`

	// 发票种类:
	// 0:蓝票
	// 1:红票【该字段默认为0, 如果需要查询红票信息,本字段必须传1,否则可能查询不到需要的发票信息】。
	IsRed *int64 `json:"IsRed,omitempty" name:"IsRed"`

	// 接入环境。沙箱环境填sandbox。
	Profile *string `json:"Profile,omitempty" name:"Profile"`

	// 开票渠道。0:线上渠道,1:线下渠道。不填默认为线上渠道
	InvoiceChannel *int64 `json:"InvoiceChannel,omitempty" name:"InvoiceChannel"`

	// 当渠道为线下渠道时,必填
	SellerTaxpayerNum *string `json:"SellerTaxpayerNum,omitempty" name:"SellerTaxpayerNum"`
}

func NewQueryInvoiceRequest

func NewQueryInvoiceRequest() (request *QueryInvoiceRequest)

func (*QueryInvoiceRequest) FromJsonString

func (r *QueryInvoiceRequest) FromJsonString(s string) error

func (*QueryInvoiceRequest) ToJsonString

func (r *QueryInvoiceRequest) ToJsonString() string

type QueryInvoiceResponse

type QueryInvoiceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 发票查询结果
		Result *QueryInvoiceResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryInvoiceResponse

func NewQueryInvoiceResponse() (response *QueryInvoiceResponse)

func (*QueryInvoiceResponse) FromJsonString

func (r *QueryInvoiceResponse) FromJsonString(s string) error

func (*QueryInvoiceResponse) ToJsonString

func (r *QueryInvoiceResponse) ToJsonString() string

type QueryInvoiceResult

type QueryInvoiceResult struct {

	// 错误消息
	Message *string `json:"Message,omitempty" name:"Message"`

	// 错误码
	Code *int64 `json:"Code,omitempty" name:"Code"`

	// 查询发票数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *QueryInvoiceResultData `json:"Data,omitempty" name:"Data"`

	// 订单数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Order *Order `json:"Order,omitempty" name:"Order"`
}

type QueryInvoiceResultData

type QueryInvoiceResultData struct {

	// 订单号
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 业务开票号
	OrderSn *string `json:"OrderSn,omitempty" name:"OrderSn"`

	// 发票状态
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 开票描述
	Message *string `json:"Message,omitempty" name:"Message"`

	// 开票日期
	TicketDate *string `json:"TicketDate,omitempty" name:"TicketDate"`

	// 发票号码
	TicketSn *string `json:"TicketSn,omitempty" name:"TicketSn"`

	// 发票代码
	TicketCode *string `json:"TicketCode,omitempty" name:"TicketCode"`

	// 检验码
	CheckCode *string `json:"CheckCode,omitempty" name:"CheckCode"`

	// 含税金额(元)
	AmountWithTax *string `json:"AmountWithTax,omitempty" name:"AmountWithTax"`

	// 不含税金额(元)
	AmountWithoutTax *string `json:"AmountWithoutTax,omitempty" name:"AmountWithoutTax"`

	// 税额(元)
	TaxAmount *string `json:"TaxAmount,omitempty" name:"TaxAmount"`

	// 是否被红冲
	IsRedWashed *int64 `json:"IsRedWashed,omitempty" name:"IsRedWashed"`

	// pdf地址
	PdfUrl *string `json:"PdfUrl,omitempty" name:"PdfUrl"`
}

type QueryItem

type QueryItem struct {

	// 子商户账户
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// 子账户属性
	// 1:普通会员子账号
	// 2:挂账子账号
	// 3:手续费子账号
	// 4:利息子账号
	// 5:平台担保子账号
	SubAcctProperty *string `json:"SubAcctProperty,omitempty" name:"SubAcctProperty"`

	// 业务平台的子商户Id,唯一
	SubMchId *string `json:"SubMchId,omitempty" name:"SubMchId"`

	// 子账户名称
	SubAcctName *string `json:"SubAcctName,omitempty" name:"SubAcctName"`

	// 账户可用余额
	AcctAvailBal *string `json:"AcctAvailBal,omitempty" name:"AcctAvailBal"`

	// 可提现金额
	CashAmt *string `json:"CashAmt,omitempty" name:"CashAmt"`

	// 维护日期 开户日期或修改日期
	MaintenanceDate *string `json:"MaintenanceDate,omitempty" name:"MaintenanceDate"`
}

type QueryMemberBindRequest

type QueryMemberBindRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(4),查询标志(1: 全部会员; 2: 单个会员; 3: 单个会员的证件信息)
	QueryFlag *string `json:"QueryFlag,omitempty" name:"QueryFlag"`

	// STRING (10),页码(起始值为1,每次最多返回20条记录,第二页返回的记录数为第21至40条记录,第三页为41至60条记录,顺序均按照建立时间的先后)
	PageNum *string `json:"PageNum,omitempty" name:"PageNum"`

	// STRING(50),见证子账户的账号(若SelectFlag为2或3时,子账户账号必输)
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryMemberBindRequest

func NewQueryMemberBindRequest() (request *QueryMemberBindRequest)

func (*QueryMemberBindRequest) FromJsonString

func (r *QueryMemberBindRequest) FromJsonString(s string) error

func (*QueryMemberBindRequest) ToJsonString

func (r *QueryMemberBindRequest) ToJsonString() string

type QueryMemberBindResponse

type QueryMemberBindResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// STRING (10),本次交易返回查询结果记录数
		// 注意:此字段可能返回 null,表示取不到有效值。
		ResultNum *string `json:"ResultNum,omitempty" name:"ResultNum"`

		// STRING(30),起始记录号
		// 注意:此字段可能返回 null,表示取不到有效值。
		StartRecordNo *string `json:"StartRecordNo,omitempty" name:"StartRecordNo"`

		// STRING(2),结束标志(0: 否; 1: 是)
		// 注意:此字段可能返回 null,表示取不到有效值。
		EndFlag *string `json:"EndFlag,omitempty" name:"EndFlag"`

		// STRING (10),符合业务查询条件的记录总数(重复次数,一次最多返回20条记录)
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalNum *string `json:"TotalNum,omitempty" name:"TotalNum"`

		// 交易信息数组
		// 注意:此字段可能返回 null,表示取不到有效值。
		TranItemArray []*TranItem `json:"TranItemArray,omitempty" name:"TranItemArray" list`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryMemberBindResponse

func NewQueryMemberBindResponse() (response *QueryMemberBindResponse)

func (*QueryMemberBindResponse) FromJsonString

func (r *QueryMemberBindResponse) FromJsonString(s string) error

func (*QueryMemberBindResponse) ToJsonString

func (r *QueryMemberBindResponse) ToJsonString() string

type QueryMemberTransactionRequest

type QueryMemberTransactionRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(2),功能标志(1: 下单预支付; 2: 确认并付款; 3: 退款; 6: 直接支付T+1; 9: 直接支付T+0)
	FunctionFlag *string `json:"FunctionFlag,omitempty" name:"FunctionFlag"`

	// STRING(50),转出方的见证子账户的账号(付款方)
	OutSubAcctNo *string `json:"OutSubAcctNo,omitempty" name:"OutSubAcctNo"`

	// STRING(32),转出方的交易网会员代码
	OutMemberCode *string `json:"OutMemberCode,omitempty" name:"OutMemberCode"`

	// STRING(150),转出方的见证子账户的户名(户名是绑卡时上送的账户名称,如果未绑卡,就送OpenCustAcctId接口上送的用户昵称UserNickname)
	OutSubAcctName *string `json:"OutSubAcctName,omitempty" name:"OutSubAcctName"`

	// STRING(50),转入方的见证子账户的账号(收款方)
	InSubAcctNo *string `json:"InSubAcctNo,omitempty" name:"InSubAcctNo"`

	// STRING(32),转入方的交易网会员代码
	InMemberCode *string `json:"InMemberCode,omitempty" name:"InMemberCode"`

	// STRING(150),转入方的见证子账户的户名(户名是绑卡时上送的账户名称,如果未绑卡,就送OpenCustAcctId接口上送的用户昵称UserNickname)
	InSubAcctName *string `json:"InSubAcctName,omitempty" name:"InSubAcctName"`

	// STRING(20),交易金额
	TranAmt *string `json:"TranAmt,omitempty" name:"TranAmt"`

	// STRING(20),交易费用(平台收取交易费用)
	TranFee *string `json:"TranFee,omitempty" name:"TranFee"`

	// STRING(20),交易类型(01: 普通交易)
	TranType *string `json:"TranType,omitempty" name:"TranType"`

	// STRING(3),币种(默认: RMB)
	Ccy *string `json:"Ccy,omitempty" name:"Ccy"`

	// STRING(50),订单号(功能标志为1,2,3时必输)
	OrderNo *string `json:"OrderNo,omitempty" name:"OrderNo"`

	// STRING(500),订单内容
	OrderContent *string `json:"OrderContent,omitempty" name:"OrderContent"`

	// STRING(300),备注(建议可送订单号,可在对账文件的备注字段获取到)
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// STRING(1027),保留域(若需短信验证码则此项必输短信指令号)
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(300),网银签名(若需短信验证码则此项必输)
	WebSign *string `json:"WebSign,omitempty" name:"WebSign"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryMemberTransactionRequest

func NewQueryMemberTransactionRequest() (request *QueryMemberTransactionRequest)

func (*QueryMemberTransactionRequest) FromJsonString

func (r *QueryMemberTransactionRequest) FromJsonString(s string) error

func (*QueryMemberTransactionRequest) ToJsonString

func (r *QueryMemberTransactionRequest) ToJsonString() string

type QueryMemberTransactionResponse

type QueryMemberTransactionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(52),见证系统流水号(即电商见证宝系统生成的流水号,可关联具体一笔请求)
		// 注意:此字段可能返回 null,表示取不到有效值。
		FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryMemberTransactionResponse

func NewQueryMemberTransactionResponse() (response *QueryMemberTransactionResponse)

func (*QueryMemberTransactionResponse) FromJsonString

func (r *QueryMemberTransactionResponse) FromJsonString(s string) error

func (*QueryMemberTransactionResponse) ToJsonString

func (r *QueryMemberTransactionResponse) ToJsonString() string

type QueryMerchantBalanceData

type QueryMerchantBalanceData struct {

	// 余额币种
	Currency *string `json:"Currency,omitempty" name:"Currency"`

	// 账户余额
	Balance *string `json:"Balance,omitempty" name:"Balance"`

	// 商户ID
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`
}

type QueryMerchantBalanceRequest

type QueryMerchantBalanceRequest struct {
	*tchttp.BaseRequest

	// 余额币种
	Currency *string `json:"Currency,omitempty" name:"Currency"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryMerchantBalanceRequest

func NewQueryMerchantBalanceRequest() (request *QueryMerchantBalanceRequest)

func (*QueryMerchantBalanceRequest) FromJsonString

func (r *QueryMerchantBalanceRequest) FromJsonString(s string) error

func (*QueryMerchantBalanceRequest) ToJsonString

func (r *QueryMerchantBalanceRequest) ToJsonString() string

type QueryMerchantBalanceResponse

type QueryMerchantBalanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 对接方账户余额查询结果
		Result *QueryMerchantBalanceResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryMerchantBalanceResponse

func NewQueryMerchantBalanceResponse() (response *QueryMerchantBalanceResponse)

func (*QueryMerchantBalanceResponse) FromJsonString

func (r *QueryMerchantBalanceResponse) FromJsonString(s string) error

func (*QueryMerchantBalanceResponse) ToJsonString

func (r *QueryMerchantBalanceResponse) ToJsonString() string

type QueryMerchantBalanceResult

type QueryMerchantBalanceResult struct {

	// 错误码
	Code *string `json:"Code,omitempty" name:"Code"`

	// 对接账户余额查询数据
	Data *QueryMerchantBalanceData `json:"Data,omitempty" name:"Data"`
}

type QueryMerchantInfoForManagementRequest

type QueryMerchantInfoForManagementRequest struct {
	*tchttp.BaseRequest

	// 开票平台ID
	InvoicePlatformId *int64 `json:"InvoicePlatformId,omitempty" name:"InvoicePlatformId"`

	// 页码
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 页大小
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 接入环境。沙箱环境填sandbox。
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryMerchantInfoForManagementRequest

func NewQueryMerchantInfoForManagementRequest() (request *QueryMerchantInfoForManagementRequest)

func (*QueryMerchantInfoForManagementRequest) FromJsonString

func (r *QueryMerchantInfoForManagementRequest) FromJsonString(s string) error

func (*QueryMerchantInfoForManagementRequest) ToJsonString

type QueryMerchantInfoForManagementResponse

type QueryMerchantInfoForManagementResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 商户结果
		// 注意:此字段可能返回 null,表示取不到有效值。
		Result *MerchantManagementResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryMerchantInfoForManagementResponse

func NewQueryMerchantInfoForManagementResponse() (response *QueryMerchantInfoForManagementResponse)

func (*QueryMerchantInfoForManagementResponse) FromJsonString

func (*QueryMerchantInfoForManagementResponse) ToJsonString

type QueryOrderOutOrderList

type QueryOrderOutOrderList struct {

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 支付金额,单位:分
	Amt *int64 `json:"Amt,omitempty" name:"Amt"`

	// 用户Id
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 现金支付金额
	CashAmt *string `json:"CashAmt,omitempty" name:"CashAmt"`

	// 发货标识,由业务在调用聚鑫下单 接口的时候下发
	Metadata *string `json:"Metadata,omitempty" name:"Metadata"`

	// 支付时间unix时间戳
	PayTime *string `json:"PayTime,omitempty" name:"PayTime"`

	// 抵扣券金额
	CouponAmt *string `json:"CouponAmt,omitempty" name:"CouponAmt"`

	// 下单时间unix时间戳
	OrderTime *string `json:"OrderTime,omitempty" name:"OrderTime"`

	// 物品id
	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`

	// 高速场景信息
	SceneInfo *string `json:"SceneInfo,omitempty" name:"SceneInfo"`

	// 当前订单的订单状态
	// 0:初始状态,获取聚鑫交易订单成功;
	// 1:拉起聚鑫支付页面成功,用户未 支付;
	// 2:用户支付成功,正在发货;
	// 3:用户支付成功,发货失败;
	// 4:用户支付成功,发货成功;
	// 5:聚鑫支付页面正在失效中;
	// 6:聚鑫支付页面已经失效;
	OrderState *string `json:"OrderState,omitempty" name:"OrderState"`

	// 支付渠道:wechat:微信支付;
	// qqwallet:QQ钱包;
	// bank:网银
	Channel *string `json:"Channel,omitempty" name:"Channel"`

	// 是否曾退款
	RefundFlag *string `json:"RefundFlag,omitempty" name:"RefundFlag"`

	// 务支付订单号
	OutTradeNo *string `json:"OutTradeNo,omitempty" name:"OutTradeNo"`

	// 商品名称
	ProductName *string `json:"ProductName,omitempty" name:"ProductName"`

	// 支付回调时间,unix时间戳
	CallBackTime *string `json:"CallBackTime,omitempty" name:"CallBackTime"`

	// ISO 货币代码,CNY
	CurrencyType *string `json:"CurrencyType,omitempty" name:"CurrencyType"`

	// 微校场景账户Id
	AcctSubAppId *string `json:"AcctSubAppId,omitempty" name:"AcctSubAppId"`

	// 调用下单接口获取的聚鑫交易订单
	TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

	// 聚鑫内部渠道订单号
	ChannelOrderId *string `json:"ChannelOrderId,omitempty" name:"ChannelOrderId"`

	// 调用下单接口传进来的 SubOutTradeNoList
	SubOrderList []*QueryOrderOutSubOrderList `json:"SubOrderList,omitempty" name:"SubOrderList" list`

	// 支付机构订单号
	ChannelExternalOrderId *string `json:"ChannelExternalOrderId,omitempty" name:"ChannelExternalOrderId"`
}

type QueryOrderOutSubOrderList

type QueryOrderOutSubOrderList struct {

	// 子订单支付金额
	Amt *int64 `json:"Amt,omitempty" name:"Amt"`

	// 子订单结算应收金额,单位:分
	SubMchIncome *int64 `json:"SubMchIncome,omitempty" name:"SubMchIncome"`

	// 发货标识,由业务在调用Midas下单接口的时候下发。
	Metadata *string `json:"Metadata,omitempty" name:"Metadata"`

	// 子订单原始金额
	OriginalAmt *int64 `json:"OriginalAmt,omitempty" name:"OriginalAmt"`

	// 子订单平台应收金额,单位:分
	PlatformIncome *int64 `json:"PlatformIncome,omitempty" name:"PlatformIncome"`

	// 子订单商品详情
	ProductDetail *string `json:"ProductDetail,omitempty" name:"ProductDetail"`

	// 子订单商品名称
	ProductName *string `json:"ProductName,omitempty" name:"ProductName"`

	// 核销状态,1表示核销,0表示未核销
	SettleCheck *int64 `json:"SettleCheck,omitempty" name:"SettleCheck"`

	// 聚鑫计费SubAppId,代表子商户
	SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

	// 子订单号
	SubOutTradeNo *string `json:"SubOutTradeNo,omitempty" name:"SubOutTradeNo"`
}

type QueryOrderRequest

type QueryOrderRequest struct {
	*tchttp.BaseRequest

	// 聚鑫分配的支付主 MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 用户ID,长度不小于5位, 仅支持字母和数字的组合
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// type=by_order根据订单号 查订单;
	// type=by_user根据用户id 查订单 。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 按照聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 每页返回的记录数。根据用户 号码查询订单列表时需要传。 用于分页展示。Type=by_order时必填
	Count *int64 `json:"Count,omitempty" name:"Count"`

	// 记录数偏移量,默认从0开 始。根据用户号码查询订单列 表时需要传。用于分页展示。Type=by_order时必填
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 查询开始时间,Unix时间戳。Type=by_order时必填
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 查询结束时间,Unix时间戳。Type=by_order时必填
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 业务订单号,OutTradeNo与 TransactionId不能同时为 空,都传优先使用 OutTradeNo
	OutTradeNo *string `json:"OutTradeNo,omitempty" name:"OutTradeNo"`

	// 聚鑫订单号,OutTradeNo与 TransactionId不能同时为 空,都传优先使用 OutTradeNo
	TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewQueryOrderRequest

func NewQueryOrderRequest() (request *QueryOrderRequest)

func (*QueryOrderRequest) FromJsonString

func (r *QueryOrderRequest) FromJsonString(s string) error

func (*QueryOrderRequest) ToJsonString

func (r *QueryOrderRequest) ToJsonString() string

type QueryOrderResponse

type QueryOrderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 返回订单数
		TotalNum *int64 `json:"TotalNum,omitempty" name:"TotalNum"`

		// 查询结果的订单列表
		OrderList []*QueryOrderOutOrderList `json:"OrderList,omitempty" name:"OrderList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryOrderResponse

func NewQueryOrderResponse() (response *QueryOrderResponse)

func (*QueryOrderResponse) FromJsonString

func (r *QueryOrderResponse) FromJsonString(s string) error

func (*QueryOrderResponse) ToJsonString

func (r *QueryOrderResponse) ToJsonString() string

type QueryOutwardOrderData

type QueryOutwardOrderData struct {

	// 商户号
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 对接方汇出指令编号
	TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

	// 财务日期
	// 注意:此字段可能返回 null,表示取不到有效值。
	AcctDate *string `json:"AcctDate,omitempty" name:"AcctDate"`

	// 定价币种
	// 注意:此字段可能返回 null,表示取不到有效值。
	PricingCurrency *string `json:"PricingCurrency,omitempty" name:"PricingCurrency"`

	// 源币种
	// 注意:此字段可能返回 null,表示取不到有效值。
	SourceCurrency *string `json:"SourceCurrency,omitempty" name:"SourceCurrency"`

	// 源金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	SourceAmount *string `json:"SourceAmount,omitempty" name:"SourceAmount"`

	// 目的币种
	// 注意:此字段可能返回 null,表示取不到有效值。
	TargetCurrency *string `json:"TargetCurrency,omitempty" name:"TargetCurrency"`

	// 目的金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	TargetAmount *string `json:"TargetAmount,omitempty" name:"TargetAmount"`

	// 汇率
	// 注意:此字段可能返回 null,表示取不到有效值。
	FxRate *string `json:"FxRate,omitempty" name:"FxRate"`

	// 指令状态
	Status *string `json:"Status,omitempty" name:"Status"`

	// 失败原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailReason *string `json:"FailReason,omitempty" name:"FailReason"`

	// 退汇金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	RefundAmount *string `json:"RefundAmount,omitempty" name:"RefundAmount"`

	// 退汇币种
	// 注意:此字段可能返回 null,表示取不到有效值。
	RefundCurrency *string `json:"RefundCurrency,omitempty" name:"RefundCurrency"`
}

type QueryOutwardOrderRequest

type QueryOutwardOrderRequest struct {
	*tchttp.BaseRequest

	// 对接方汇出指令编号
	TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryOutwardOrderRequest

func NewQueryOutwardOrderRequest() (request *QueryOutwardOrderRequest)

func (*QueryOutwardOrderRequest) FromJsonString

func (r *QueryOutwardOrderRequest) FromJsonString(s string) error

func (*QueryOutwardOrderRequest) ToJsonString

func (r *QueryOutwardOrderRequest) ToJsonString() string

type QueryOutwardOrderResponse

type QueryOutwardOrderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 查询汇出结果
		Result *QueryOutwardOrderResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryOutwardOrderResponse

func NewQueryOutwardOrderResponse() (response *QueryOutwardOrderResponse)

func (*QueryOutwardOrderResponse) FromJsonString

func (r *QueryOutwardOrderResponse) FromJsonString(s string) error

func (*QueryOutwardOrderResponse) ToJsonString

func (r *QueryOutwardOrderResponse) ToJsonString() string

type QueryOutwardOrderResult

type QueryOutwardOrderResult struct {

	// 错误码
	Code *string `json:"Code,omitempty" name:"Code"`

	// 查询汇出数据
	Data *QueryOutwardOrderData `json:"Data,omitempty" name:"Data"`
}

type QueryPayerInfoRequest

type QueryPayerInfoRequest struct {
	*tchttp.BaseRequest

	// 付款人ID
	PayerId *string `json:"PayerId,omitempty" name:"PayerId"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryPayerInfoRequest

func NewQueryPayerInfoRequest() (request *QueryPayerInfoRequest)

func (*QueryPayerInfoRequest) FromJsonString

func (r *QueryPayerInfoRequest) FromJsonString(s string) error

func (*QueryPayerInfoRequest) ToJsonString

func (r *QueryPayerInfoRequest) ToJsonString() string

type QueryPayerInfoResponse

type QueryPayerInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 付款人查询结果
		Result *QueryPayerinfoResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryPayerInfoResponse

func NewQueryPayerInfoResponse() (response *QueryPayerInfoResponse)

func (*QueryPayerInfoResponse) FromJsonString

func (r *QueryPayerInfoResponse) FromJsonString(s string) error

func (*QueryPayerInfoResponse) ToJsonString

func (r *QueryPayerInfoResponse) ToJsonString() string

type QueryPayerinfoData

type QueryPayerinfoData struct {

	// 商户号
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 付款人ID
	PayerId *string `json:"PayerId,omitempty" name:"PayerId"`

	// 审核状态
	Status *string `json:"Status,omitempty" name:"Status"`

	// 失败原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailReason *string `json:"FailReason,omitempty" name:"FailReason"`

	// 付款人类型
	PayerType *string `json:"PayerType,omitempty" name:"PayerType"`

	// 付款人姓名
	PayerName *string `json:"PayerName,omitempty" name:"PayerName"`

	// 付款人证件类型
	PayerIdType *string `json:"PayerIdType,omitempty" name:"PayerIdType"`

	// 付款人证件号
	PayerIdNo *string `json:"PayerIdNo,omitempty" name:"PayerIdNo"`

	// 付款人联系电话
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayerContactNumber *string `json:"PayerContactNumber,omitempty" name:"PayerContactNumber"`

	// 付款人联系邮箱
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayerEmailAddress *string `json:"PayerEmailAddress,omitempty" name:"PayerEmailAddress"`

	// 付款人常驻国家或地区编码
	PayerCountryCode *string `json:"PayerCountryCode,omitempty" name:"PayerCountryCode"`

	// 付款人联系名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayerContactName *string `json:"PayerContactName,omitempty" name:"PayerContactName"`
}

type QueryPayerinfoResult

type QueryPayerinfoResult struct {

	// 错误码
	Code *string `json:"Code,omitempty" name:"Code"`

	// 付款人查询数据
	Data *QueryPayerinfoData `json:"Data,omitempty" name:"Data"`
}

type QueryReconciliationDocumentRequest

type QueryReconciliationDocumentRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(10),文件类型(充值文件-CZ; 提现文件-TX; 交易文件-JY; 余额文件-YE; 合约文件-HY)
	FileType *string `json:"FileType,omitempty" name:"FileType"`

	// STRING(8),文件日期(格式:20190101)
	FileDate *string `json:"FileDate,omitempty" name:"FileDate"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryReconciliationDocumentRequest

func NewQueryReconciliationDocumentRequest() (request *QueryReconciliationDocumentRequest)

func (*QueryReconciliationDocumentRequest) FromJsonString

func (r *QueryReconciliationDocumentRequest) FromJsonString(s string) error

func (*QueryReconciliationDocumentRequest) ToJsonString

func (r *QueryReconciliationDocumentRequest) ToJsonString() string

type QueryReconciliationDocumentResponse

type QueryReconciliationDocumentResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(10),本次交易返回查询结果记录数
		// 注意:此字段可能返回 null,表示取不到有效值。
		ResultNum *string `json:"ResultNum,omitempty" name:"ResultNum"`

		// 交易信息数组
		// 注意:此字段可能返回 null,表示取不到有效值。
		TranItemArray []*FileItem `json:"TranItemArray,omitempty" name:"TranItemArray" list`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryReconciliationDocumentResponse

func NewQueryReconciliationDocumentResponse() (response *QueryReconciliationDocumentResponse)

func (*QueryReconciliationDocumentResponse) FromJsonString

func (r *QueryReconciliationDocumentResponse) FromJsonString(s string) error

func (*QueryReconciliationDocumentResponse) ToJsonString

func (r *QueryReconciliationDocumentResponse) ToJsonString() string

type QueryRefundRequest

type QueryRefundRequest struct {
	*tchttp.BaseRequest

	// 用户ID,长度不小于5位,仅支持字母和数字的组合。
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 退款订单号,仅支持数字、字母、下划线(_)、横杠字符(-)、点(.)的组合。
	RefundId *string `json:"RefundId,omitempty" name:"RefundId"`

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 按照聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewQueryRefundRequest

func NewQueryRefundRequest() (request *QueryRefundRequest)

func (*QueryRefundRequest) FromJsonString

func (r *QueryRefundRequest) FromJsonString(s string) error

func (*QueryRefundRequest) ToJsonString

func (r *QueryRefundRequest) ToJsonString() string

type QueryRefundResponse

type QueryRefundResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 退款状态码,退款提交成功后返回  1:退款中;  2:退款成功;  3:退款失败。
		State *string `json:"State,omitempty" name:"State"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryRefundResponse

func NewQueryRefundResponse() (response *QueryRefundResponse)

func (*QueryRefundResponse) FromJsonString

func (r *QueryRefundResponse) FromJsonString(s string) error

func (*QueryRefundResponse) ToJsonString

func (r *QueryRefundResponse) ToJsonString() string

type QuerySinglePayItem

type QuerySinglePayItem struct {

	// 付款状态(S:支付成功;P:支付处理中;F:支付失败)
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayStatus *string `json:"PayStatus,omitempty" name:"PayStatus"`

	// 平台信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	PlatformMsg *string `json:"PlatformMsg,omitempty" name:"PlatformMsg"`

	// 银行原始返回码
	// 注意:此字段可能返回 null,表示取不到有效值。
	BankRetCode *string `json:"BankRetCode,omitempty" name:"BankRetCode"`

	// 银行原始返回
	// 注意:此字段可能返回 null,表示取不到有效值。
	BankRetMsg *string `json:"BankRetMsg,omitempty" name:"BankRetMsg"`
}

type QuerySinglePayRequest

type QuerySinglePayRequest struct {
	*tchttp.BaseRequest

	// 业务流水号
	SerialNumber *string `json:"SerialNumber,omitempty" name:"SerialNumber"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQuerySinglePayRequest

func NewQuerySinglePayRequest() (request *QuerySinglePayRequest)

func (*QuerySinglePayRequest) FromJsonString

func (r *QuerySinglePayRequest) FromJsonString(s string) error

func (*QuerySinglePayRequest) ToJsonString

func (r *QuerySinglePayRequest) ToJsonString() string

type QuerySinglePayResponse

type QuerySinglePayResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 返回结果
		Result *QuerySinglePayResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQuerySinglePayResponse

func NewQuerySinglePayResponse() (response *QuerySinglePayResponse)

func (*QuerySinglePayResponse) FromJsonString

func (r *QuerySinglePayResponse) FromJsonString(s string) error

func (*QuerySinglePayResponse) ToJsonString

func (r *QuerySinglePayResponse) ToJsonString() string

type QuerySinglePayResult

type QuerySinglePayResult struct {

	// 受理状态(S:处理成功;F:处理失败)
	HandleStatus *string `json:"HandleStatus,omitempty" name:"HandleStatus"`

	// 受理状态描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	HandleMsg *string `json:"HandleMsg,omitempty" name:"HandleMsg"`

	// 业务流水号
	SerialNo *string `json:"SerialNo,omitempty" name:"SerialNo"`

	// 支付明细
	// 注意:此字段可能返回 null,表示取不到有效值。
	Items []*QuerySinglePayItem `json:"Items,omitempty" name:"Items" list`
}

type QuerySingleTransactionStatusRequest

type QuerySingleTransactionStatusRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(2),功能标志(2: 会员间交易; 3: 提现; 4: 充值)
	FunctionFlag *string `json:"FunctionFlag,omitempty" name:"FunctionFlag"`

	// STRING(52),交易网流水号(提现,充值或会员交易请求时的CnsmrSeqNo值)
	TranNetSeqNo *string `json:"TranNetSeqNo,omitempty" name:"TranNetSeqNo"`

	// STRING(50),见证子帐户的帐号(未启用)
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// STRING(8),交易日期(未启用)
	TranDate *string `json:"TranDate,omitempty" name:"TranDate"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQuerySingleTransactionStatusRequest

func NewQuerySingleTransactionStatusRequest() (request *QuerySingleTransactionStatusRequest)

func (*QuerySingleTransactionStatusRequest) FromJsonString

func (r *QuerySingleTransactionStatusRequest) FromJsonString(s string) error

func (*QuerySingleTransactionStatusRequest) ToJsonString

func (r *QuerySingleTransactionStatusRequest) ToJsonString() string

type QuerySingleTransactionStatusResponse

type QuerySingleTransactionStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(2),记账标志(记账标志。1: 登记挂账; 2: 支付; 3: 提现; 4: 清分; 5: 下单预支付; 6: 确认并付款; 7: 退款; 8: 支付到平台; N: 其他)
		// 注意:此字段可能返回 null,表示取不到有效值。
		BookingFlag *string `json:"BookingFlag,omitempty" name:"BookingFlag"`

		// STRING(32),交易状态(0: 成功; 1: 失败; 2: 待确认; 5: 待处理; 6: 处理中。0和1是终态,2、5、6是中间态,其中2是特指提现后待确认提现是否成功,5是银行收到交易等待处理,6是交易正在处理)
		// 注意:此字段可能返回 null,表示取不到有效值。
		TranStatus *string `json:"TranStatus,omitempty" name:"TranStatus"`

		// STRING(20),交易金额
		// 注意:此字段可能返回 null,表示取不到有效值。
		TranAmt *string `json:"TranAmt,omitempty" name:"TranAmt"`

		// STRING(8),交易日期
		// 注意:此字段可能返回 null,表示取不到有效值。
		TranDate *string `json:"TranDate,omitempty" name:"TranDate"`

		// STRING(20),交易时间
		// 注意:此字段可能返回 null,表示取不到有效值。
		TranTime *string `json:"TranTime,omitempty" name:"TranTime"`

		// STRING(50),转入子账户账号
		// 注意:此字段可能返回 null,表示取不到有效值。
		InSubAcctNo *string `json:"InSubAcctNo,omitempty" name:"InSubAcctNo"`

		// STRING(50),转出子账户账号
		// 注意:此字段可能返回 null,表示取不到有效值。
		OutSubAcctNo *string `json:"OutSubAcctNo,omitempty" name:"OutSubAcctNo"`

		// STRING(300),失败信息(当提现失败时,返回交易失败原因)
		// 注意:此字段可能返回 null,表示取不到有效值。
		FailMsg *string `json:"FailMsg,omitempty" name:"FailMsg"`

		// STRING(50),原前置流水号
		// 注意:此字段可能返回 null,表示取不到有效值。
		OldTranFrontSeqNo *string `json:"OldTranFrontSeqNo,omitempty" name:"OldTranFrontSeqNo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQuerySingleTransactionStatusResponse

func NewQuerySingleTransactionStatusResponse() (response *QuerySingleTransactionStatusResponse)

func (*QuerySingleTransactionStatusResponse) FromJsonString

func (r *QuerySingleTransactionStatusResponse) FromJsonString(s string) error

func (*QuerySingleTransactionStatusResponse) ToJsonString

func (r *QuerySingleTransactionStatusResponse) ToJsonString() string

type QuerySmallAmountTransferRequest

type QuerySmallAmountTransferRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(52),原交易流水号(小额鉴权交易请求时的CnsmrSeqNo值)
	OldTranSeqNo *string `json:"OldTranSeqNo,omitempty" name:"OldTranSeqNo"`

	// STRING(8),交易日期(格式:20190101)
	TranDate *string `json:"TranDate,omitempty" name:"TranDate"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQuerySmallAmountTransferRequest

func NewQuerySmallAmountTransferRequest() (request *QuerySmallAmountTransferRequest)

func (*QuerySmallAmountTransferRequest) FromJsonString

func (r *QuerySmallAmountTransferRequest) FromJsonString(s string) error

func (*QuerySmallAmountTransferRequest) ToJsonString

func (r *QuerySmallAmountTransferRequest) ToJsonString() string

type QuerySmallAmountTransferResponse

type QuerySmallAmountTransferResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(10),返回状态(0: 成功; 1: 失败; 2: 待确认)
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReturnStatus *string `json:"ReturnStatus,omitempty" name:"ReturnStatus"`

		// STRING(512),返回信息(失败返回具体信息)
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQuerySmallAmountTransferResponse

func NewQuerySmallAmountTransferResponse() (response *QuerySmallAmountTransferResponse)

func (*QuerySmallAmountTransferResponse) FromJsonString

func (r *QuerySmallAmountTransferResponse) FromJsonString(s string) error

func (*QuerySmallAmountTransferResponse) ToJsonString

func (r *QuerySmallAmountTransferResponse) ToJsonString() string

type QueryTradeData

type QueryTradeData struct {

	// 商户号
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 贸易材料流水号
	TradeFileId *string `json:"TradeFileId,omitempty" name:"TradeFileId"`

	// 贸易材料订单号
	TradeOrderId *string `json:"TradeOrderId,omitempty" name:"TradeOrderId"`

	// 审核状态
	Status *string `json:"Status,omitempty" name:"Status"`

	// 失败原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailReason *string `json:"FailReason,omitempty" name:"FailReason"`

	// 付款人ID
	PayerId *string `json:"PayerId,omitempty" name:"PayerId"`

	// 收款人姓名
	PayeeName *string `json:"PayeeName,omitempty" name:"PayeeName"`

	// 收款人常驻国家或地区编码
	PayeeCountryCode *string `json:"PayeeCountryCode,omitempty" name:"PayeeCountryCode"`

	// 交易类型
	TradeType *string `json:"TradeType,omitempty" name:"TradeType"`

	// 交易日期
	TradeTime *string `json:"TradeTime,omitempty" name:"TradeTime"`

	// 交易币种
	TradeCurrency *string `json:"TradeCurrency,omitempty" name:"TradeCurrency"`

	// 交易金额
	TradeAmount *string `json:"TradeAmount,omitempty" name:"TradeAmount"`

	// 交易名称
	TradeName *string `json:"TradeName,omitempty" name:"TradeName"`

	// 交易数量
	TradeCount *int64 `json:"TradeCount,omitempty" name:"TradeCount"`

	// 货贸承运人
	// 注意:此字段可能返回 null,表示取不到有效值。
	GoodsCarrier *string `json:"GoodsCarrier,omitempty" name:"GoodsCarrier"`

	// 服贸交易细节
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceDetail *string `json:"ServiceDetail,omitempty" name:"ServiceDetail"`

	// 服贸服务时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceTime *string `json:"ServiceTime,omitempty" name:"ServiceTime"`
}

type QueryTradeRequest

type QueryTradeRequest struct {
	*tchttp.BaseRequest

	// 贸易材料流水号
	TradeFileId *string `json:"TradeFileId,omitempty" name:"TradeFileId"`

	// 接入环境。沙箱环境填sandbox
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryTradeRequest

func NewQueryTradeRequest() (request *QueryTradeRequest)

func (*QueryTradeRequest) FromJsonString

func (r *QueryTradeRequest) FromJsonString(s string) error

func (*QueryTradeRequest) ToJsonString

func (r *QueryTradeRequest) ToJsonString() string

type QueryTradeResponse

type QueryTradeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 贸易材料明细查询结果
		Result *QueryTradeResult `json:"Result,omitempty" name:"Result"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryTradeResponse

func NewQueryTradeResponse() (response *QueryTradeResponse)

func (*QueryTradeResponse) FromJsonString

func (r *QueryTradeResponse) FromJsonString(s string) error

func (*QueryTradeResponse) ToJsonString

func (r *QueryTradeResponse) ToJsonString() string

type QueryTradeResult

type QueryTradeResult struct {

	// 贸易材料明细查询数据
	Data *QueryTradeData `json:"Data,omitempty" name:"Data"`

	// 错误码
	Code *string `json:"Code,omitempty" name:"Code"`
}

type QueryTransferBatchRequest

type QueryTransferBatchRequest struct {
	*tchttp.BaseRequest

	// 商户号。
	// 示例值:129284394
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 微信明细单号。
	// 微信区分明细单返回的唯一标识。
	// 示例值:1030000071100999991182020050700019480101
	NeedQueryDetail *bool `json:"NeedQueryDetail,omitempty" name:"NeedQueryDetail"`

	// 商家批次单号。
	// 商户系统内部的商家批次单号,此参数只能由数字、字母组成,商户系统内部唯一,UTF8编码,最多32个字符。
	// 示例值:plfk2020042013
	MerchantBatchNo *string `json:"MerchantBatchNo,omitempty" name:"MerchantBatchNo"`

	// 是否查询账单明细。
	// true-是;
	// false-否,默认否。
	// 商户可选择是否查询指定状态的转账明细单,当转账批次单状态为“FINISHED”(已完成)时,才会返回满足条件的转账明细单。
	// 示例值:true
	BatchId *string `json:"BatchId,omitempty" name:"BatchId"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	Profile *string `json:"Profile,omitempty" name:"Profile"`

	// 请求资源起始位置。
	// 从0开始,默认值为0。
	// 示例值:20
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 最大资源条数。
	// 该次请求可返回的最大资源(转账明细单)条数,最小20条,最大100条,不传则默认20条。不足20条按实际条数返回
	// 示例值:20
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 明细状态。
	// ALL:全部,需要同时查询转账成功喝失败的明细单;
	// SUCCESS:转账成功,只查询成功的明细单;
	// FAIL:转账失败,只查询转账失败的明细单。
	// 示例值:FAIL
	DetailStatus *string `json:"DetailStatus,omitempty" name:"DetailStatus"`
}

func NewQueryTransferBatchRequest

func NewQueryTransferBatchRequest() (request *QueryTransferBatchRequest)

func (*QueryTransferBatchRequest) FromJsonString

func (r *QueryTransferBatchRequest) FromJsonString(s string) error

func (*QueryTransferBatchRequest) ToJsonString

func (r *QueryTransferBatchRequest) ToJsonString() string

type QueryTransferBatchResponse

type QueryTransferBatchResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 商户号。
		// 示例值:19300009329
		MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

		// 商家批次单号。
		// 商户系统内部的商家批次单号,此参数只能由数字、字母组成,商户系统内部唯一,UTF8编码,最多32个字符。
		// 示例值:plfk2020042013
		MerchantBatchNo *string `json:"MerchantBatchNo,omitempty" name:"MerchantBatchNo"`

		// 微信批次单号。
		// 微信商家转账系统返回的唯一标识。
		// 示例值:1030000071100999991182020050700019480001
		BatchId *string `json:"BatchId,omitempty" name:"BatchId"`

		// 直连商户appId。
		// 商户号绑定的appid。
		// 示例值:wxf636efh567hg4356
		MerchantAppId *string `json:"MerchantAppId,omitempty" name:"MerchantAppId"`

		// 批次状态。
		// ACCEPTED:已受理,批次已受理成功,若发起批量转账的30分钟后,转账批次单仍处于该状态,可能原因是商户账户余额不足等。商户可查询账户资金流水,若该笔转账批次单的扣款已经发生,则表示批次已经进入转账中,请再次查单确认;
		// PROCESSING:转账中,已开始处理批次内的转账明细单;
		// FINISHED:已完成,批次内的所有转账明细单都已处理完成;
		// CLOSED:已关闭,可查询具体的批次关闭原因确认;
		// 示例值:ACCEPTED
		BatchStatus *string `json:"BatchStatus,omitempty" name:"BatchStatus"`

		// 批次关闭原因。
		// 如果批次单状态为“CLOSED”(已关闭),则有关闭原因;
		// MERCHANT_REVOCATION:商户主动撤销;
		// OVERDUE_CLOSE:系统超时关闭。
		// 示例值:OVERDUE_CLOSE
		// 注意:此字段可能返回 null,表示取不到有效值。
		CloseReason *string `json:"CloseReason,omitempty" name:"CloseReason"`

		// 转账总金额。
		// 转账金额,单位为分。
		// 示例值:4000000
		TotalAmount *uint64 `json:"TotalAmount,omitempty" name:"TotalAmount"`

		// 转账总笔数。
		// 一个转账批次最多允许发起三千笔转账。
		// 示例值:200
		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`

		// 批次受理成功时返回,遵循rfc3339标准格式。格式为YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE,YYYY-MM-DD表示年月日,T出现在字符串中,表示time元素的开头,HH:mm:ss.sss表示时分秒毫秒,TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间)。例如:2015-05-20T13:29:35.120+08:00表示北京时间2015年05月20日13点29分35秒。
		// 示例值:2015-05-20T13:29:35.120+08:00
		// 注意:此字段可能返回 null,表示取不到有效值。
		CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

		// 批次最近一次更新时间,遵循rfc3339标准格式。格式为YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE,YYYY-MM-DD表示年月日,T出现在字符串中,表示time元素的开头,HH:mm:ss.sss表示时分秒毫秒,TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间)。例如:2015-05-20T13:29:35.120+08:00表示北京时间2015年05月20日13点29分35秒。
		// 示例值:2015-05-20T13:29:35.120+08:00
		// 注意:此字段可能返回 null,表示取不到有效值。
		UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

		// 转账成功金额。
		// 转账成功的金额,单位为分,可能随时变化。
		// 示例值:4000000
		// 注意:此字段可能返回 null,表示取不到有效值。
		SuccessAmount *uint64 `json:"SuccessAmount,omitempty" name:"SuccessAmount"`

		// 转账成功的笔数。
		// 可能随时变化。
		// 示例值:200
		// 注意:此字段可能返回 null,表示取不到有效值。
		SuccessNum *uint64 `json:"SuccessNum,omitempty" name:"SuccessNum"`

		// 转账失败金额。
		// 转账失败的金额,单位为分,可能随时变化。
		// 示例值:4000000
		// 注意:此字段可能返回 null,表示取不到有效值。
		FailAmount *uint64 `json:"FailAmount,omitempty" name:"FailAmount"`

		// 转账失败笔数。
		// 可能随时变化。
		// 示例值:200
		// 注意:此字段可能返回 null,表示取不到有效值。
		FailNum *uint64 `json:"FailNum,omitempty" name:"FailNum"`

		// 转账明细列表。
		// 返回明细详情
		// 注意:此字段可能返回 null,表示取不到有效值。
		TransferDetails []*TransferDetailResponse `json:"TransferDetails,omitempty" name:"TransferDetails" list`

		// 批次类型。
		// 注意:此字段可能返回 null,表示取不到有效值。
		BatchType *string `json:"BatchType,omitempty" name:"BatchType"`

		// 批次名称。
		// 注意:此字段可能返回 null,表示取不到有效值。
		BatchName *string `json:"BatchName,omitempty" name:"BatchName"`

		// 批次标注。
		// 注意:此字段可能返回 null,表示取不到有效值。
		BatchRemark *string `json:"BatchRemark,omitempty" name:"BatchRemark"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryTransferBatchResponse

func NewQueryTransferBatchResponse() (response *QueryTransferBatchResponse)

func (*QueryTransferBatchResponse) FromJsonString

func (r *QueryTransferBatchResponse) FromJsonString(s string) error

func (*QueryTransferBatchResponse) ToJsonString

func (r *QueryTransferBatchResponse) ToJsonString() string

type QueryTransferDetailRequest

type QueryTransferDetailRequest struct {
	*tchttp.BaseRequest

	// 商户号。
	// 示例值:129284394
	MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

	// 商家批次单号。
	// 商户系统内部的商家批次单号,此参数只能由数字、字母组成,商户系统内部唯一,UTF8编码,最多32个字符。
	// 示例值:plfk2020042013
	MerchantBatchNo *string `json:"MerchantBatchNo,omitempty" name:"MerchantBatchNo"`

	// 商家明细单号。
	// 商户系统内部的商家明细单号
	// 示例值:plfk2020042013
	MerchantDetailNo *string `json:"MerchantDetailNo,omitempty" name:"MerchantDetailNo"`

	// 微信批次单号。
	// 微信商家转账系统返回的唯一标识。
	// 商家单号(包含批次号和明细单号)和微信单号(包含批次号和明细单号)二者必填其一。
	// 示例值:1030000071100999991182020050700019480001
	BatchId *string `json:"BatchId,omitempty" name:"BatchId"`

	// 微信明细单号。
	// 微信区分明细单返回的唯一标识。
	// 示例值:1030000071100999991182020050700019480001
	DetailId *string `json:"DetailId,omitempty" name:"DetailId"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewQueryTransferDetailRequest

func NewQueryTransferDetailRequest() (request *QueryTransferDetailRequest)

func (*QueryTransferDetailRequest) FromJsonString

func (r *QueryTransferDetailRequest) FromJsonString(s string) error

func (*QueryTransferDetailRequest) ToJsonString

func (r *QueryTransferDetailRequest) ToJsonString() string

type QueryTransferDetailResponse

type QueryTransferDetailResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 商户号。
		// 示例值:19300009329
		MerchantId *string `json:"MerchantId,omitempty" name:"MerchantId"`

		// 商家批次单号。
		// 商户系统内部的商家批次单号,此参数只能由数字、字母组成,商户系统内部唯一,UTF8编码,最多32个字符。
		// 示例值:plfk2020042013
		MerchantBatchNo *string `json:"MerchantBatchNo,omitempty" name:"MerchantBatchNo"`

		// 微信批次单号。
		// 微信商家转账系统返回的唯一标识。
		// 示例值:1030000071100999991182020050700019480001
		BatchId *string `json:"BatchId,omitempty" name:"BatchId"`

		// 商家明细单号。
		// 商户系统内部的商家明细单号
		// 示例值:plfk2020042013
		MerchantDetailNo *string `json:"MerchantDetailNo,omitempty" name:"MerchantDetailNo"`

		// 微信明细单号。
		// 微信区分明细单返回的唯一标识。
		// 示例值:1030000071100999991182020050700019480001
		DetailId *string `json:"DetailId,omitempty" name:"DetailId"`

		// 明细状态。
		// PROCESSING:转账中,正在处理,结果未明;
		// SUCCESS:转账成功;
		// FAIL:转账失败,需要确认失败原因以后,再决定是否重新发起地该笔明细的转账。
		// 示例值:SUCCESS
		DetailStatus *string `json:"DetailStatus,omitempty" name:"DetailStatus"`

		// 转账金额。
		// 单位为分。
		// 示例值:200
		TransferAmount *uint64 `json:"TransferAmount,omitempty" name:"TransferAmount"`

		// 失败原因。
		// 如果转账失败则有失败原因
		// ACCOUNT_FROZEN:账户冻结
		// REAL_NAME_CHECK_FAIL:用户未实名
		// NAME_NOT_CORRECT:用户姓名校验失败
		// OPENID_INVALID:Openid校验失败
		// TRANSFER_QUOTA_EXCEED:超过用户单笔收款额度
		// DAY_RECEIVED_QUOTA_EXCEED:超过用户单日收款额度
		// MONTH_RECEIVED_QUOTA_EXCEED:超过用户单月收款额度
		// DAY_RECEIVED_COUNT_EXCEED:超过用户单日收款次数
		// PRODUCT_AUTH_CHECK_FAIL:产品权限校验失败
		// OVERDUE_CLOSE:转账关闭
		// ID_CARD_NOT_CORRECT:用户身份证校验失败
		// ACCOUNT_NOT_EXIST:用户账户不存在
		// TRANSFER_RISK:转账存在风险
		// 示例值:ACCOUNT_FROZEN
		// 注意:此字段可能返回 null,表示取不到有效值。
		FailReason *string `json:"FailReason,omitempty" name:"FailReason"`

		// 转账发起时间。
		// 遵循rfc3339标准格式。格式为YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE,YYYY-MM-DD表示年月日,T出现在字符串中,表示time元素的开头,HH:mm:ss.sss表示时分秒毫秒,TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间)。例如:2015-05-20T13:29:35.120+08:00表示北京时间2015年05月20日13点29分35秒。
		// 示例值:2015-05-20T13:29:35.120+08:00
		// 注意:此字段可能返回 null,表示取不到有效值。
		InitiateTime *string `json:"InitiateTime,omitempty" name:"InitiateTime"`

		// 转账更新时间。
		// 遵循rfc3339标准格式。格式为YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE,YYYY-MM-DD表示年月日,T出现在字符串中,表示time元素的开头,HH:mm:ss.sss表示时分秒毫秒,TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间)。例如:2015-05-20T13:29:35.120+08:00表示北京时间2015年05月20日13点29分35秒。
		// 示例值:2015-05-20T13:29:35.120+08:00
		// 注意:此字段可能返回 null,表示取不到有效值。
		UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

		// 用户名。
		// 示例值:张三
		// 注意:此字段可能返回 null,表示取不到有效值。
		UserName *string `json:"UserName,omitempty" name:"UserName"`

		// 转账备注。
		// 单条转账备注(微信用户会收到该备注)。UTF8编码,最多32字符。
		// 示例值:2020年4月报销
		// 注意:此字段可能返回 null,表示取不到有效值。
		TransferRemark *string `json:"TransferRemark,omitempty" name:"TransferRemark"`

		// 商家绑定公众号APPID。
		// 注意:此字段可能返回 null,表示取不到有效值。
		MerchantAppId *string `json:"MerchantAppId,omitempty" name:"MerchantAppId"`

		// 用户openId。
		// 注意:此字段可能返回 null,表示取不到有效值。
		OpenId *string `json:"OpenId,omitempty" name:"OpenId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewQueryTransferDetailResponse

func NewQueryTransferDetailResponse() (response *QueryTransferDetailResponse)

func (*QueryTransferDetailResponse) FromJsonString

func (r *QueryTransferDetailResponse) FromJsonString(s string) error

func (*QueryTransferDetailResponse) ToJsonString

func (r *QueryTransferDetailResponse) ToJsonString() string

type RechargeByThirdPayRequest

type RechargeByThirdPayRequest struct {
	*tchttp.BaseRequest

	// 请求类型 此接口固定填:MemberRechargeThirdPayReq
	RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

	// 商户号
	MerchantCode *string `json:"MerchantCode,omitempty" name:"MerchantCode"`

	// 支付渠道
	PayChannel *string `json:"PayChannel,omitempty" name:"PayChannel"`

	// 子渠道
	PayChannelSubId *int64 `json:"PayChannelSubId,omitempty" name:"PayChannelSubId"`

	// 交易订单号
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 父账户账号,资金汇总账号
	BankAccountNumber *string `json:"BankAccountNumber,omitempty" name:"BankAccountNumber"`

	// 平台短号(银行分配)
	PlatformShortNumber *string `json:"PlatformShortNumber,omitempty" name:"PlatformShortNumber"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 计费签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 交易流水号
	TransSequenceNumber *string `json:"TransSequenceNumber,omitempty" name:"TransSequenceNumber"`

	// 子账户账号
	BankSubAccountNumber *string `json:"BankSubAccountNumber,omitempty" name:"BankSubAccountNumber"`

	// 交易手续费,以元为单位
	TransFee *string `json:"TransFee,omitempty" name:"TransFee"`

	// 第三方支付渠道类型 0001-微信 0002-支付宝 0003-京东支付
	ThirdPayChannel *string `json:"ThirdPayChannel,omitempty" name:"ThirdPayChannel"`

	// 第三方渠道商户号
	ThirdPayChannelMerchantCode *string `json:"ThirdPayChannelMerchantCode,omitempty" name:"ThirdPayChannelMerchantCode"`

	// 第三方渠道订单号或流水号
	ThirdPayChannelOrderId *string `json:"ThirdPayChannelOrderId,omitempty" name:"ThirdPayChannelOrderId"`

	// 交易金额
	CurrencyAmount *string `json:"CurrencyAmount,omitempty" name:"CurrencyAmount"`

	// 单位,1:元,2:角,3:分
	CurrencyUnit *string `json:"CurrencyUnit,omitempty" name:"CurrencyUnit"`

	// 币种
	CurrencyType *string `json:"CurrencyType,omitempty" name:"CurrencyType"`

	// 交易网会员代码
	TransNetMemberCode *string `json:"TransNetMemberCode,omitempty" name:"TransNetMemberCode"`

	// midas环境参数
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`

	// 保留域
	ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`

	// 备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

func NewRechargeByThirdPayRequest

func NewRechargeByThirdPayRequest() (request *RechargeByThirdPayRequest)

func (*RechargeByThirdPayRequest) FromJsonString

func (r *RechargeByThirdPayRequest) FromJsonString(s string) error

func (*RechargeByThirdPayRequest) ToJsonString

func (r *RechargeByThirdPayRequest) ToJsonString() string

type RechargeByThirdPayResponse

type RechargeByThirdPayResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 保留字段
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`

		// 银行流水号
		// 注意:此字段可能返回 null,表示取不到有效值。
		FrontSequenceNumber *string `json:"FrontSequenceNumber,omitempty" name:"FrontSequenceNumber"`

		// 请求类型
		RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRechargeByThirdPayResponse

func NewRechargeByThirdPayResponse() (response *RechargeByThirdPayResponse)

func (*RechargeByThirdPayResponse) FromJsonString

func (r *RechargeByThirdPayResponse) FromJsonString(s string) error

func (*RechargeByThirdPayResponse) ToJsonString

func (r *RechargeByThirdPayResponse) ToJsonString() string

type RechargeMemberThirdPayRequest

type RechargeMemberThirdPayRequest struct {
	*tchttp.BaseRequest

	// STRING(32),交易网会代码
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(20),会员充值金额
	MemberFillAmt *string `json:"MemberFillAmt,omitempty" name:"MemberFillAmt"`

	// STRING(20),手续费金额
	Commission *string `json:"Commission,omitempty" name:"Commission"`

	// STRING(3),币种。如RMB
	Ccy *string `json:"Ccy,omitempty" name:"Ccy"`

	// STRING(20),支付渠道类型。
	// 0001-微信
	// 0002-支付宝
	// 0003-京东支付
	PayChannelType *string `json:"PayChannelType,omitempty" name:"PayChannelType"`

	// STRING(50),支付渠道所分配的商户号
	PayChannelAssignMerNo *string `json:"PayChannelAssignMerNo,omitempty" name:"PayChannelAssignMerNo"`

	// STRING(52),支付渠道交易流水号
	PayChannelTranSeqNo *string `json:"PayChannelTranSeqNo,omitempty" name:"PayChannelTranSeqNo"`

	// STRING(52),电商见证宝订单号
	EjzbOrderNo *string `json:"EjzbOrderNo,omitempty" name:"EjzbOrderNo"`

	// String(22),商户号
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(500),电商见证宝订单内容
	EjzbOrderContent *string `json:"EjzbOrderContent,omitempty" name:"EjzbOrderContent"`

	// STRING(300),备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// STRING(300),保留域1
	ReservedMsgOne *string `json:"ReservedMsgOne,omitempty" name:"ReservedMsgOne"`

	// STRING(300),保留域2
	ReservedMsgTwo *string `json:"ReservedMsgTwo,omitempty" name:"ReservedMsgTwo"`

	// STRING(300),保留域3
	ReservedMsgThree *string `json:"ReservedMsgThree,omitempty" name:"ReservedMsgThree"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewRechargeMemberThirdPayRequest

func NewRechargeMemberThirdPayRequest() (request *RechargeMemberThirdPayRequest)

func (*RechargeMemberThirdPayRequest) FromJsonString

func (r *RechargeMemberThirdPayRequest) FromJsonString(s string) error

func (*RechargeMemberThirdPayRequest) ToJsonString

func (r *RechargeMemberThirdPayRequest) ToJsonString() string

type RechargeMemberThirdPayResponse

type RechargeMemberThirdPayResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(52),前置流水号
		// 注意:此字段可能返回 null,表示取不到有效值。
		FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

		// STRING(20),会员子账户交易前可用余额
		// 注意:此字段可能返回 null,表示取不到有效值。
		MemberSubAcctPreAvailBal *string `json:"MemberSubAcctPreAvailBal,omitempty" name:"MemberSubAcctPreAvailBal"`

		// STRING(300),保留域1
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsgOne *string `json:"ReservedMsgOne,omitempty" name:"ReservedMsgOne"`

		// STRING(300),保留域2
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsgTwo *string `json:"ReservedMsgTwo,omitempty" name:"ReservedMsgTwo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRechargeMemberThirdPayResponse

func NewRechargeMemberThirdPayResponse() (response *RechargeMemberThirdPayResponse)

func (*RechargeMemberThirdPayResponse) FromJsonString

func (r *RechargeMemberThirdPayResponse) FromJsonString(s string) error

func (*RechargeMemberThirdPayResponse) ToJsonString

func (r *RechargeMemberThirdPayResponse) ToJsonString() string

type RefundMemberTransactionRequest

type RefundMemberTransactionRequest struct {
	*tchttp.BaseRequest

	// 转出见证子账户的户名
	OutSubAccountName *string `json:"OutSubAccountName,omitempty" name:"OutSubAccountName"`

	// 转入见证子账户的户名
	InSubAccountName *string `json:"InSubAccountName,omitempty" name:"InSubAccountName"`

	// 子渠道
	PayChannelSubId *int64 `json:"PayChannelSubId,omitempty" name:"PayChannelSubId"`

	// 转出见证子账户账号
	OutSubAccountNumber *string `json:"OutSubAccountNumber,omitempty" name:"OutSubAccountNumber"`

	// 计费签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 转入见证子账户账号
	InSubAccountNumber *string `json:"InSubAccountNumber,omitempty" name:"InSubAccountNumber"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 父账户账号,资金汇总账号
	BankAccountNumber *string `json:"BankAccountNumber,omitempty" name:"BankAccountNumber"`

	// 原老订单流水号
	OldTransSequenceNumber *string `json:"OldTransSequenceNumber,omitempty" name:"OldTransSequenceNumber"`

	// 银行注册商户号
	MerchantCode *string `json:"MerchantCode,omitempty" name:"MerchantCode"`

	// 请求类型,固定为MemberTransactionRefundReq
	RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

	// 交易金额
	CurrencyAmount *string `json:"CurrencyAmount,omitempty" name:"CurrencyAmount"`

	// 交易流水号
	TransSequenceNumber *string `json:"TransSequenceNumber,omitempty" name:"TransSequenceNumber"`

	// 渠道
	PayChannel *string `json:"PayChannel,omitempty" name:"PayChannel"`

	// 原订单号
	OldOrderId *string `json:"OldOrderId,omitempty" name:"OldOrderId"`

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 订单号
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// Midas环境标识 release 现网环境 sandbox 沙箱环境
	// development 开发环境
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`

	// 转出子账户交易网会员代码
	OutTransNetMemberCode *string `json:"OutTransNetMemberCode,omitempty" name:"OutTransNetMemberCode"`

	// 转入子账户交易网会员代码
	InTransNetMemberCode *string `json:"InTransNetMemberCode,omitempty" name:"InTransNetMemberCode"`

	// 保留域
	ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`

	// 平台短号(银行分配)
	PlatformShortNumber *string `json:"PlatformShortNumber,omitempty" name:"PlatformShortNumber"`

	// 0-登记挂账,1-撤销挂账
	TransType *string `json:"TransType,omitempty" name:"TransType"`

	// 交易手续费
	TransFee *string `json:"TransFee,omitempty" name:"TransFee"`
}

func NewRefundMemberTransactionRequest

func NewRefundMemberTransactionRequest() (request *RefundMemberTransactionRequest)

func (*RefundMemberTransactionRequest) FromJsonString

func (r *RefundMemberTransactionRequest) FromJsonString(s string) error

func (*RefundMemberTransactionRequest) ToJsonString

func (r *RefundMemberTransactionRequest) ToJsonString() string

type RefundMemberTransactionResponse

type RefundMemberTransactionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 请求类型
		RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

		// 银行流水号
		FrontSequenceNumber *string `json:"FrontSequenceNumber,omitempty" name:"FrontSequenceNumber"`

		// 保留域
		ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRefundMemberTransactionResponse

func NewRefundMemberTransactionResponse() (response *RefundMemberTransactionResponse)

func (*RefundMemberTransactionResponse) FromJsonString

func (r *RefundMemberTransactionResponse) FromJsonString(s string) error

func (*RefundMemberTransactionResponse) ToJsonString

func (r *RefundMemberTransactionResponse) ToJsonString() string

type RefundOutSubOrderRefundList

type RefundOutSubOrderRefundList struct {

	// 平台应退金额
	PlatformRefundAmt *int64 `json:"PlatformRefundAmt,omitempty" name:"PlatformRefundAmt"`

	// 子订单退款金额
	RefundAmt *int64 `json:"RefundAmt,omitempty" name:"RefundAmt"`

	// 商家应退金额
	SubMchRefundAmt *int64 `json:"SubMchRefundAmt,omitempty" name:"SubMchRefundAmt"`

	// 子订单号
	SubOutTradeNo *string `json:"SubOutTradeNo,omitempty" name:"SubOutTradeNo"`

	// 子退款单号,调用方需要保证 全局唯一性
	SubRefundId *string `json:"SubRefundId,omitempty" name:"SubRefundId"`
}

type RefundRequest

type RefundRequest struct {
	*tchttp.BaseRequest

	// 用户ID,长度不小于5位, 仅支持字母和数字的组合
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 退款订单号,仅支持数字、 字母、下划线(_)、横杠字 符(-)、点(.)的组合
	RefundId *string `json:"RefundId,omitempty" name:"RefundId"`

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 退款金额,单位:分。备注:当该字段为空或者为0 时,系统会默认使用订单当 实付金额作为退款金额
	TotalRefundAmt *int64 `json:"TotalRefundAmt,omitempty" name:"TotalRefundAmt"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 按照聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 商品订单,仅支持数字、字 母、下划线(_)、横杠字符 (-)、点(.)的组合。  OutTradeNo ,TransactionId 二选一,不能都为空,优先使用 OutTradeNo
	OutTradeNo *string `json:"OutTradeNo,omitempty" name:"OutTradeNo"`

	// 结算应收金额,单位:分
	MchRefundAmt *int64 `json:"MchRefundAmt,omitempty" name:"MchRefundAmt"`

	// 调用下单接口获取的聚鑫交 易订单。  OutTradeNo ,TransactionId 二选一,不能都为空,优先使用 OutTradeNo
	TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

	// 平台应收金额,单位:分
	PlatformRefundAmt *int64 `json:"PlatformRefundAmt,omitempty" name:"PlatformRefundAmt"`

	// 支持多个子订单批量退款单 个子订单退款支持传 SubOutTradeNo ,也支持传 SubOutTradeNoList ,都传的时候以 SubOutTradeNoList 为准。  如果传了子单退款细节,外 部不需要再传退款金额,平 台应退,商户应退金额,我 们可以直接根据子单退款算出来总和。
	SubOrderRefundList []*RefundOutSubOrderRefundList `json:"SubOrderRefundList,omitempty" name:"SubOrderRefundList" list`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewRefundRequest

func NewRefundRequest() (request *RefundRequest)

func (*RefundRequest) FromJsonString

func (r *RefundRequest) FromJsonString(s string) error

func (*RefundRequest) ToJsonString

func (r *RefundRequest) ToJsonString() string

type RefundResponse

type RefundResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRefundResponse

func NewRefundResponse() (response *RefundResponse)

func (*RefundResponse) FromJsonString

func (r *RefundResponse) FromJsonString(s string) error

func (*RefundResponse) ToJsonString

func (r *RefundResponse) ToJsonString() string

type RegisterBillRequest

type RegisterBillRequest struct {
	*tchttp.BaseRequest

	// 请求类型此接口固定填:RegBillSupportWithdrawReq
	RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

	// 商户号
	MerchantCode *string `json:"MerchantCode,omitempty" name:"MerchantCode"`

	// 支付渠道
	PayChannel *string `json:"PayChannel,omitempty" name:"PayChannel"`

	// 子渠道
	PayChannelSubId *int64 `json:"PayChannelSubId,omitempty" name:"PayChannelSubId"`

	// 交易订单号
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 父账户账号,资金汇总账号
	BankAccountNo *string `json:"BankAccountNo,omitempty" name:"BankAccountNo"`

	// 平台短号(银行分配)
	PlatformShortNo *string `json:"PlatformShortNo,omitempty" name:"PlatformShortNo"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 计费签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 交易流水号
	TransSeqNo *string `json:"TransSeqNo,omitempty" name:"TransSeqNo"`

	// 暂未使用,默认传0.0
	TranFee *string `json:"TranFee,omitempty" name:"TranFee"`

	// 挂账金额,以元为单位
	OrderAmt *string `json:"OrderAmt,omitempty" name:"OrderAmt"`

	// 子账户账号
	BankSubAccountNo *string `json:"BankSubAccountNo,omitempty" name:"BankSubAccountNo"`

	// 交易网会员代码
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// 0,登记挂账,1,撤销挂账
	TranType *string `json:"TranType,omitempty" name:"TranType"`

	// 保留域
	ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`

	// 备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// Midas环境参数
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewRegisterBillRequest

func NewRegisterBillRequest() (request *RegisterBillRequest)

func (*RegisterBillRequest) FromJsonString

func (r *RegisterBillRequest) FromJsonString(s string) error

func (*RegisterBillRequest) ToJsonString

func (r *RegisterBillRequest) ToJsonString() string

type RegisterBillResponse

type RegisterBillResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 银行流水号
		FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

		// 保留字段
		ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`

		// 请求类型
		RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRegisterBillResponse

func NewRegisterBillResponse() (response *RegisterBillResponse)

func (*RegisterBillResponse) FromJsonString

func (r *RegisterBillResponse) FromJsonString(s string) error

func (*RegisterBillResponse) ToJsonString

func (r *RegisterBillResponse) ToJsonString() string

type RegisterBillSupportWithdrawRequest

type RegisterBillSupportWithdrawRequest struct {
	*tchttp.BaseRequest

	// STRING(32),交易网会员代码
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(50),订单号
	OrderNo *string `json:"OrderNo,omitempty" name:"OrderNo"`

	// STRING(20),挂账金额(包含交易费用)
	SuspendAmt *string `json:"SuspendAmt,omitempty" name:"SuspendAmt"`

	// STRING(20),交易费用(暂未使用,默认传0.0)
	TranFee *string `json:"TranFee,omitempty" name:"TranFee"`

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(300),备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// STRING(300),保留域1
	ReservedMsgOne *string `json:"ReservedMsgOne,omitempty" name:"ReservedMsgOne"`

	// STRING(300),保留域2
	ReservedMsgTwo *string `json:"ReservedMsgTwo,omitempty" name:"ReservedMsgTwo"`

	// STRING(300),保留域3
	ReservedMsgThree *string `json:"ReservedMsgThree,omitempty" name:"ReservedMsgThree"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewRegisterBillSupportWithdrawRequest

func NewRegisterBillSupportWithdrawRequest() (request *RegisterBillSupportWithdrawRequest)

func (*RegisterBillSupportWithdrawRequest) FromJsonString

func (r *RegisterBillSupportWithdrawRequest) FromJsonString(s string) error

func (*RegisterBillSupportWithdrawRequest) ToJsonString

func (r *RegisterBillSupportWithdrawRequest) ToJsonString() string

type RegisterBillSupportWithdrawResponse

type RegisterBillSupportWithdrawResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// STRING(52),见证系统流水号
		// 注意:此字段可能返回 null,表示取不到有效值。
		FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

		// String(22),交易流水号
		// 注意:此字段可能返回 null,表示取不到有效值。
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRegisterBillSupportWithdrawResponse

func NewRegisterBillSupportWithdrawResponse() (response *RegisterBillSupportWithdrawResponse)

func (*RegisterBillSupportWithdrawResponse) FromJsonString

func (r *RegisterBillSupportWithdrawResponse) FromJsonString(s string) error

func (*RegisterBillSupportWithdrawResponse) ToJsonString

func (r *RegisterBillSupportWithdrawResponse) ToJsonString() string

type RevResigterBillSupportWithdrawRequest

type RevResigterBillSupportWithdrawRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(32),交易网会员代码
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(30),原订单号(RegisterBillSupportWithdraw接口中的订单号)
	OldOrderNo *string `json:"OldOrderNo,omitempty" name:"OldOrderNo"`

	// STRING(20),撤销金额(支持部分撤销,不能大于原订单可用金额,包含交易费用)
	CancelAmt *string `json:"CancelAmt,omitempty" name:"CancelAmt"`

	// STRING(20),交易费用(暂未使用,默认传0.0)
	TranFee *string `json:"TranFee,omitempty" name:"TranFee"`

	// STRING(300),备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// STRING(300),保留域1
	ReservedMsgOne *string `json:"ReservedMsgOne,omitempty" name:"ReservedMsgOne"`

	// STRING(300),保留域2
	ReservedMsgTwo *string `json:"ReservedMsgTwo,omitempty" name:"ReservedMsgTwo"`

	// STRING(300),保留域3
	ReservedMsgThree *string `json:"ReservedMsgThree,omitempty" name:"ReservedMsgThree"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewRevResigterBillSupportWithdrawRequest

func NewRevResigterBillSupportWithdrawRequest() (request *RevResigterBillSupportWithdrawRequest)

func (*RevResigterBillSupportWithdrawRequest) FromJsonString

func (r *RevResigterBillSupportWithdrawRequest) FromJsonString(s string) error

func (*RevResigterBillSupportWithdrawRequest) ToJsonString

type RevResigterBillSupportWithdrawResponse

type RevResigterBillSupportWithdrawResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(52),见证系统流水号
		// 注意:此字段可能返回 null,表示取不到有效值。
		FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRevResigterBillSupportWithdrawResponse

func NewRevResigterBillSupportWithdrawResponse() (response *RevResigterBillSupportWithdrawResponse)

func (*RevResigterBillSupportWithdrawResponse) FromJsonString

func (*RevResigterBillSupportWithdrawResponse) ToJsonString

type ReviseMbrPropertyRequest

type ReviseMbrPropertyRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(50),见证子账户的账号
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// STRING(10),会员属性(00-普通子账号; SH-商户子账户。暂时只支持00-普通子账号改为SH-商户子账户)
	MemberProperty *string `json:"MemberProperty,omitempty" name:"MemberProperty"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewReviseMbrPropertyRequest

func NewReviseMbrPropertyRequest() (request *ReviseMbrPropertyRequest)

func (*ReviseMbrPropertyRequest) FromJsonString

func (r *ReviseMbrPropertyRequest) FromJsonString(s string) error

func (*ReviseMbrPropertyRequest) ToJsonString

func (r *ReviseMbrPropertyRequest) ToJsonString() string

type ReviseMbrPropertyResponse

type ReviseMbrPropertyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewReviseMbrPropertyResponse

func NewReviseMbrPropertyResponse() (response *ReviseMbrPropertyResponse)

func (*ReviseMbrPropertyResponse) FromJsonString

func (r *ReviseMbrPropertyResponse) FromJsonString(s string) error

func (*ReviseMbrPropertyResponse) ToJsonString

func (r *ReviseMbrPropertyResponse) ToJsonString() string

type RevokeMemberRechargeThirdPayRequest

type RevokeMemberRechargeThirdPayRequest struct {
	*tchttp.BaseRequest

	// STRING(52),原充值的前置流水号
	OldFillFrontSeqNo *string `json:"OldFillFrontSeqNo,omitempty" name:"OldFillFrontSeqNo"`

	// STRING(20),原充值的支付渠道类型
	OldFillPayChannelType *string `json:"OldFillPayChannelType,omitempty" name:"OldFillPayChannelType"`

	// STRING(52),原充值的支付渠道交易流水号
	OldPayChannelTranSeqNo *string `json:"OldPayChannelTranSeqNo,omitempty" name:"OldPayChannelTranSeqNo"`

	// STRING(52),原充值的电商见证宝订单号
	OldFillEjzbOrderNo *string `json:"OldFillEjzbOrderNo,omitempty" name:"OldFillEjzbOrderNo"`

	// STRING(20),申请撤销的会员金额
	ApplyCancelMemberAmt *string `json:"ApplyCancelMemberAmt,omitempty" name:"ApplyCancelMemberAmt"`

	// STRING(20),申请撤销的手续费金额
	ApplyCancelCommission *string `json:"ApplyCancelCommission,omitempty" name:"ApplyCancelCommission"`

	// String(22),商户号
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(300),备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// STRING(300),保留域1
	ReservedMsgOne *string `json:"ReservedMsgOne,omitempty" name:"ReservedMsgOne"`

	// STRING(300),保留域2
	ReservedMsgTwo *string `json:"ReservedMsgTwo,omitempty" name:"ReservedMsgTwo"`

	// STRING(300),保留域3
	ReservedMsgThree *string `json:"ReservedMsgThree,omitempty" name:"ReservedMsgThree"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewRevokeMemberRechargeThirdPayRequest

func NewRevokeMemberRechargeThirdPayRequest() (request *RevokeMemberRechargeThirdPayRequest)

func (*RevokeMemberRechargeThirdPayRequest) FromJsonString

func (r *RevokeMemberRechargeThirdPayRequest) FromJsonString(s string) error

func (*RevokeMemberRechargeThirdPayRequest) ToJsonString

func (r *RevokeMemberRechargeThirdPayRequest) ToJsonString() string

type RevokeMemberRechargeThirdPayResponse

type RevokeMemberRechargeThirdPayResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(52),前置流水号
		// 注意:此字段可能返回 null,表示取不到有效值。
		FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

		// STRING(300),保留域1
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsgOne *string `json:"ReservedMsgOne,omitempty" name:"ReservedMsgOne"`

		// STRING(300),保留域2
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsgTwo *string `json:"ReservedMsgTwo,omitempty" name:"ReservedMsgTwo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRevokeMemberRechargeThirdPayResponse

func NewRevokeMemberRechargeThirdPayResponse() (response *RevokeMemberRechargeThirdPayResponse)

func (*RevokeMemberRechargeThirdPayResponse) FromJsonString

func (r *RevokeMemberRechargeThirdPayResponse) FromJsonString(s string) error

func (*RevokeMemberRechargeThirdPayResponse) ToJsonString

func (r *RevokeMemberRechargeThirdPayResponse) ToJsonString() string

type RevokeRechargeByThirdPayRequest

type RevokeRechargeByThirdPayRequest struct {
	*tchttp.BaseRequest

	// 请求类型此接口固定填:RevokeMemberRechargeThirdPayReq
	RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

	// 商户号
	MerchantCode *string `json:"MerchantCode,omitempty" name:"MerchantCode"`

	// 支付渠道
	PayChannel *string `json:"PayChannel,omitempty" name:"PayChannel"`

	// 子渠道
	PayChannelSubId *int64 `json:"PayChannelSubId,omitempty" name:"PayChannelSubId"`

	// 原始充值交易订单号
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// 父账户账号,资金汇总账号
	BankAccountNumber *string `json:"BankAccountNumber,omitempty" name:"BankAccountNumber"`

	// 平台短号(银行分配)
	PlatformShortNumber *string `json:"PlatformShortNumber,omitempty" name:"PlatformShortNumber"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 计费签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 交易流水号
	TransSequenceNumber *string `json:"TransSequenceNumber,omitempty" name:"TransSequenceNumber"`

	// 申请撤销的手续费金额,以元为单位
	TransFee *string `json:"TransFee,omitempty" name:"TransFee"`

	// 第三方支付渠道类型 0001-微信 0002-支付宝 0003-京东支付
	ThirdPayChannel *string `json:"ThirdPayChannel,omitempty" name:"ThirdPayChannel"`

	// 第三方渠道订单号或流水号
	ThirdPayChannelOrderId *string `json:"ThirdPayChannelOrderId,omitempty" name:"ThirdPayChannelOrderId"`

	// 充值接口银行返回的流水号(FrontSeqNo)
	OldFrontSequenceNumber *string `json:"OldFrontSequenceNumber,omitempty" name:"OldFrontSequenceNumber"`

	// 申请撤销的金额
	CurrencyAmount *string `json:"CurrencyAmount,omitempty" name:"CurrencyAmount"`

	// 单位,1:元,2:角,3:分 目前固定填1
	CurrencyUnit *string `json:"CurrencyUnit,omitempty" name:"CurrencyUnit"`

	// 币种 目前固定填RMB
	CurrencyType *string `json:"CurrencyType,omitempty" name:"CurrencyType"`

	// Midas环境标识
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`

	// 保留域
	ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`

	// 备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

func NewRevokeRechargeByThirdPayRequest

func NewRevokeRechargeByThirdPayRequest() (request *RevokeRechargeByThirdPayRequest)

func (*RevokeRechargeByThirdPayRequest) FromJsonString

func (r *RevokeRechargeByThirdPayRequest) FromJsonString(s string) error

func (*RevokeRechargeByThirdPayRequest) ToJsonString

func (r *RevokeRechargeByThirdPayRequest) ToJsonString() string

type RevokeRechargeByThirdPayResponse

type RevokeRechargeByThirdPayResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 请求类型
		RequestType *string `json:"RequestType,omitempty" name:"RequestType"`

		// 保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMessage *string `json:"ReservedMessage,omitempty" name:"ReservedMessage"`

		// 银行流水号
		FrontSequenceNumber *string `json:"FrontSequenceNumber,omitempty" name:"FrontSequenceNumber"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRevokeRechargeByThirdPayResponse

func NewRevokeRechargeByThirdPayResponse() (response *RevokeRechargeByThirdPayResponse)

func (*RevokeRechargeByThirdPayResponse) FromJsonString

func (r *RevokeRechargeByThirdPayResponse) FromJsonString(s string) error

func (*RevokeRechargeByThirdPayResponse) ToJsonString

func (r *RevokeRechargeByThirdPayResponse) ToJsonString() string

type TranItem

type TranItem struct {

	// STRING(50),资金汇总账号
	// 注意:此字段可能返回 null,表示取不到有效值。
	FundSummaryAcctNo *string `json:"FundSummaryAcctNo,omitempty" name:"FundSummaryAcctNo"`

	// STRING(50),见证子账户的账号
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// STRING(32),交易网会员代码
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(150),会员名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	MemberName *string `json:"MemberName,omitempty" name:"MemberName"`

	// STRING(5),会员证件类型(详情见“常见问题”)
	// 注意:此字段可能返回 null,表示取不到有效值。
	MemberGlobalType *string `json:"MemberGlobalType,omitempty" name:"MemberGlobalType"`

	// STRING(32),会员证件号码
	// 注意:此字段可能返回 null,表示取不到有效值。
	MemberGlobalId *string `json:"MemberGlobalId,omitempty" name:"MemberGlobalId"`

	// STRING(50),会员绑定账户的账号(提现的银行卡)
	// 注意:此字段可能返回 null,表示取不到有效值。
	MemberAcctNo *string `json:"MemberAcctNo,omitempty" name:"MemberAcctNo"`

	// STRING(10),会员绑定账户的本他行类型(1: 本行; 2: 他行)
	// 注意:此字段可能返回 null,表示取不到有效值。
	BankType *string `json:"BankType,omitempty" name:"BankType"`

	// STRING(150),会员绑定账户的开户行名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	AcctOpenBranchName *string `json:"AcctOpenBranchName,omitempty" name:"AcctOpenBranchName"`

	// STRING(20),会员绑定账户的开户行的联行号
	// 注意:此字段可能返回 null,表示取不到有效值。
	CnapsBranchId *string `json:"CnapsBranchId,omitempty" name:"CnapsBranchId"`

	// STRING(20),会员绑定账户的开户行的超级网银行号
	// 注意:此字段可能返回 null,表示取不到有效值。
	EiconBankBranchId *string `json:"EiconBankBranchId,omitempty" name:"EiconBankBranchId"`

	// STRING(30),会员的手机号
	// 注意:此字段可能返回 null,表示取不到有效值。
	Mobile *string `json:"Mobile,omitempty" name:"Mobile"`
}

type TransactionItem

type TransactionItem struct {

	// STRING(2),记账标志(1: 转出; 2: 转入)
	// 注意:此字段可能返回 null,表示取不到有效值。
	BookingFlag *string `json:"BookingFlag,omitempty" name:"BookingFlag"`

	// STRING(32),交易状态(0: 成功)
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranStatus *string `json:"TranStatus,omitempty" name:"TranStatus"`

	// STRING(20),交易金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranAmt *string `json:"TranAmt,omitempty" name:"TranAmt"`

	// STRING(8),交易日期
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranDate *string `json:"TranDate,omitempty" name:"TranDate"`

	// STRING(20),交易时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranTime *string `json:"TranTime,omitempty" name:"TranTime"`

	// STRING(52),见证系统流水号
	// 注意:此字段可能返回 null,表示取不到有效值。
	FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

	// STRING(20),记账类型(详情见“常见问题”)
	// 注意:此字段可能返回 null,表示取不到有效值。
	BookingType *string `json:"BookingType,omitempty" name:"BookingType"`

	// STRING(50),转入见证子账户的帐号
	// 注意:此字段可能返回 null,表示取不到有效值。
	InSubAcctNo *string `json:"InSubAcctNo,omitempty" name:"InSubAcctNo"`

	// STRING(50),转出见证子账户的帐号
	// 注意:此字段可能返回 null,表示取不到有效值。
	OutSubAcctNo *string `json:"OutSubAcctNo,omitempty" name:"OutSubAcctNo"`

	// STRING(300),备注(返回交易订单号)
	// 注意:此字段可能返回 null,表示取不到有效值。
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

type TransferDetailRequest

type TransferDetailRequest struct {

	// 商家明细单号。
	// 商户系统内部区分转账批次单下不同转账明细单的唯一标识,要求此参数只能由数字、大小写字母组成。
	// 示例值:x23zy545Bd5436
	MerchantDetailNo *string `json:"MerchantDetailNo,omitempty" name:"MerchantDetailNo"`

	// 转账金额。
	// 转账金额单位为分。
	// 示例值:200000
	TransferAmount *uint64 `json:"TransferAmount,omitempty" name:"TransferAmount"`

	// 转账备注。
	// 单条转账备注(微信用户会收到该备注)。UTF8编码,最多32字符。
	// 示例值:2020年4月报销
	TransferRemark *string `json:"TransferRemark,omitempty" name:"TransferRemark"`

	// 用户在直连商户下的唯一标识。
	// 示例值:o-MYE42l80oelYMDE34nYD456Xoy
	OpenId *string `json:"OpenId,omitempty" name:"OpenId"`

	// 收款用户姓名。
	// 收款方姓名。
	// 示例值:张三
	UserName *string `json:"UserName,omitempty" name:"UserName"`
}

type TransferDetailResponse

type TransferDetailResponse struct {

	// 商家明细单号。
	// 商户系统内部的商家明细单号
	// 示例值:plfk2020042013
	MerchantDetailNo *string `json:"MerchantDetailNo,omitempty" name:"MerchantDetailNo"`

	// 微信明细单号。
	// 微信区分明细单返回的唯一标识。
	// 示例值:1030000071100999991182020050700019480001
	DetailId *string `json:"DetailId,omitempty" name:"DetailId"`

	// 明细状态。
	// PROCESSING:转账中,正在处理,结果未明;
	// SUCCESS:转账成功;
	// FAIL:转账失败,需要确认失败原因以后,再决定是否重新发起地该笔明细的转账。
	// 示例值:SUCCESS
	DetailStatus *string `json:"DetailStatus,omitempty" name:"DetailStatus"`
}

type TransferItem

type TransferItem struct {

	// STRING(10),入账类型(02: 会员充值; 03: 资金挂账)
	// 注意:此字段可能返回 null,表示取不到有效值。
	InAcctType *string `json:"InAcctType,omitempty" name:"InAcctType"`

	// STRING(32),交易网会员代码
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(50),见证子帐户的帐号
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// STRING(20),入金金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranAmt *string `json:"TranAmt,omitempty" name:"TranAmt"`

	// STRING(50),入金账号
	// 注意:此字段可能返回 null,表示取不到有效值。
	InAcctNo *string `json:"InAcctNo,omitempty" name:"InAcctNo"`

	// STRING(150),入金账户名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	InAcctName *string `json:"InAcctName,omitempty" name:"InAcctName"`

	// STRING(3),币种
	// 注意:此字段可能返回 null,表示取不到有效值。
	Ccy *string `json:"Ccy,omitempty" name:"Ccy"`

	// STRING(8),会计日期(即银行主机记账日期)
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountingDate *string `json:"AccountingDate,omitempty" name:"AccountingDate"`

	// STRING(150),银行名称(付款账户银行名称)
	// 注意:此字段可能返回 null,表示取不到有效值。
	BankName *string `json:"BankName,omitempty" name:"BankName"`

	// STRING(300),转账备注
	// 注意:此字段可能返回 null,表示取不到有效值。
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// STRING(52),见证系统流水号
	// 注意:此字段可能返回 null,表示取不到有效值。
	FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`
}

type UnBindAcctRequest

type UnBindAcctRequest struct {
	*tchttp.BaseRequest

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 聚鑫计费SubAppId,代表子商户
	SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

	// 用于提现
	// <敏感信息>加密详见《商户端接口敏感信息加密说明》
	SettleAcctNo *string `json:"SettleAcctNo,omitempty" name:"SettleAcctNo"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 按照聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// 敏感信息加密类型:
	// RSA: rsa非对称加密,使用RSA-PKCS1-v1_5
	// AES: aes对称加密,使用AES256-CBC-PCKS7padding
	// 缺省: RSA
	EncryptType *string `json:"EncryptType,omitempty" name:"EncryptType"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewUnBindAcctRequest

func NewUnBindAcctRequest() (request *UnBindAcctRequest)

func (*UnBindAcctRequest) FromJsonString

func (r *UnBindAcctRequest) FromJsonString(s string) error

func (*UnBindAcctRequest) ToJsonString

func (r *UnBindAcctRequest) ToJsonString() string

type UnBindAcctResponse

type UnBindAcctResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUnBindAcctResponse

func NewUnBindAcctResponse() (response *UnBindAcctResponse)

func (*UnBindAcctResponse) FromJsonString

func (r *UnBindAcctResponse) FromJsonString(s string) error

func (*UnBindAcctResponse) ToJsonString

func (r *UnBindAcctResponse) ToJsonString() string

type UnbindRelateAcctRequest

type UnbindRelateAcctRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(2),功能标志(1: 解绑)
	FunctionFlag *string `json:"FunctionFlag,omitempty" name:"FunctionFlag"`

	// STRING(32),交易网会员代码(若需要把一个待绑定账户关联到两个会员名下,此字段可上送两个会员的交易网代码,并且须用“|::|”(右侧)进行分隔)
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(50),待解绑的提现账户的账号(提现账号)
	MemberAcctNo *string `json:"MemberAcctNo,omitempty" name:"MemberAcctNo"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewUnbindRelateAcctRequest

func NewUnbindRelateAcctRequest() (request *UnbindRelateAcctRequest)

func (*UnbindRelateAcctRequest) FromJsonString

func (r *UnbindRelateAcctRequest) FromJsonString(s string) error

func (*UnbindRelateAcctRequest) ToJsonString

func (r *UnbindRelateAcctRequest) ToJsonString() string

type UnbindRelateAcctResponse

type UnbindRelateAcctResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(52),见证系统流水号(即电商见证宝系统生成的流水号,可关联具体一笔请求)
		// 注意:此字段可能返回 null,表示取不到有效值。
		FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUnbindRelateAcctResponse

func NewUnbindRelateAcctResponse() (response *UnbindRelateAcctResponse)

func (*UnbindRelateAcctResponse) FromJsonString

func (r *UnbindRelateAcctResponse) FromJsonString(s string) error

func (*UnbindRelateAcctResponse) ToJsonString

func (r *UnbindRelateAcctResponse) ToJsonString() string

type UnifiedOrderInSubOrderList

type UnifiedOrderInSubOrderList struct {

	// 子订单结算应收金额,单位: 分
	SubMchIncome *int64 `json:"SubMchIncome,omitempty" name:"SubMchIncome"`

	// 子订单平台应收金额,单位:分
	PlatformIncome *int64 `json:"PlatformIncome,omitempty" name:"PlatformIncome"`

	// 子订单商品详情
	ProductDetail *string `json:"ProductDetail,omitempty" name:"ProductDetail"`

	// 子订单商品名称
	ProductName *string `json:"ProductName,omitempty" name:"ProductName"`

	// 聚鑫计费SubAppId,代表子商户
	SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

	// 子订单号
	SubOutTradeNo *string `json:"SubOutTradeNo,omitempty" name:"SubOutTradeNo"`

	// 子订单支付金额
	Amt *int64 `json:"Amt,omitempty" name:"Amt"`

	// 发货标识,由业务在调用聚鑫下单接口的 时候下发
	Metadata *string `json:"Metadata,omitempty" name:"Metadata"`

	// 子订单原始金额
	OriginalAmt *int64 `json:"OriginalAmt,omitempty" name:"OriginalAmt"`
}

type UnifiedOrderRequest

type UnifiedOrderRequest struct {
	*tchttp.BaseRequest

	// ISO 货币代码,CNY
	CurrencyType *string `json:"CurrencyType,omitempty" name:"CurrencyType"`

	// 聚鑫分配的支付主MidasAppId
	MidasAppId *string `json:"MidasAppId,omitempty" name:"MidasAppId"`

	// 支付订单号,仅支持数字、字母、下划线(_)、横杠字符(-)、点(.)的组合
	OutTradeNo *string `json:"OutTradeNo,omitempty" name:"OutTradeNo"`

	// 商品详情,需要URL编码
	ProductDetail *string `json:"ProductDetail,omitempty" name:"ProductDetail"`

	// 商品ID,仅支持数字、字母、下划线(_)、横杠字符(-)、点(.)的组合
	ProductId *string `json:"ProductId,omitempty" name:"ProductId"`

	// 商品名称,需要URL编码
	ProductName *string `json:"ProductName,omitempty" name:"ProductName"`

	// 支付金额,单位: 分
	TotalAmt *int64 `json:"TotalAmt,omitempty" name:"TotalAmt"`

	// 用户ID,长度不小于5位,仅支持字母和数字的组合
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 银行真实渠道.如:bank_pingan
	RealChannel *string `json:"RealChannel,omitempty" name:"RealChannel"`

	// 原始金额
	OriginalAmt *int64 `json:"OriginalAmt,omitempty" name:"OriginalAmt"`

	// 聚鑫分配的安全ID
	MidasSecretId *string `json:"MidasSecretId,omitempty" name:"MidasSecretId"`

	// 按照聚鑫安全密钥计算的签名
	MidasSignature *string `json:"MidasSignature,omitempty" name:"MidasSignature"`

	// Web端回调地址
	CallbackUrl *string `json:"CallbackUrl,omitempty" name:"CallbackUrl"`

	// 指定支付渠道:  wechat:微信支付  qqwallet:QQ钱包
	//  bank:网银支付  只有一个渠道时需要指定
	Channel *string `json:"Channel,omitempty" name:"Channel"`

	// 透传字段,支付成功回调透传给应用,用于业务透传自定义内容
	Metadata *string `json:"Metadata,omitempty" name:"Metadata"`

	// 购买数量,不传默认为1
	Quantity *int64 `json:"Quantity,omitempty" name:"Quantity"`

	// 聚鑫计费SubAppId,代表子商户
	SubAppId *string `json:"SubAppId,omitempty" name:"SubAppId"`

	// 子订单信息列表,格式:子订单号、子应用ID、金额。 压缩后最长不可超过65535字节(去除空格,换行,制表符等无意义字符)
	// 注:接入银行或其他支付渠道服务商模式下,必传
	SubOrderList []*UnifiedOrderInSubOrderList `json:"SubOrderList,omitempty" name:"SubOrderList" list`

	// 结算应收金额,单位:分
	TotalMchIncome *int64 `json:"TotalMchIncome,omitempty" name:"TotalMchIncome"`

	// 平台应收金额,单位:分
	TotalPlatformIncome *int64 `json:"TotalPlatformIncome,omitempty" name:"TotalPlatformIncome"`

	// 微信公众号/小程序支付时为必选,需要传微信下的openid
	WxOpenId *string `json:"WxOpenId,omitempty" name:"WxOpenId"`

	// 在服务商模式下,微信公众号/小程序支付时wx_sub_openid和wx_openid二选一
	WxSubOpenId *string `json:"WxSubOpenId,omitempty" name:"WxSubOpenId"`

	// 环境名:
	// release: 现网环境
	// sandbox: 沙箱环境
	// development: 开发环境
	// 缺省: release
	MidasEnvironment *string `json:"MidasEnvironment,omitempty" name:"MidasEnvironment"`
}

func NewUnifiedOrderRequest

func NewUnifiedOrderRequest() (request *UnifiedOrderRequest)

func (*UnifiedOrderRequest) FromJsonString

func (r *UnifiedOrderRequest) FromJsonString(s string) error

func (*UnifiedOrderRequest) ToJsonString

func (r *UnifiedOrderRequest) ToJsonString() string

type UnifiedOrderResponse

type UnifiedOrderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 支付金额,单位: 分
		TotalAmt *int64 `json:"TotalAmt,omitempty" name:"TotalAmt"`

		// 应用支付订单号
		OutTradeNo *string `json:"OutTradeNo,omitempty" name:"OutTradeNo"`

		// 支付参数透传给聚鑫SDK(原文透传给SDK即可,不需要解码)
		PayInfo *string `json:"PayInfo,omitempty" name:"PayInfo"`

		// 聚鑫的交易订单
		TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUnifiedOrderResponse

func NewUnifiedOrderResponse() (response *UnifiedOrderResponse)

func (*UnifiedOrderResponse) FromJsonString

func (r *UnifiedOrderResponse) FromJsonString(s string) error

func (*UnifiedOrderResponse) ToJsonString

func (r *UnifiedOrderResponse) ToJsonString() string

type WithdrawBill

type WithdrawBill struct {

	// 业务提现订单号
	WithdrawOrderId *string `json:"WithdrawOrderId,omitempty" name:"WithdrawOrderId"`

	// 提现日期
	Date *string `json:"Date,omitempty" name:"Date"`

	// 提现金额,单位: 分
	PayAmt *string `json:"PayAmt,omitempty" name:"PayAmt"`

	// 聚鑫分配转入账户appid
	InSubAppId *string `json:"InSubAppId,omitempty" name:"InSubAppId"`

	// 聚鑫分配转出账户appid
	OutSubAppId *string `json:"OutSubAppId,omitempty" name:"OutSubAppId"`

	// ISO货币代码
	CurrencyType *string `json:"CurrencyType,omitempty" name:"CurrencyType"`

	// 透传字段
	MetaData *string `json:"MetaData,omitempty" name:"MetaData"`

	// 扩展字段
	ExtendFieldData *string `json:"ExtendFieldData,omitempty" name:"ExtendFieldData"`
}

type WithdrawCashMembershipRequest

type WithdrawCashMembershipRequest struct {
	*tchttp.BaseRequest

	// String(22),商户号(签约客户号)
	MrchCode *string `json:"MrchCode,omitempty" name:"MrchCode"`

	// STRING(150),交易网名称(市场名称)
	TranWebName *string `json:"TranWebName,omitempty" name:"TranWebName"`

	// STRING(5),会员证件类型(详情见“常见问题”)
	MemberGlobalType *string `json:"MemberGlobalType,omitempty" name:"MemberGlobalType"`

	// STRING(32),会员证件号码
	MemberGlobalId *string `json:"MemberGlobalId,omitempty" name:"MemberGlobalId"`

	// STRING(32),交易网会员代码
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(150),会员名称
	MemberName *string `json:"MemberName,omitempty" name:"MemberName"`

	// STRING(50),提现账号(银行卡)
	TakeCashAcctNo *string `json:"TakeCashAcctNo,omitempty" name:"TakeCashAcctNo"`

	// STRING(150),出金账户名称(银行卡户名)
	OutAmtAcctName *string `json:"OutAmtAcctName,omitempty" name:"OutAmtAcctName"`

	// STRING(3),币种(默认为RMB)
	Ccy *string `json:"Ccy,omitempty" name:"Ccy"`

	// STRING(20),可提现金额
	CashAmt *string `json:"CashAmt,omitempty" name:"CashAmt"`

	// STRING(300),备注(建议可送订单号,可在对账文件的备注字段获取到)
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// STRING(1027),保留域
	ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

	// STRING(300),网银签名
	WebSign *string `json:"WebSign,omitempty" name:"WebSign"`

	// STRING(12),接入环境,默认接入沙箱环境。接入正式环境填"prod"
	Profile *string `json:"Profile,omitempty" name:"Profile"`
}

func NewWithdrawCashMembershipRequest

func NewWithdrawCashMembershipRequest() (request *WithdrawCashMembershipRequest)

func (*WithdrawCashMembershipRequest) FromJsonString

func (r *WithdrawCashMembershipRequest) FromJsonString(s string) error

func (*WithdrawCashMembershipRequest) ToJsonString

func (r *WithdrawCashMembershipRequest) ToJsonString() string

type WithdrawCashMembershipResponse

type WithdrawCashMembershipResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// String(20),返回码
		TxnReturnCode *string `json:"TxnReturnCode,omitempty" name:"TxnReturnCode"`

		// String(100),返回信息
		TxnReturnMsg *string `json:"TxnReturnMsg,omitempty" name:"TxnReturnMsg"`

		// String(22),交易流水号
		CnsmrSeqNo *string `json:"CnsmrSeqNo,omitempty" name:"CnsmrSeqNo"`

		// STRING(52),见证系统流水号
		// 注意:此字段可能返回 null,表示取不到有效值。
		FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

		// STRING(20),转账手续费(固定返回0.00)
		// 注意:此字段可能返回 null,表示取不到有效值。
		TransferFee *string `json:"TransferFee,omitempty" name:"TransferFee"`

		// STRING(1027),保留域
		// 注意:此字段可能返回 null,表示取不到有效值。
		ReservedMsg *string `json:"ReservedMsg,omitempty" name:"ReservedMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewWithdrawCashMembershipResponse

func NewWithdrawCashMembershipResponse() (response *WithdrawCashMembershipResponse)

func (*WithdrawCashMembershipResponse) FromJsonString

func (r *WithdrawCashMembershipResponse) FromJsonString(s string) error

func (*WithdrawCashMembershipResponse) ToJsonString

func (r *WithdrawCashMembershipResponse) ToJsonString() string

type WithdrawItem

type WithdrawItem struct {

	// STRING(2),记账标志(01: 提现; 02: 清分 )
	// 注意:此字段可能返回 null,表示取不到有效值。
	BookingFlag *string `json:"BookingFlag,omitempty" name:"BookingFlag"`

	// STRING(32),交易状态(0: 成功)
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranStatus *string `json:"TranStatus,omitempty" name:"TranStatus"`

	// STRING(200),记账说明
	// 注意:此字段可能返回 null,表示取不到有效值。
	BookingMsg *string `json:"BookingMsg,omitempty" name:"BookingMsg"`

	// STRING(32),交易网会员代码
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranNetMemberCode *string `json:"TranNetMemberCode,omitempty" name:"TranNetMemberCode"`

	// STRING(50),见证子帐户的帐号
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubAcctNo *string `json:"SubAcctNo,omitempty" name:"SubAcctNo"`

	// STRING(150),见证子账户的名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubAcctName *string `json:"SubAcctName,omitempty" name:"SubAcctName"`

	// STRING(20),交易金额
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranAmt *string `json:"TranAmt,omitempty" name:"TranAmt"`

	// STRING(20),手续费
	// 注意:此字段可能返回 null,表示取不到有效值。
	Commission *string `json:"Commission,omitempty" name:"Commission"`

	// STRING(8),交易日期
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranDate *string `json:"TranDate,omitempty" name:"TranDate"`

	// STRING(20),交易时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	TranTime *string `json:"TranTime,omitempty" name:"TranTime"`

	// STRING(52),见证系统流水号
	// 注意:此字段可能返回 null,表示取不到有效值。
	FrontSeqNo *string `json:"FrontSeqNo,omitempty" name:"FrontSeqNo"`

	// STRING(300),备注
	// 注意:此字段可能返回 null,表示取不到有效值。
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

Jump to

Keyboard shortcuts

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