Documentation
¶
Index ¶
- type FileUploadOption
- type FileUploadResult
- type M
- type Option
- type ResponseBody
- type Tm1010Dto
- func (x *Tm1010Dto) SetAcctNum(v string) *Tm1010Dto
- func (x *Tm1010Dto) SetBindType(v string) *Tm1010Dto
- func (x *Tm1010Dto) SetCvv2(v string) *Tm1010Dto
- func (x *Tm1010Dto) SetMemberRole(v string) *Tm1010Dto
- func (x *Tm1010Dto) SetPhone(v string) *Tm1010Dto
- func (x *Tm1010Dto) SetValidDate(v string) *Tm1010Dto
- type Tm1010Result
- type Tm1011Dto
- type Tm1011Result
- type Tm1012Dto
- type Tm1012JumpURLResult
- type Tm1012Result
- type Tm1013Dto
- type Tm1013JumpURLResult
- type Tm1013Result
- type Tm1014Dto
- type Tm1014Result
- type Tm1015Dto
- type Tm1015Result
- type Tm1020BankAcctDetail
- func (t *Tm1020BankAcctDetail) SetAcctAttr(acctAttr string) *Tm1020BankAcctDetail
- func (t *Tm1020BankAcctDetail) SetBankReservePhone(bankReservePhone string) *Tm1020BankAcctDetail
- func (t *Tm1020BankAcctDetail) SetOpenBankBranchName(openBankBranchName string) *Tm1020BankAcctDetail
- func (t *Tm1020BankAcctDetail) SetOpenBankNo(openBankNo string) *Tm1020BankAcctDetail
- func (t *Tm1020BankAcctDetail) SetPayBankNumber(payBankNumber string) *Tm1020BankAcctDetail
- type Tm1020Dto
- type Tm1020EnterpriseBaseInfo
- func (t *Tm1020EnterpriseBaseInfo) SetBusLicenseValidate(busLicenseValidate string) *Tm1020EnterpriseBaseInfo
- func (t *Tm1020EnterpriseBaseInfo) SetEnterpriseNature(enterpriseNature string) *Tm1020EnterpriseBaseInfo
- func (t *Tm1020EnterpriseBaseInfo) SetIdValidateEnd(idValidateEnd string) *Tm1020EnterpriseBaseInfo
- func (t *Tm1020EnterpriseBaseInfo) SetIdValidateStart(idValidateStart string) *Tm1020EnterpriseBaseInfo
- func (t *Tm1020EnterpriseBaseInfo) SetLegpCerBackFileId(legpCerBackFileId string) *Tm1020EnterpriseBaseInfo
- func (t *Tm1020EnterpriseBaseInfo) SetLegpCerFrontFileId(legpCerFrontFileId string) *Tm1020EnterpriseBaseInfo
- func (t *Tm1020EnterpriseBaseInfo) SetUnifiedSocialCreditFileId(unifiedSocialCreditFileId string) *Tm1020EnterpriseBaseInfo
- type Tm1020Result
- type Tm1022Dto
- type Tm1022Result
- type Tm1023BalanceDetail
- type Tm1023Dto
- type Tm1023Result
- type Tm1024Dto
- type Tm1024Result
- type Tm1024SybMerchant
- type Tm1025Attachments
- func (t *Tm1025Attachments) SetBeneficiaryFile(beneficiaryFile string) *Tm1025Attachments
- func (t *Tm1025Attachments) SetLegalFacePhoto(legalFacePhoto string) *Tm1025Attachments
- func (t *Tm1025Attachments) SetLegalNationalEmblemPhoto(legalNationalEmblemPhoto string) *Tm1025Attachments
- func (t *Tm1025Attachments) SetUnifiedSocialCreditPhoto(unifiedSocialCreditPhoto string) *Tm1025Attachments
- type Tm1025BankAcctDetail
- func (t *Tm1025BankAcctDetail) SetAcctAttr(acctAttr string) *Tm1025BankAcctDetail
- func (t *Tm1025BankAcctDetail) SetBankReservePhone(bankReservePhone string) *Tm1025BankAcctDetail
- func (t *Tm1025BankAcctDetail) SetOpenBankBranchName(openBankBranchName string) *Tm1025BankAcctDetail
- func (t *Tm1025BankAcctDetail) SetOpenBankNo(openBankNo string) *Tm1025BankAcctDetail
- func (t *Tm1025BankAcctDetail) SetPayBankNumber(payBankNumber string) *Tm1025BankAcctDetail
- type Tm1025Dto
- type Tm1025EnterpriseBaseInfo
- func (t *Tm1025EnterpriseBaseInfo) SetAddressCode(addressCode string) *Tm1025EnterpriseBaseInfo
- func (t *Tm1025EnterpriseBaseInfo) SetEnterpriseAdress(enterpriseAdress string) *Tm1025EnterpriseBaseInfo
- func (t *Tm1025EnterpriseBaseInfo) SetEnterpriseName(enterpriseName string) *Tm1025EnterpriseBaseInfo
- func (t *Tm1025EnterpriseBaseInfo) SetLegalPersonCerNum(legalPersonCerNum string) *Tm1025EnterpriseBaseInfo
- func (t *Tm1025EnterpriseBaseInfo) SetLegalPersonCerType(legalPersonCerType string) *Tm1025EnterpriseBaseInfo
- func (t *Tm1025EnterpriseBaseInfo) SetLegalPersonName(legalPersonName string) *Tm1025EnterpriseBaseInfo
- func (t *Tm1025EnterpriseBaseInfo) SetLegalPersonPhone(legalPersonPhone string) *Tm1025EnterpriseBaseInfo
- func (t *Tm1025EnterpriseBaseInfo) SetUnifiedSocialCredit(unifiedSocialCredit string) *Tm1025EnterpriseBaseInfo
- type Tm1025LegAndBeneficiaryInfo
- type Tm1025Result
- type Tm1026Dto
- type Tm1026Result
- type Tm1027AcctInfo
- type Tm1027Agreement
- type Tm1027BindPhoneJson
- type Tm1027Dto
- type Tm1027EnterpriseInfo
- type Tm1027MemberControlInfo
- type Tm1027OcrResultJson
- type Tm1027PayAcctAuditJson
- type Tm1027PayAcctOpenJson
- type Tm1027PersonInfo
- type Tm1027Result
- type Tm1027SettleAcctInfo
- type Tm1029Dto
- type Tm1029NotifyResult
- type Tm1029Result
- type Tm1030AuthPerInfo
- type Tm1030Dto
- type Tm1030Result
- type Tm1031Dto
- type Tm1031Result
- type Tm1032Dto
- type Tm1032Result
- type Tm1033BankAcctDetail
- type Tm1033Dto
- type Tm1033Result
- type Tm1035Dto
- type Tm1035EnterpriseBaseInfo
- type Tm1035Result
- type Tm1043Dto
- type Tm1043Result
- type Tm1050Dto
- type Tm1050Result
- type Tm1051AcctAgreementJson
- type Tm1051AuthPerAgreeInfo
- type Tm1051Dto
- type Tm1051PayAgreementJson
- type Tm1051Result
- type Tm1052NotifyResult
- type Tm1053Dto
- type Tm1053Result
- type Tm2299Dto
- type Tm2299Result
- type Tm4001Dto
- func (x *Tm4001Dto) SetDeviceType(v string) *Tm4001Dto
- func (x *Tm4001Dto) SetOrgID(v string) *Tm4001Dto
- func (x *Tm4001Dto) SetQueryType(v string) *Tm4001Dto
- func (x *Tm4001Dto) SetTermAddress(v string) *Tm4001Dto
- func (x *Tm4001Dto) SetTermSn(v string) *Tm4001Dto
- func (x *Tm4001Dto) SetTermState(v string) *Tm4001Dto
- type Tm4001Result
- type Tm4043Dto
- type Tm4043Result
- type Tq1062Dto
- type Tq1062InExpDetail
- type Tq1062Result
- type Tq3001Dto
- type Tq3001Result
- type Tq3002Dto
- type Tq3002Result
- type Tq3004AcctDetail
- type Tq3004Dto
- func (x *Tq3004Dto) SetBeginTime(beginTime string) *Tq3004Dto
- func (x *Tq3004Dto) SetEndTime(endTime string) *Tq3004Dto
- func (x *Tq3004Dto) SetQryCount(qryCount string) *Tq3004Dto
- func (x *Tq3004Dto) SetQryStart(qryStart string) *Tq3004Dto
- func (x *Tq3004Dto) SetQryTransCode(qryTransCode string) *Tq3004Dto
- func (x *Tq3004Dto) SetRespTraceNum(respTraceNum string) *Tq3004Dto
- type Tq3004Result
- type Tq3007Dto
- type Tq3007Result
- type Tq3007ResultItem
- type Tq4003Dto
- type Tq4003Result
- type Tx2084Dto
- func (x *Tx2084Dto) SetAcctNum(v string) *Tx2084Dto
- func (x *Tx2084Dto) SetAcctType(v string) *Tx2084Dto
- func (x *Tx2084Dto) SetExtendParams(v string) *Tx2084Dto
- func (x *Tx2084Dto) SetInAcctNum(v string) *Tx2084Dto
- func (x *Tx2084Dto) SetInAcctType(v string) *Tx2084Dto
- func (x *Tx2084Dto) SetRespUrl(v string) *Tx2084Dto
- func (x *Tx2084Dto) SetSummary(v string) *Tx2084Dto
- type Tx2084Result
- type Tx2085Dto
- func (x *Tx2085Dto) SetCouponAmount(v int64) *Tx2085Dto
- func (x *Tx2085Dto) SetExtendParams(v string) *Tx2085Dto
- func (x *Tx2085Dto) SetGoodsDesc(v string) *Tx2085Dto
- func (x *Tx2085Dto) SetGoodsName(v string) *Tx2085Dto
- func (x *Tx2085Dto) SetOrderValidTime(v string) *Tx2085Dto
- func (x *Tx2085Dto) SetPayAmount(v int64) *Tx2085Dto
- func (x *Tx2085Dto) SetPayMode(v M) *Tx2085Dto
- func (x *Tx2085Dto) SetPromotionAmount(v int64) *Tx2085Dto
- func (x *Tx2085Dto) SetReqsUrl(v string) *Tx2085Dto
- func (x *Tx2085Dto) SetRespUrl(v string) *Tx2085Dto
- func (x *Tx2085Dto) SetSepDetail(v []*Tx2085SepDetail) *Tx2085Dto
- func (x *Tx2085Dto) SetSepDetailSource(v string) *Tx2085Dto
- func (x *Tx2085Dto) SetSignNum(v string) *Tx2085Dto
- func (x *Tx2085Dto) SetTxDistrictCode(v string) *Tx2085Dto
- type Tx2085Result
- type Tx2085SepDetail
- type Tx2086Dto
- type Tx2086Result
- type Tx2089Dto
- func (x *Tx2089Dto) SetBizGoodsNo(v string) *Tx2089Dto
- func (x *Tx2089Dto) SetExtendParams(v string) *Tx2089Dto
- func (x *Tx2089Dto) SetGoodsDesc(v string) *Tx2089Dto
- func (x *Tx2089Dto) SetGoodsName(v string) *Tx2089Dto
- func (x *Tx2089Dto) SetGoodsType(v string) *Tx2089Dto
- func (x *Tx2089Dto) SetOrderValidTime(v string) *Tx2089Dto
- func (x *Tx2089Dto) SetPayAmount(v int64) *Tx2089Dto
- func (x *Tx2089Dto) SetPromotionAmount(v int64) *Tx2089Dto
- func (x *Tx2089Dto) SetReqsUrl(v string) *Tx2089Dto
- func (x *Tx2089Dto) SetRespUrl(v string) *Tx2089Dto
- func (x *Tx2089Dto) SetSignNum(v string) *Tx2089Dto
- func (x *Tx2089Dto) SetSummary(v string) *Tx2089Dto
- func (x *Tx2089Dto) SetTxDistrictCode(v string) *Tx2089Dto
- type Tx2089Receiver
- type Tx2089Result
- type Tx2090Dto
- func (x *Tx2090Dto) SetExtendParams(v string) *Tx2090Dto
- func (x *Tx2090Dto) SetOrgReqTraceNum(v string) *Tx2090Dto
- func (x *Tx2090Dto) SetOrgRespTraceNum(v string) *Tx2090Dto
- func (x *Tx2090Dto) SetOrgTransDate(v string) *Tx2090Dto
- func (x *Tx2090Dto) SetRespUrl(v string) *Tx2090Dto
- func (x *Tx2090Dto) SetSummary(v string) *Tx2090Dto
- type Tx2090Receiver
- type Tx2090Result
- type Tx2090SepDetail
- type Tx2091Apply
- type Tx2091ApplyInfo
- func (x *Tx2091ApplyInfo) SetCouponAmount(v int64) *Tx2091ApplyInfo
- func (x *Tx2091ApplyInfo) SetOrgReqTraceNum(v string) *Tx2091ApplyInfo
- func (x *Tx2091ApplyInfo) SetOrgRespTraceNum(v string) *Tx2091ApplyInfo
- func (x *Tx2091ApplyInfo) SetOrgTransDate(v string) *Tx2091ApplyInfo
- func (x *Tx2091ApplyInfo) SetSepDetail(v []*Tx2091SepDetail) *Tx2091ApplyInfo
- type Tx2091Dto
- type Tx2091Result
- type Tx2091SepDetail
- type Tx2094Dto
- type Tx2094Receiver
- type Tx2094Result
- type Tx2094SepDetail
- type Tx2096Dto
- func (x *Tx2096Dto) SetCouponAmount(v int64) *Tx2096Dto
- func (x *Tx2096Dto) SetExtendParams(v string) *Tx2096Dto
- func (x *Tx2096Dto) SetGoodsDesc(v string) *Tx2096Dto
- func (x *Tx2096Dto) SetGoodsName(v string) *Tx2096Dto
- func (x *Tx2096Dto) SetIsHandleChannelFee(v string) *Tx2096Dto
- func (x *Tx2096Dto) SetOrderValidTime(v string) *Tx2096Dto
- func (x *Tx2096Dto) SetPayAmount(v int64) *Tx2096Dto
- func (x *Tx2096Dto) SetPayMode(v M) *Tx2096Dto
- func (x *Tx2096Dto) SetPlatAcctType(v string) *Tx2096Dto
- func (x *Tx2096Dto) SetPromotionAmount(v int64) *Tx2096Dto
- func (x *Tx2096Dto) SetReqsUrl(v string) *Tx2096Dto
- func (x *Tx2096Dto) SetRespUrl(v string) *Tx2096Dto
- func (x *Tx2096Dto) SetSignNum(v string) *Tx2096Dto
- func (x *Tx2096Dto) SetSummary(v string) *Tx2096Dto
- func (x *Tx2096Dto) SetTxDistrictCode(v string) *Tx2096Dto
- type Tx2096Result
- type Tx2099Dto
- type Tx2099Result
- type Tx2099Transfer
- type Tx2286Dto
- type Tx2286Result
- type Tx2290Dto
- func (x *Tx2290Dto) SetAcctType(v string) *Tx2290Dto
- func (x *Tx2290Dto) SetCouponAmount(v int64) *Tx2290Dto
- func (x *Tx2290Dto) SetExtendParams(v string) *Tx2290Dto
- func (x *Tx2290Dto) SetPayAcctNo(v string) *Tx2290Dto
- func (x *Tx2290Dto) SetPayMode(v M) *Tx2290Dto
- func (x *Tx2290Dto) SetReceiveAcctType(v string) *Tx2290Dto
- func (x *Tx2290Dto) SetRespUrl(v string) *Tx2290Dto
- func (x *Tx2290Dto) SetSummary(v string) *Tx2290Dto
- func (x *Tx2290Dto) SetWithdrawType(v string) *Tx2290Dto
- type Tx2290Result
- type Tx2293Dto
- type Tx2293Result
- type Tx2294ChnlDiscAmt
- type Tx2294Dto
- func (x *Tx2294Dto) SetChnlDiscAmt(v Tx2294ChnlDiscAmt) *Tx2294Dto
- func (x *Tx2294Dto) SetExtendParams(v string) *Tx2294Dto
- func (x *Tx2294Dto) SetIsAdvancePay(v string) *Tx2294Dto
- func (x *Tx2294Dto) SetIsFundAllocation(v string) *Tx2294Dto
- func (x *Tx2294Dto) SetOrgReqTraceNum(v string) *Tx2294Dto
- func (x *Tx2294Dto) SetOrgRespTraceNum(v string) *Tx2294Dto
- func (x *Tx2294Dto) SetOrgTransDate(v string) *Tx2294Dto
- func (x *Tx2294Dto) SetPromotionAmount(v int64) *Tx2294Dto
- func (x *Tx2294Dto) SetReason(v string) *Tx2294Dto
- func (x *Tx2294Dto) SetRefundDetail(v []*Tx2294RefundDetail) *Tx2294Dto
- func (x *Tx2294Dto) SetRemark(v string) *Tx2294Dto
- func (x *Tx2294Dto) SetRespUrl(v string) *Tx2294Dto
- func (x *Tx2294Dto) SetSummary(v string) *Tx2294Dto
- func (x *Tx2294Dto) SetSvcRefundDetail(v []*Tx2294SvcRefundDetail) *Tx2294Dto
- func (x *Tx2294Dto) SetWechatPayB2bRefundDetail(v *Tx2294WechatPayB2bRefundDetail) *Tx2294Dto
- type Tx2294RefundDetail
- type Tx2294Result
- type Tx2294SepDetail
- type Tx2294SvcRefundDetail
- type Tx2294WechatPayB2bRefundDetail
- type Tx2295Dto
- type Tx2295Result
- type Tx3010Dto
- type Tx3010Result
- type Tx4006Dto
- type Tx4006NotifyResult
- type Tx4006Result
- type Tx4013Dto
- func (x *Tx4013Dto) SetAgreeIDList(v string) *Tx4013Dto
- func (x *Tx4013Dto) SetDigID(v string) *Tx4013Dto
- func (x *Tx4013Dto) SetMktInfo(v *Tx4013MktInfo) *Tx4013Dto
- func (x *Tx4013Dto) SetNoPayType(v string) *Tx4013Dto
- func (x *Tx4013Dto) SetOrgAppID(v string) *Tx4013Dto
- func (x *Tx4013Dto) SetOrgID(v string) *Tx4013Dto
- type Tx4013MktInfo
- type Tx4013Result
- type Tx4016Dto
- type Tx4016NotifyResult
- type Tx4016Result
- type Tx4023Dto
- type Tx4023Result
- type Tx4037Dto
- type Tx4037Result
- type Yst2Ka
- func (x *Yst2Ka) FileUpload(ctx context.Context, opt FileUploadOption) (_ *FileUploadResult, err error)
- func (x *Yst2Ka) GetAcctInfos(ctx context.Context, signNum string) (infos []*Tm1027AcctInfo, err error)
- func (x *Yst2Ka) GetAgreements(ctx context.Context, signNum string) (agreements []*Tm1027Agreement, err error)
- func (x *Yst2Ka) GetBindPhoneJson(ctx context.Context, signNum string) (bindPhone Tm1027BindPhoneJson, err error)
- func (x *Yst2Ka) GetEnterpriseInfo(ctx context.Context, signNum string) (info Tm1027EnterpriseInfo, err error)
- func (x *Yst2Ka) GetMemberBalanceDetails(ctx context.Context, signNum string) (details []*Tm1023BalanceDetail, err error)
- func (x *Yst2Ka) GetMemberControlInfo(ctx context.Context, signNum string) (info Tm1027MemberControlInfo, err error)
- func (x *Yst2Ka) GetNow(ctx context.Context) time.Time
- func (x *Yst2Ka) GetOcrResultJson(ctx context.Context, signNum string) (ocr Tm1027OcrResultJson, err error)
- func (x *Yst2Ka) GetPayAcctAuditJson(ctx context.Context, signNum string) (info Tm1027PayAcctAuditJson, err error)
- func (x *Yst2Ka) GetPayAcctOpenJson(ctx context.Context, signNum string) (info Tm1027PayAcctOpenJson, err error)
- func (x *Yst2Ka) GetPersonInfo(ctx context.Context, signNum string) (info Tm1027PersonInfo, err error)
- func (x *Yst2Ka) GetPlatformBalanceDetail(ctx context.Context) (detail Tm1023BalanceDetail, err error)
- func (x *Yst2Ka) GetPrivateKey() *sm2.PrivateKey
- func (x *Yst2Ka) GetPublicKey() *ecdsa.PublicKey
- func (x *Yst2Ka) GetSettleAcctInfo(ctx context.Context, signNum string) (info Tm1027SettleAcctInfo, err error)
- func (x *Yst2Ka) GetbankSubAcctInfo(ctx context.Context, signNum string) (info M, err error)
- func (x *Yst2Ka) Request(ctx context.Context, path string, code string, data string) (_ string, err error)
- func (x *Yst2Ka) SetNow(ctx context.Context, ts time.Time) context.Context
- func (x *Yst2Ka) Tm1010(ctx context.Context, dto *Tm1010Dto) (_ *Tm1010Result, err error)
- func (x *Yst2Ka) Tm1011(ctx context.Context, dto *Tm1011Dto) (_ *Tm1011Result, err error)
- func (x *Yst2Ka) Tm1012(ctx context.Context, dto *Tm1012Dto) (_ *Tm1012Result, err error)
- func (x *Yst2Ka) Tm1013(ctx context.Context, dto *Tm1013Dto) (_ *Tm1013Result, err error)
- func (x *Yst2Ka) Tm1014(ctx context.Context, dto *Tm1014Dto) (_ *Tm1014Result, err error)
- func (x *Yst2Ka) Tm1015(ctx context.Context, dto *Tm1015Dto) (_ *Tm1015Result, err error)
- func (x *Yst2Ka) Tm1020(ctx context.Context, dto *Tm1020Dto) (_ *Tm1020Result, err error)
- func (x *Yst2Ka) Tm1022(ctx context.Context, dto *Tm1022Dto) (_ *Tm1022Result, err error)
- func (x *Yst2Ka) Tm1023(ctx context.Context, dto *Tm1023Dto, i any) (err error)
- func (x *Yst2Ka) Tm1024(ctx context.Context, dto *Tm1024Dto) (_ *Tm1024Result, err error)
- func (x *Yst2Ka) Tm1025(ctx context.Context, dto *Tm1025Dto) (_ *Tm1025Result, err error)
- func (x *Yst2Ka) Tm1026(ctx context.Context, dto *Tm1026Dto) (_ *Tm1026Result, err error)
- func (x *Yst2Ka) Tm1027(ctx context.Context, dto *Tm1027Dto, i any) (err error)
- func (x *Yst2Ka) Tm1029(ctx context.Context, dto *Tm1029Dto) (_ *Tm1029Result, err error)
- func (x *Yst2Ka) Tm1030(ctx context.Context, dto *Tm1030Dto) (_ *Tm1030Result, err error)
- func (x *Yst2Ka) Tm1031(ctx context.Context, dto *Tm1031Dto) (_ *Tm1031Result, err error)
- func (x *Yst2Ka) Tm1032(ctx context.Context, dto *Tm1032Dto) (_ *Tm1032Result, err error)
- func (x *Yst2Ka) Tm1033(ctx context.Context, dto *Tm1033Dto) (_ *Tm1033Result, err error)
- func (x *Yst2Ka) Tm1035(ctx context.Context, dto *Tm1035Dto) (_ *Tm1035Result, err error)
- func (x *Yst2Ka) Tm1043(ctx context.Context, dto *Tm1043Dto) (_ *Tm1043Result, err error)
- func (x *Yst2Ka) Tm1050(ctx context.Context, dto *Tm1050Dto) (_ *Tm1050Result, err error)
- func (x *Yst2Ka) Tm1051(ctx context.Context, dto any) (_ *Tm1051Result, err error)
- func (x *Yst2Ka) Tm1053(ctx context.Context, dto *Tm1053Dto) (_ *Tm1053Result, err error)
- func (x *Yst2Ka) Tm2299(ctx context.Context, dto *Tm2299Dto) (_ *Tm2299Result, err error)
- func (x *Yst2Ka) Tm4001(ctx context.Context, dto *Tm4001Dto) (_ *Tm4001Result, err error)
- func (x *Yst2Ka) Tm4043(ctx context.Context, dto *Tm4043Dto) (_ *Tm4043Result, err error)
- func (x *Yst2Ka) Tq1062(ctx context.Context, dto *Tq1062Dto) (_ *Tq1062Result, err error)
- func (x *Yst2Ka) Tq3001(ctx context.Context, dto *Tq3001Dto) (_ *Tq3001Result, err error)
- func (x *Yst2Ka) Tq3002(ctx context.Context, dto *Tq3002Dto) (_ *Tq3002Result, err error)
- func (x *Yst2Ka) Tq3004(ctx context.Context, dto *Tq3004Dto) (_ *Tq3004Result, err error)
- func (x *Yst2Ka) Tq3007(ctx context.Context, dto *Tq3007Dto) (_ *Tq3007Result, err error)
- func (x *Yst2Ka) Tq4003(ctx context.Context, dto *Tq4003Dto) (_ *Tq4003Result, err error)
- func (x *Yst2Ka) Tx2084(ctx context.Context, dto *Tx2084Dto) (_ *Tx2084Result, err error)
- func (x *Yst2Ka) Tx2085(ctx context.Context, dto *Tx2085Dto) (_ *Tx2085Result, err error)
- func (x *Yst2Ka) Tx2086(ctx context.Context, dto *Tx2086Dto) (_ *Tx2086Result, err error)
- func (x *Yst2Ka) Tx2089(ctx context.Context, dto *Tx2089Dto) (_ *Tx2089Result, err error)
- func (x *Yst2Ka) Tx2090(ctx context.Context, dto *Tx2090Dto) (_ *Tx2090Result, err error)
- func (x *Yst2Ka) Tx2091(ctx context.Context, dto *Tx2091Dto) (_ *Tx2091Result, err error)
- func (x *Yst2Ka) Tx2094(ctx context.Context, dto *Tx2094Dto) (_ *Tx2094Result, err error)
- func (x *Yst2Ka) Tx2096(ctx context.Context, dto *Tx2096Dto) (_ *Tx2096Result, err error)
- func (x *Yst2Ka) Tx2099(ctx context.Context, dto *Tx2099Dto) (_ *Tx2099Result, err error)
- func (x *Yst2Ka) Tx2286(ctx context.Context, dto *Tx2286Dto) (_ *Tx2286Result, err error)
- func (x *Yst2Ka) Tx2290(ctx context.Context, dto *Tx2290Dto) (_ *Tx2290Result, err error)
- func (x *Yst2Ka) Tx2293(ctx context.Context, dto *Tx2293Dto) (_ *Tx2293Result, err error)
- func (x *Yst2Ka) Tx2294(ctx context.Context, dto *Tx2294Dto) (_ *Tx2294Result, err error)
- func (x *Yst2Ka) Tx2295(ctx context.Context, dto *Tx2295Dto) (_ *Tx2295Result, err error)
- func (x *Yst2Ka) Tx3010(ctx context.Context, dto *Tx3010Dto) (_ *Tx3010Result, err error)
- func (x *Yst2Ka) Tx4006(ctx context.Context, dto *Tx4006Dto) (_ *Tx4006Result, err error)
- func (x *Yst2Ka) Tx4013(ctx context.Context, dto *Tx4013Dto) (_ *Tx4013Result, err error)
- func (x *Yst2Ka) Tx4016(ctx context.Context, dto *Tx4016Dto) (_ *Tx4016Result, err error)
- func (x *Yst2Ka) Tx4023(ctx context.Context, dto *Tx4023Dto) (_ *Tx4023Result, err error)
- func (x *Yst2Ka) Tx4037(ctx context.Context, dto *Tx4037Dto) (_ *Tx4037Result, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileUploadOption ¶
type FileUploadResult ¶
type Option ¶
type Option struct {
BaseURL string `yaml:"base_url" env:"BASE_URL"`
PrivateKey string `yaml:"private_key" env:"PRIVATE_KEY"`
AllinpayPublicKey string `yaml:"allinpay_public_key" env:"ALLINPAY_PUBLIC_KEY"`
AppID string `yaml:"app_id" env:"APP_ID"`
SpAppID string `json:"sp_app_id" env:"SP_APP_ID"`
SecretKey string `yaml:"secret_key" env:"SECRET_KEY"`
}
type ResponseBody ¶
type Tm1010Dto ¶
type Tm1010Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
MemberRole string `json:"memberRole"` // 会员角色
Name string `json:"name"` // 姓名
CerType string `json:"cerType"` // 证件类型
CerNum string `json:"cerNum"` // 证件号码
AcctNum string `json:"acctNum"` // 银行卡号
Phone string `json:"phone"` // 银行预留手机
BindType string `json:"bindType"` // 绑卡方式
ValidDate string `json:"validDate"` // 有效期,格式为月年
Cvv2 string `json:"cvv2"` // CVV2
}
func NewTm1010Dto ¶
func (*Tm1010Dto) SetAcctNum ¶
func (*Tm1010Dto) SetBindType ¶
func (*Tm1010Dto) SetMemberRole ¶
func (*Tm1010Dto) SetValidDate ¶
type Tm1010Result ¶
type Tm1011Dto ¶
type Tm1011Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 请求流水号
SignNum string `json:"signNum"` // 商户会员编号
ApplyRespTraceNum string `json:"applyRespTraceNum"` // 申请响应业务关联流水号
Phone string `json:"phone"` // 银行预留手机号
ValidDate string `json:"validDate"` // 有效期
Cvv2 string `json:"cvv2"` // CVV2
VerifyCode string `json:"verifyCode"` // 短信验证码
}
func NewTm1011Dto ¶
func (*Tm1011Dto) SetValidDate ¶
type Tm1011Result ¶
type Tm1012Dto ¶ added in v1.0.0
type Tm1012Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
MemberRole string `json:"memberRole,omitempty"` // 会员角色
Name string `json:"name"` // 姓名
JumpPageType string `json:"jumpPageType,omitempty"` // 跳转页面类型,1-H5 页面 2-小程序页面
BackURL string `json:"backUrl"` // 异步通知地址
JumpURL string `json:"jumpUrl,omitempty"` // 成功跳转返回页面地址
}
func NewTm1012Dto ¶ added in v1.0.0
func (*Tm1012Dto) SetJumpPageType ¶ added in v1.0.0
func (*Tm1012Dto) SetJumpURL ¶ added in v1.0.0
func (*Tm1012Dto) SetMemberRole ¶ added in v1.0.0
type Tm1012JumpURLResult ¶ added in v1.0.0
type Tm1012JumpURLResult struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
Name string `json:"name"` // 会员名称
AuditResult string `json:"auditResult"` // 审核结果,2-审核成功 3-审核失败
AuditTime string `json:"auditTime"` // 审核时间
Remark string `json:"remark,omitempty"` // 人工审核备注
AuditResultMsg string `json:"auditResultMsg,omitempty"` // 失败原因
Phone string `json:"phone,omitempty"` // 绑定手机号
WithdrawAgreeStatus string `json:"withdrawAgreeStatus,omitempty"` // 账户提现协议状态
WithdrawAgreeNo string `json:"withdrawAgreeNo,omitempty"` // 账户提现协议签约编号
MembershipNo string `json:"membershipNo,omitempty"` // 会员关系证明函签约编号
MembershipStatus string `json:"membershipStatus,omitempty"` // 会员关系证明函协议状态
}
type Tm1012Result ¶ added in v1.0.0
type Tm1013Dto ¶ added in v1.0.0
type Tm1013Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
MemberRole string `json:"memberRole,omitempty"` // 会员角色
EnterpriseName string `json:"enterpriseName"` // 企业名称
EnterpriseNature string `json:"enterpriseNature,omitempty"` // 企业性质,1-企业 2-个体工商户 3-事业单位
JumpPageType string `json:"jumpPageType,omitempty"` // 跳转页面类型,1-H5 页面 2-小程序页面
BackURL string `json:"backUrl"` // 异步通知地址
JumpURL string `json:"jumpUrl,omitempty"` // 成功跳转返回页面地址
}
func NewTm1013Dto ¶ added in v1.0.0
func (*Tm1013Dto) SetEnterpriseNature ¶ added in v1.0.0
func (*Tm1013Dto) SetJumpPageType ¶ added in v1.0.0
func (*Tm1013Dto) SetJumpURL ¶ added in v1.0.0
func (*Tm1013Dto) SetMemberRole ¶ added in v1.0.0
type Tm1013JumpURLResult ¶ added in v1.0.0
type Tm1013JumpURLResult struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
EnterpriseName string `json:"enterpriseName"` // 企业名称
AuditResult string `json:"auditResult"` // 审核结果,2-审核成功 3-审核失败
AuditTime string `json:"auditTime"` // 审核时间
Remark string `json:"remark,omitempty"` // 人工审核备注
AuditResultMsg string `json:"auditResultMsg,omitempty"` // 失败原因
EnterpriseCompareResult string `json:"enterpriseCompareResult,omitempty"` // OCR 识别与工商认证信息是否一致
LegalPersonCompareResult string `json:"legalPersonCompareResult,omitempty"` // OCR 识别与法人实名信息是否一致
Phone string `json:"phone,omitempty"` // 绑定手机号
BindPhoneType string `json:"bindPhoneType,omitempty"` // 绑定手机号类型
WithdrawAgreeStatus string `json:"withdrawAgreeStatus,omitempty"` // 企业/个人主体账户提现协议状态
WithdrawAgreeNo string `json:"withdrawAgreeNo,omitempty"` // 企业/个人主体账户提现协议签约编号
MembershipNo string `json:"membershipNo,omitempty"` // 会员关系证明函签约编号
MembershipStatus string `json:"membershipStatus,omitempty"` // 会员关系证明函协议状态
}
type Tm1013Result ¶ added in v1.0.0
type Tm1014Dto ¶ added in v1.0.0
type Tm1014Result ¶ added in v1.0.0
type Tm1015Dto ¶ added in v1.0.0
type Tm1015Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 请求流水号
SignNum string `json:"signNum"` // 商户会员编号
MemberRole string `json:"memberRole,omitempty"` // 会员角色,未注册时按文档上送
Name string `json:"name"` // 姓名
CerType string `json:"cerType"` // 证件类型
CerNum string `json:"cerNum"` // 证件号码,SM4 加密
AcctNum string `json:"acctNum"` // 银行卡号,SM4 加密
Phone string `json:"phone"` // 银行预留手机
BindType string `json:"bindType"` // 绑卡方式
AgreementNo string `json:"agreementNo"` // 签约协议号
AgreeMerchant string `json:"agreeMerchant"` // 签约商户号
}
func NewTm1015Dto ¶ added in v1.0.0
func (*Tm1015Dto) SetMemberRole ¶ added in v1.0.0
type Tm1015Result ¶ added in v1.0.0
type Tm1020BankAcctDetail ¶
type Tm1020BankAcctDetail struct {
AcctAttr string `json:"acctAttr"` // 账户类型
AcctNum string `json:"acctNum"` // 账号
BankReservePhone string `json:"bankReservePhone"` // 银行预留手机
OpenBankNo string `json:"openBankNo"` // 银行代码
OpenBankBranchName string `json:"openBankBranchName"` // 开户行支行名称
PayBankNumber string `json:"payBankNumber"` // 支付行号,12位数字
OpenBankProvince string `json:"openBankProvince"` // 开户行所在省
OpenBankCity string `json:"openBankCity"` // 开户行所在市
}
func NewTm1020BankAcctDetail ¶
func NewTm1020BankAcctDetail( acctNum string, openBankProvince string, openBankCity string, ) *Tm1020BankAcctDetail
func (*Tm1020BankAcctDetail) SetAcctAttr ¶
func (t *Tm1020BankAcctDetail) SetAcctAttr(acctAttr string) *Tm1020BankAcctDetail
func (*Tm1020BankAcctDetail) SetBankReservePhone ¶
func (t *Tm1020BankAcctDetail) SetBankReservePhone(bankReservePhone string) *Tm1020BankAcctDetail
func (*Tm1020BankAcctDetail) SetOpenBankBranchName ¶
func (t *Tm1020BankAcctDetail) SetOpenBankBranchName(openBankBranchName string) *Tm1020BankAcctDetail
func (*Tm1020BankAcctDetail) SetOpenBankNo ¶
func (t *Tm1020BankAcctDetail) SetOpenBankNo(openBankNo string) *Tm1020BankAcctDetail
func (*Tm1020BankAcctDetail) SetPayBankNumber ¶
func (t *Tm1020BankAcctDetail) SetPayBankNumber(payBankNumber string) *Tm1020BankAcctDetail
type Tm1020Dto ¶
type Tm1020Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
MemberRole string `json:"memberRole"` // 会员角色
NotifyUrl string `json:"notifyUrl"` // 企业会员审核结果通知地址
EnterpriseBaseInfo *Tm1020EnterpriseBaseInfo `json:"enterpriseBaseInfo"` // 企业基本信息
BankAcctDetail *Tm1020BankAcctDetail `json:"bankAcctDetail"` // 银行账户信息
}
func NewTm1020Dto ¶
func (*Tm1020Dto) SetBankAcctDetail ¶
func (x *Tm1020Dto) SetBankAcctDetail(v *Tm1020BankAcctDetail) *Tm1020Dto
func (*Tm1020Dto) SetEnterpriseBaseInfo ¶
func (x *Tm1020Dto) SetEnterpriseBaseInfo(v *Tm1020EnterpriseBaseInfo) *Tm1020Dto
func (*Tm1020Dto) SetMemberRole ¶
type Tm1020EnterpriseBaseInfo ¶
type Tm1020EnterpriseBaseInfo struct {
EnterpriseName string `json:"enterpriseName"` // 企业名称
EnterpriseNature string `json:"enterpriseNature"` // 企业性质
AddressCode string `json:"addressCode"` // 省市地区码
EnterpriseAdress string `json:"enterpriseAdress"` // 企业注册地址
UnifiedSocialCredit string `json:"unifiedSocialCredit"` // 统一社会信用
BusLicenseValidate string `json:"busLicenseValidate"` // 营业证件有效期
LegalPersonName string `json:"legalPersonName"` // 法人姓名
LegalPersonCerType string `json:"legalPersonCerType"` // 法人证件类型
LegalPersonCerNum string `json:"legalPersonCerNum"` // 法人证件号码
IdValidateStart string `json:"idValidateStart"` // 法人证件有效开始日期
IdValidateEnd string `json:"idValidateEnd"` // 法人证件有效截止日期
LegalPersonPhone string `json:"legalPersonPhone"` // 法人手机号码
LegpCerFrontFileId string `json:"legpCerFrontFileId"` // 法人身份证(肖像面)
LegpCerBackFileId string `json:"legpCerBackFileId"` // 法人身份证(国徽面)
UnifiedSocialCreditFileId string `json:"unifiedSocialCreditFileId"` // 统一信用证
}
func (*Tm1020EnterpriseBaseInfo) SetBusLicenseValidate ¶
func (t *Tm1020EnterpriseBaseInfo) SetBusLicenseValidate(busLicenseValidate string) *Tm1020EnterpriseBaseInfo
func (*Tm1020EnterpriseBaseInfo) SetEnterpriseNature ¶
func (t *Tm1020EnterpriseBaseInfo) SetEnterpriseNature(enterpriseNature string) *Tm1020EnterpriseBaseInfo
func (*Tm1020EnterpriseBaseInfo) SetIdValidateEnd ¶
func (t *Tm1020EnterpriseBaseInfo) SetIdValidateEnd(idValidateEnd string) *Tm1020EnterpriseBaseInfo
func (*Tm1020EnterpriseBaseInfo) SetIdValidateStart ¶
func (t *Tm1020EnterpriseBaseInfo) SetIdValidateStart(idValidateStart string) *Tm1020EnterpriseBaseInfo
func (*Tm1020EnterpriseBaseInfo) SetLegpCerBackFileId ¶
func (t *Tm1020EnterpriseBaseInfo) SetLegpCerBackFileId(legpCerBackFileId string) *Tm1020EnterpriseBaseInfo
func (*Tm1020EnterpriseBaseInfo) SetLegpCerFrontFileId ¶
func (t *Tm1020EnterpriseBaseInfo) SetLegpCerFrontFileId(legpCerFrontFileId string) *Tm1020EnterpriseBaseInfo
func (*Tm1020EnterpriseBaseInfo) SetUnifiedSocialCreditFileId ¶
func (t *Tm1020EnterpriseBaseInfo) SetUnifiedSocialCreditFileId(unifiedSocialCreditFileId string) *Tm1020EnterpriseBaseInfo
type Tm1020Result ¶
type Tm1022Dto ¶
type Tm1022Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
NotifyUrl string `json:"notifyUrl"` // 企业会员审核结果通知地址
LegpCerFront string `json:"legpCerFront"` // 法人身份证(肖像面)
LegpCerBack string `json:"legpCerBack"` // 法人身份证(国徽面)
UnifiedSocialCredit string `json:"unifiedSocialCredit"` // 统一信用证
OtherPhotocopyType string `json:"otherPhotocopyType"` // 其他影印件类型
PhotocopyToken string `json:"photocopyToken"` // 影印件图片文件
}
func NewTm1022Dto ¶
func (*Tm1022Dto) SetLegpCerBack ¶
func (*Tm1022Dto) SetLegpCerFront ¶
func (*Tm1022Dto) SetOtherPhotocopyType ¶
func (*Tm1022Dto) SetPhotocopyToken ¶
func (*Tm1022Dto) SetUnifiedSocialCredit ¶
type Tm1022Result ¶
type Tm1023BalanceDetail ¶ added in v1.0.0
type Tm1023BalanceDetail struct {
AcctNum string `json:"acctNum"` // 账户号
AcctType string `json:"acctType"` // 账户类型 01-簿记账户 11-支付账户 02-应用营销账户 03-应用担保账户 04-应用预充手续费 09-应用储值卡账户 10-储值卡待结算户
TotalAmt int64 `json:"totalAmt"` // 总余额 可用+在途
TransitAmt int64 `json:"transitAmt"` // 在途余额
AvailableAmt int64 `json:"availableAmt"` // 可用余额 日终零点将"在途余额"更新至"可用余额"
YesAmt int64 `json:"yesAmt"` // 昨日期末余额 可用+在途
RetentionLimitAmt int64 `json:"retentionLimitAmt,omitempty"` // 账户留存额度 通过1043-账户留存额度管理接口设置后返回
}
type Tm1023Dto ¶
type Tm1023Dto struct {
SignNum string `json:"signNum"` // 商户会员编号
AcctType string `json:"acctType"` // 账户类型
}
func NewTm1023Dto ¶
func (*Tm1023Dto) SetAcctType ¶
type Tm1023Result ¶
type Tm1024Dto ¶ added in v1.0.0
type Tm1024Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 请求流水号
SignNum string `json:"signNum"` // 商户会员编号
OpType string `json:"opType"` // 操作类型,set-绑定收银宝商户 query-查询
MemberRole string `json:"memberRole,omitempty"` // 会员角色,未注册或未实名场景按文档上送
SybMerchantCode string `json:"sybMerchantCode,omitempty"` // 收银宝商户号,opType=set 时必填
}
func NewTm1024Dto ¶ added in v1.0.0
func (*Tm1024Dto) SetMemberRole ¶ added in v1.0.0
func (*Tm1024Dto) SetSybMerchantCode ¶ added in v1.0.0
type Tm1024Result ¶ added in v1.0.0
type Tm1024Result struct {
RespTraceNum string `json:"respTraceNum,omitempty"` // 响应流水号
SignNum string `json:"signNum,omitempty"` // 商户会员编号
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 失败原因
SybMerchantCodeArray []*Tm1024SybMerchant `json:"sybMerchantCodeArray,omitempty"` // 已绑定收银宝商户列表
}
type Tm1024SybMerchant ¶ added in v1.0.0
type Tm1025Attachments ¶
type Tm1025Attachments struct {
UnifiedSocialCreditPhoto string `json:"unifiedSocialCreditPhoto"` // 统一信用证照片
LegalNationalEmblemPhoto string `json:"legalNationalEmblemPhoto"` // 法人证件(国徽面)
LegalFacePhoto string `json:"legalFacePhoto"` // 法人证件(肤像面)
SettleAcctPhoto string `json:"settleAcctPhoto"` // 结算账户照
BusinessDoorHeadPhoto string `json:"businessDoorHeadPhoto"` // 经营门头照片
BusinessInteriorPhoto string `json:"businessInteriorPhoto"` // 经营内景照片
AccountManagerWithDoorPhoto string `json:"accountManagerWithDoorPhoto"` // 客户经理与门头照
AccountManagerHoldingIdCardPhoto string `json:"accountManagerHoldingIdCardPhoto"` // 客户经理手持身份证照片
BeneficiaryFile string `json:"beneficiaryFile"` // 受益所有人证明材料
}
func NewTm1025Attachments ¶
func (*Tm1025Attachments) SetBeneficiaryFile ¶
func (t *Tm1025Attachments) SetBeneficiaryFile(beneficiaryFile string) *Tm1025Attachments
func (*Tm1025Attachments) SetLegalFacePhoto ¶
func (t *Tm1025Attachments) SetLegalFacePhoto(legalFacePhoto string) *Tm1025Attachments
func (*Tm1025Attachments) SetLegalNationalEmblemPhoto ¶
func (t *Tm1025Attachments) SetLegalNationalEmblemPhoto(legalNationalEmblemPhoto string) *Tm1025Attachments
func (*Tm1025Attachments) SetUnifiedSocialCreditPhoto ¶
func (t *Tm1025Attachments) SetUnifiedSocialCreditPhoto(unifiedSocialCreditPhoto string) *Tm1025Attachments
type Tm1025BankAcctDetail ¶
type Tm1025BankAcctDetail struct {
AcctAttr string `json:"acctAttr"` // 账户类型
AcctNum string `json:"acctNum"` // 账号
BankReservePhone string `json:"bankReservePhone"` // 银行预留手机
OpenBankNo string `json:"openBankNo"` // 银行代码
OpenBankBranchName string `json:"openBankBranchName"` // 开户行支行名称
PayBankNumber string `json:"payBankNumber"` // 支付行号
OpenBankProvince string `json:"openBankProvince"` // 开户行所在省
OpenBankCity string `json:"openBankCity"` // 开户行所在市
}
func NewTm1025BankAcctDetail ¶
func NewTm1025BankAcctDetail( acctNum string, openBankProvince string, openBankCity string, ) *Tm1025BankAcctDetail
func (*Tm1025BankAcctDetail) SetAcctAttr ¶
func (t *Tm1025BankAcctDetail) SetAcctAttr(acctAttr string) *Tm1025BankAcctDetail
func (*Tm1025BankAcctDetail) SetBankReservePhone ¶
func (t *Tm1025BankAcctDetail) SetBankReservePhone(bankReservePhone string) *Tm1025BankAcctDetail
func (*Tm1025BankAcctDetail) SetOpenBankBranchName ¶
func (t *Tm1025BankAcctDetail) SetOpenBankBranchName(openBankBranchName string) *Tm1025BankAcctDetail
func (*Tm1025BankAcctDetail) SetOpenBankNo ¶
func (t *Tm1025BankAcctDetail) SetOpenBankNo(openBankNo string) *Tm1025BankAcctDetail
func (*Tm1025BankAcctDetail) SetPayBankNumber ¶
func (t *Tm1025BankAcctDetail) SetPayBankNumber(payBankNumber string) *Tm1025BankAcctDetail
type Tm1025Dto ¶
type Tm1025Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 请求流水号
SignNum string `json:"signNum"` // 商户会员编号
MemberRole string `json:"memberRole"` // 会员角色
EnterpriseNature string `json:"enterpriseNature"` // 企业性质
NotifyUrl string `json:"notifyUrl"` // 企业会员审核结果通知地址
EnterpriseBaseInfo *Tm1025EnterpriseBaseInfo `json:"enterpriseBaseInfo"` // 企业基本信息
LegaAndBeneficiaryInfo *Tm1025LegAndBeneficiaryInfo `json:"legaAndBeneficiaryInfo"` // 受益人信息
BankAcctDetail *Tm1025BankAcctDetail `json:"bankAcctDetail"` // 银行账户信息
Attachments *Tm1025Attachments `json:"attachments"` // 开户附件材料
}
func NewTm1025Dto ¶
func NewTm1025Dto( reqTraceNum string, signNum string, notifyUrl string, enterpriseBaseInfo *Tm1025EnterpriseBaseInfo, legaAndBeneficiaryInfo *Tm1025LegAndBeneficiaryInfo, bankAcctDetail *Tm1025BankAcctDetail, attachments *Tm1025Attachments, ) *Tm1025Dto
func (*Tm1025Dto) SetEnterpriseNature ¶
func (*Tm1025Dto) SetMemberRole ¶
type Tm1025EnterpriseBaseInfo ¶
type Tm1025EnterpriseBaseInfo struct {
EnterpriseName string `json:"enterpriseName"` // 企业名称
AddressCode string `json:"addressCode"` // 地区码
EnterpriseAdress string `json:"enterpriseAdress"` // 企业地址
UnifiedSocialCredit string `json:"unifiedSocialCredit"` // 统一社会信用
BusLicenseValidate string `json:"busLicenseValidate"` // 营业证件有效期
LegalPersonName string `json:"legalPersonName"` // 法人姓名
LegalPersonCerType string `json:"legalPersonCerType"` // 法人证件类型
LegalPersonCerNum string `json:"legalPersonCerNum"` // 法人证件号码
IdValidateStart string `json:"idValidateStart"` // 法人证件有效开始日期
IdValidateEnd string `json:"idValidateEnd"` // 法人证件有效截止日期
LegalPersonPhone string `json:"legalPersonPhone"` // 法人手机号码
BusiScope string `json:"busiScope"` // 经营内容
}
func NewTm1025EnterpriseBaseInfo ¶
func NewTm1025EnterpriseBaseInfo( busLicenseValidate string, idValidateStart string, idValidateEnd string, busiScope string, ) *Tm1025EnterpriseBaseInfo
func (*Tm1025EnterpriseBaseInfo) SetAddressCode ¶
func (t *Tm1025EnterpriseBaseInfo) SetAddressCode(addressCode string) *Tm1025EnterpriseBaseInfo
func (*Tm1025EnterpriseBaseInfo) SetEnterpriseAdress ¶
func (t *Tm1025EnterpriseBaseInfo) SetEnterpriseAdress(enterpriseAdress string) *Tm1025EnterpriseBaseInfo
func (*Tm1025EnterpriseBaseInfo) SetEnterpriseName ¶
func (t *Tm1025EnterpriseBaseInfo) SetEnterpriseName(enterpriseName string) *Tm1025EnterpriseBaseInfo
func (*Tm1025EnterpriseBaseInfo) SetLegalPersonCerNum ¶
func (t *Tm1025EnterpriseBaseInfo) SetLegalPersonCerNum(legalPersonCerNum string) *Tm1025EnterpriseBaseInfo
func (*Tm1025EnterpriseBaseInfo) SetLegalPersonCerType ¶
func (t *Tm1025EnterpriseBaseInfo) SetLegalPersonCerType(legalPersonCerType string) *Tm1025EnterpriseBaseInfo
func (*Tm1025EnterpriseBaseInfo) SetLegalPersonName ¶
func (t *Tm1025EnterpriseBaseInfo) SetLegalPersonName(legalPersonName string) *Tm1025EnterpriseBaseInfo
func (*Tm1025EnterpriseBaseInfo) SetLegalPersonPhone ¶
func (t *Tm1025EnterpriseBaseInfo) SetLegalPersonPhone(legalPersonPhone string) *Tm1025EnterpriseBaseInfo
func (*Tm1025EnterpriseBaseInfo) SetUnifiedSocialCredit ¶
func (t *Tm1025EnterpriseBaseInfo) SetUnifiedSocialCredit(unifiedSocialCredit string) *Tm1025EnterpriseBaseInfo
type Tm1025LegAndBeneficiaryInfo ¶
type Tm1025LegAndBeneficiaryInfo struct {
LegalCountry string `json:"legalCountry"` // 法人国籍
LegalSex string `json:"legalSex"` // 法人性别
LegalCareer string `json:"legalCareer"` // 法人职业
LegalAddress string `json:"legalAddress"` // 法人住址
MerchantType string `json:"merchantType"` // 商户类型
BeneficiaryJudgmentCriteria string `json:"beneficiaryJudgmentCriteria"` // 受益所有人判定标准
BeneficiaryJudgmentFile string `json:"beneficiaryJudgmentFile"` // 受益所有人证明材料类型
LegalIsBeneficiary string `json:"legalIsBeneficiary"` // 法人是否受益人
BeneficiaryCerType string `json:"beneficiaryCerType"` // 受益人证件类型
BeneficiaryName string `json:"beneficiaryName"` // 受益人姓名
BeneficiaryCerNum string `json:"beneficiaryCerNum"` // 受益人证件号码
BeneficiaryCerValidate string `json:"beneficiaryCerValidate"` // 受益人证件有效期
IsSeniorManagement string `json:"isSeniorManagement"` // 是否为高管
BeneficiaryAddress string `json:"beneficiaryAddress"` // 受益人住址
}
func NewTm1025LegAndBeneficiaryInfo ¶
func NewTm1025LegAndBeneficiaryInfo( legalCountry string, legalSex string, legalCareer string, legalAddress string, merchantType string, legalIsBeneficiary string, legalIsShareholder string, beneficiaryCerType string, beneficiaryName string, beneficiaryCerNum string, beneficiaryCerValidate string, isSeniorManagement string, beneficiaryAddress string, shareholderName string, shareholderCerNum string, shareholderCerValidate string, ) *Tm1025LegAndBeneficiaryInfo
func (*Tm1025LegAndBeneficiaryInfo) SetBeneficiaryJudgmentCriteria ¶
func (t *Tm1025LegAndBeneficiaryInfo) SetBeneficiaryJudgmentCriteria(beneficiaryJudgmentCriteria string) *Tm1025LegAndBeneficiaryInfo
func (*Tm1025LegAndBeneficiaryInfo) SetBeneficiaryJudgmentFile ¶
func (t *Tm1025LegAndBeneficiaryInfo) SetBeneficiaryJudgmentFile(beneficiaryJudgmentFile string) *Tm1025LegAndBeneficiaryInfo
type Tm1025Result ¶
type Tm1026Dto ¶
type Tm1026Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
QryType string `json:"qryType,omitempty"` // 查询类型
CusId string `json:"cusId,omitempty"` // 商户号 查询类型为2-商户带结算资金时必填, 用于查询指定收银宝商户的带结算资金
QryDate string `json:"qryDate,omitempty"` // 期末余额查询日期 qryType=4时上送 格式为yyyyMMdd 不送默认今天,D日查询D-1日的期末余额
}
func NewTm1026Dto ¶
func (*Tm1026Dto) SetQryDate ¶
func (*Tm1026Dto) SetQryType ¶
type Tm1026Result ¶
type Tm1026Result struct {
TotalAmt string `json:"totalAmt,omitempty"` // 通联头寸余额,单位:分 查询成功,返回
CusId string `json:"cusId,omitempty"` // 通联头寸账户号 查询类型1:返回收付通商户号 查询类型2:返回请求的商户号
BankCardNo string `json:"bankCardNo,omitempty"` // 银行账号 资金管理模式为银行管理、银行托管、自主管理时返回
BankTotalAmt string `json:"bankTotalAmt,omitempty"` // 银行头寸余额,单位分 qryType=4时返回
YesterdayBalance string `json:"yesterdayBalance,omitempty"` // 银行期末余额 资金管理模式为银行管理、自主管理、银行托管时返回
RespCode string `json:"respCode"` // 业务返回码 00000:代表成功
RespMsg string `json:"respMsg,omitempty"` // 业务返回说明
}
type Tm1027AcctInfo ¶ added in v1.0.0
type Tm1027AcctInfo struct {
BankCardNo string `json:"bankCardNo"` // 银行卡号
BankAccountName string `json:"bankAccountName"` // 银行户名
BankName string `json:"bankName"` // 银行名称
BindTime string `json:"bindTime"` // 绑定时间
CardType string `json:"cardType"` // 银行卡类型
BindStatus string `json:"bindStatus"` // 绑定状态
BankReservePhone string `json:"bankReservePhone"` // 银行预留手机号码
BindType string `json:"bindType"` // 绑卡方式
AcctAttr string `json:"acctAttr"` // 银行卡/账户属性
OpenBankBranchName string `json:"openBankBranchName"` // 开户行支行名称
PayBankNumber string `json:"payBankNumber"` // 支付行号
OpenBankProvince string `json:"openBankProvince"` // 开户行所在省
OpenBankCity string `json:"openBankCity"` // 开户行所在市
IsSpecifyAcct string `json:"isSpecifyAcct"` // 是否为支付账户指定出入金银行账户
}
type Tm1027Agreement ¶ added in v1.0.0
type Tm1027Agreement struct {
SignAccount string `json:"signAccount"` // 签约户名
AgreementType string `json:"agreementType"` // 协议类型
SignResult string `json:"signResult"` // 签约结果
AgreeNo string `json:"agreeNo"` // 协议编号
SignTime string `json:"signTime"` // 签约时间
AnotherMemberInfo map[string]string `json:"anotherMemberInfo"` // 另一方(收款方/分账方)签约信息
}
type Tm1027BindPhoneJson ¶ added in v1.0.0
type Tm1027Dto ¶
type Tm1027Dto struct {
SignNum string `json:"signNum"` // 商户会员编号
InfoType string `json:"InfoType"` // 查询信息类型
}
func NewTm1027Dto ¶
type Tm1027EnterpriseInfo ¶ added in v1.0.0
type Tm1027EnterpriseInfo struct {
MemberRole string `json:"memberRole"`
MemberType string `json:"memberType"`
EnterpriseName string `json:"enterpriseName"`
AddressCode string `json:"addressCode"`
EnterpriseAdress string `json:"enterpriseAdress"`
EnterpriseNature string `json:"enterpriseNature"`
UnifiedSocialCredit string `json:"unifiedSocialCredit"`
BusLicenseValidDate string `json:"busLicenseValidDate"`
Phone string `json:"phone"`
LegalPersonName string `json:"legalPersonName"`
LegalPersonCerType string `json:"legalPersonCerType"`
LegalPersonCerNum string `json:"legalPersonCerNum"`
IdValidStartDate string `json:"idValidStartDate"`
IdValidEndDate string `json:"idValidEndDate"`
LegalPersonPhone string `json:"legalPersonPhone"`
MemberStatus string `json:"memberStatus"`
AuditTime string `json:"auditTime"`
IsWithdraw string `json:"isWithdraw"`
RespMsg string `json:"respMsg"`
}
type Tm1027MemberControlInfo ¶ added in v1.0.0
type Tm1027OcrResultJson ¶ added in v1.0.0
type Tm1027PayAcctAuditJson ¶ added in v1.0.0
type Tm1027PayAcctAuditJson struct {
EnterpriseVerifyResult string `json:"enterpriseVerifyResult"` // 工商验证
LegalIdCardVerifyResult string `json:"legalIdCardVerifyResult"` // 法人验证
BankAcctVerifyResult string `json:"bankAcctVerifyResult"` // 银行结算账户验证
UnifiedCreditPhotoResult string `json:"unifiedCreditPhotoResult"` // 统一信用证照片验证
LegalCerPhotoResult string `json:"legalCerPhotoResult"` // 法人证件照片验证
SettleAcctPhotoResult string `json:"settleAcctPhotoResult"` // 结算账户照
BusOutdoorPhotoResult string `json:"busOutdoorPhotoResult"` // 经营门头照片
BusInnerPhotoResult string `json:"busInnerPhotoResult"` // 经营内景照
AcctManOutdoorPhotoResult string `json:"acctManOutdoorPhotoResult"` // 客户经理与门头照
AcctManWithIdPhotoResult string `json:"acctManWithIdPhotoResult"` // 客户经理手持身份证照片
BusCoopConfirmResult string `json:"busCoopConfirmResult"` // 客户业务合作确认函
NonNatBenfitInfoResult string `json:"nonNatBenfitInfoResult"` // 非自然人客户受益所有人信息登记表
TlPayAcctNoAgreeResult string `json:"tlPayAcctNoAgreeResult"` // 通联单位支付账户服务协议
}
type Tm1027PayAcctOpenJson ¶ added in v1.0.0
type Tm1027PersonInfo ¶ added in v1.0.0
type Tm1027PersonInfo struct {
Name string `json:"name"` // 姓名
CerType string `json:"cerType"` // 证件类型
CerNum string `json:"cerNum"` // 身份证号码
IsWithdraw string `json:"isWithdraw"` // 是否可提现
Phone string `json:"phone"` // 绑定手机
IdValidStartDate string `json:"idValidStartDate"` // 证件有效开始日期
IdValidEndDate string `json:"idValidEndDate"` // 证件有效截止日期
RegisterTime string `json:"registerTime"` // 注册时间
IsRealNameAuth string `json:"isRealNameAuth"` // 是否实名认证
RealNameAuthTime string `json:"realNameAuthTime"` // 实名认证时间
MemberStatus string `json:"memberStatus"` // 会员状态
MemberRole string `json:"memberRole"` // 会员角色
MemberType string `json:"memberType"` // 会员类型
}
type Tm1027Result ¶
type Tm1027Result[T Tm1027PersonInfo | Tm1027EnterpriseInfo | M] struct { RespCode string `json:"respCode"` // 业务返回码 RespMsg string `json:"respMsg"` // 业务返回说明 SignNum string `json:"signNum"` // 商户会员编号 MemberBasicInfo T `json:"memberBasicInfo,omitempty"` // 会员基本信息 AcctInfo []*Tm1027AcctInfo `json:"acctInfo,omitempty"` // 银行账户信息 AgreementArray []*Tm1027Agreement `json:"agreementArray,omitempty"` // 协议信息 OcrResultJson *Tm1027OcrResultJson `json:"ocrResultJson,omitempty"` // 影印件OCR核对结果 BindPhoneJson *Tm1027BindPhoneJson `json:"bindPhoneJson,omitempty"` // 绑定手机号信息 PayAcctOpenJson *Tm1027PayAcctOpenJson `json:"payAcctOpenJson,omitempty"` // 支付账户开户信息 PayAcctAuditJson *Tm1027PayAcctAuditJson `json:"payAcctAuditJson,omitempty"` // 支付账户审核结果详情 BankSubAcctInfo M `json:"bankSubAcctInfo,omitempty"` // 银行子账户信息 SettleAcctInfo *Tm1027SettleAcctInfo `json:"settleAcctInfo,omitempty"` // 待结算户信息 MemberControlInfo *Tm1027MemberControlInfo `json:"memberControlInfo,omitempty"` // 会员交易控制类型 }
type Tm1027SettleAcctInfo ¶ added in v1.0.0
type Tm1029Dto ¶ added in v1.0.0
type Tm1029Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
NotifyUrl string `json:"notifyUrl"` // 个人会员支付账户开户结果通知地址
JumpUrl string `json:"jumpUrl"` // 前端回调地址,H5 开户流程结束后应跳转回的页面地址
}
func NewTm1029Dto ¶ added in v1.0.0
func (*Tm1029Dto) SetJumpUrl ¶ added in v1.0.0
type Tm1029NotifyResult ¶ added in v1.0.0
type Tm1029NotifyResult struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
RespTraceNum string `json:"respTraceNum,omitempty"` // 响应流水号
SignNum string `json:"signNum"` // 商户会员编号
OpenAccoutResult string `json:"openAccoutResult"` // 支付账户开户结果,0:开户成功 1:开户失败
PayAcctNo string `json:"payAcctNo,omitempty"` // 支付账户号
PayAcctNoStatus string `json:"payAcctNoStatus,omitempty"` // 支付账户状态
PayAcctType string `json:"payAcctType,omitempty"` // 支付账户分类,1:1类 2:2类 3:3类
RespMsg string `json:"respMsg,omitempty"` // 失败说明
}
type Tm1029Result ¶ added in v1.0.0
type Tm1029Result struct {
RespTraceNum string `json:"respTraceNum,omitempty"` // 响应流水号
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg,omitempty"` // 业务返回说明
SignNum string `json:"signNum"` // 商户会员编号
OpenAcctStatus string `json:"openAcctStatus,omitempty"` // 开户受理状态,0:已受理 1:受理成功 2:受理失败
OpenAcctUrl string `json:"openAcctUrl,omitempty"` // 个人支付账户开户H5链接
}
type Tm1030AuthPerInfo ¶ added in v1.0.0
type Tm1030Dto ¶
type Tm1030Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
Phone string `json:"phone"` // 绑定手机号
PhoneType string `json:"phoneType"` // 绑定手机类型
JumpUrl string `json:"jumpUrl"` // 前端跳转地址
NotifyUrl string `json:"notifyUrl"` // 签约结果通知地址
AuthPerInfo *Tm1030AuthPerInfo `json:"authPerInfo"` // 被授权人信息
}
func (*Tm1030Dto) SetAuthPerInfo ¶ added in v1.2.0
func (x *Tm1030Dto) SetAuthPerInfo(v *Tm1030AuthPerInfo) *Tm1030Dto
func (*Tm1030Dto) SetJumpUrl ¶
func (*Tm1030Dto) SetNotifyUrl ¶
func (*Tm1030Dto) SetPhoneType ¶
type Tm1030Result ¶
type Tm1031Dto ¶
type Tm1031Result ¶
type Tm1032Dto ¶
type Tm1032Result ¶
type Tm1033BankAcctDetail ¶ added in v1.0.0
type Tm1033BankAcctDetail struct {
AcctAttr string `json:"acctAttr"` // 账户类型(1-对公,不填默认1-对公)
AcctNum string `json:"acctNum"` // 账号(SM4加密)
OpenBankNo string `json:"openBankNo"` // 银行代码
OpenBankBranchName string `json:"openBankBranchName"` // 开户行支行名称(账户类型=1-对公则必填)
PayBankNumber string `json:"payBankNumber"` // 支付行号,12位数字(账户类型=1-对公则必填)
OpenBankProvince string `json:"openBankProvince"` // 开户行所在省(中文)
OpenBankCity string `json:"openBankCity"` // 开户行所在市(中文)
}
type Tm1033Dto ¶ added in v1.0.0
type Tm1033Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
BankAcctDetail *Tm1033BankAcctDetail `json:"bankAcctDetail"` // 银行账户信息
}
func NewTm1033Dto ¶ added in v1.0.0
func NewTm1033Dto(reqTraceNum string, signNum string, bankAcctDetail *Tm1033BankAcctDetail) *Tm1033Dto
type Tm1033Result ¶ added in v1.0.0
type Tm1035Dto ¶ added in v1.0.0
type Tm1035Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
NotifyUrl string `json:"notifyUrl"` // 企业会员信息修改结果通知地址
EnterpriseBaseInfo *Tm1035EnterpriseBaseInfo `json:"enterpriseBaseInfo"` // 企业基础信息
}
func NewTm1035Dto ¶ added in v1.0.0
func NewTm1035Dto(reqTraceNum string, signNum string, notifyUrl string, enterpriseBaseInfo *Tm1035EnterpriseBaseInfo) *Tm1035Dto
type Tm1035EnterpriseBaseInfo ¶ added in v1.0.0
type Tm1035EnterpriseBaseInfo struct {
EnterpriseName string `json:"enterpriseName"` // 企业名称(含括号请使用中文括号)
AddressCode string `json:"addressCode"` // 地区码(注册地址)
EnterpriseAdress string `json:"enterpriseAdress"` // 企业注册地址
BusLicenseValidate string `json:"busLicenseValidate"` // 营业证件有效期
LegalPersonName string `json:"legalPersonName"` // 法人姓名
LegalPersonCerType string `json:"legalPersonCerType"` // 法人证件类型
LegalPersonCerNum string `json:"legalPersonCerNum"` // 法人证件号码(SM4加密)
IDValidateStart string `json:"idValidateStart"` // 法人证件有效期开始日期,格式:9999-12-31
IDValidateEnd string `json:"idValidateEnd"` // 法人证件有效截止日期,长期有效上送 9999-12-31
LegalPersonPhone string `json:"legalPersonPhone"` // 法人手机号(需与绑卡手机号一致)
PublicAcctName string `json:"publicAcctName"` // 对公户名
LegpCerFrontFileID string `json:"legpCerFrontFileId"` // 法人身份证(肖像面)文件ID
LegpCerBackFileID string `json:"legpCerBackFileId"` // 法人身份证(国徽面)文件ID
UnifiedSocialCreditFileID string `json:"unifiedSocialCreditFileId"` // 统一信用证文件ID
}
type Tm1035Result ¶ added in v1.0.0
type Tm1043Dto ¶ added in v1.0.0
type Tm1043Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 请求流水号
OpType string `json:"opType"` // 操作类型,query-查询 set-设置
SignNum string `json:"signNum"` // 商户会员编号
AcctType string `json:"acctType,omitempty"` // 账户类型,01-簿记账户
Amount int64 `json:"amount,omitempty"` // 账户留存额度,单位分,opType=set 时必填
}
func NewTm1043Dto ¶ added in v1.0.0
func (*Tm1043Dto) SetAcctType ¶ added in v1.0.0
type Tm1043Result ¶ added in v1.0.0
type Tm1043Result struct {
ReqTraceNum string `json:"reqTraceNum"` // 请求流水号
RespTraceNum string `json:"respTraceNum"` // 通联订单号
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 失败原因
RetentionLimitAmt int64 `json:"retentionLimitAmt,omitempty"` // 账户留存额度
Result string `json:"result,omitempty"` // 账户留存额度更新结果
}
type Tm1050Dto ¶
type Tm1050Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 签约会员编号
MemberName string `json:"memberName"` // 签约会员名称
AgreementType string `json:"agreementType"` // 协议类型
JumpPageType string `json:"jumpPageType"` // 跳转页面类型
JumpUrl string `json:"jumpUrl"` // 前台跳转地址
NotifyUrl string `json:"notifyUrl"` // 签约结果通知地址
}
func NewTm1050Dto ¶
func (*Tm1050Dto) SetJumpPageType ¶ added in v1.2.1
func (*Tm1050Dto) SetJumpUrl ¶ added in v1.2.1
type Tm1050Result ¶
type Tm1051AcctAgreementJson ¶ added in v1.0.0
type Tm1051AcctAgreementJson struct {
PayeeAgreeToken string `json:"payeeAgreeToken,omitempty"` // 签约会员的收款协议文件token 收款方协议
WithdrawAgreeToken string `json:"withdrawAgreeToken,omitempty"` // 签约会员的账户提现协议文件token 若会员需要按照企业/个人主体签账户提现协议,则上送文件token
AuthPerAgreeInfo *Tm1051AuthPerAgreeInfo `json:"authPerAgreeInfo,omitempty"` // 签约会员的授权委托协议信息 上送,则进行签约 具体字段见【线下授权委托协议(绑定手机号)信息】
}
func NewAcctAgreementJson ¶
func NewAcctAgreementJson() *Tm1051AcctAgreementJson
func (*Tm1051AcctAgreementJson) SetAuthPerAgreeInfo ¶ added in v1.0.0
func (x *Tm1051AcctAgreementJson) SetAuthPerAgreeInfo(v *Tm1051AuthPerAgreeInfo) *Tm1051AcctAgreementJson
func (*Tm1051AcctAgreementJson) SetPayeeAgreeToken ¶ added in v1.0.0
func (x *Tm1051AcctAgreementJson) SetPayeeAgreeToken(v string) *Tm1051AcctAgreementJson
func (*Tm1051AcctAgreementJson) SetWithdrawAgreeToken ¶ added in v1.0.0
func (x *Tm1051AcctAgreementJson) SetWithdrawAgreeToken(v string) *Tm1051AcctAgreementJson
type Tm1051AuthPerAgreeInfo ¶ added in v1.0.0
type Tm1051AuthPerAgreeInfo struct {
AuthPhone string `json:"authPhone"` // 被授权人手机号
AuthPerName string `json:"authPerName"` // 被授权人姓名
AuthPerCerNum string `json:"authPerCerNum"` // 被授权人证件号 SM4 加密
AuthPerCerType string `json:"authPerCerType"` // 被授权人证件类型 见枚举值,支持多种证件类型
AuthPerAgreeToken string `json:"authPerAgreeToken"` // 签约会员的授权委托协议文件token
}
func NewTm1051AuthPerAgreeInfo ¶ added in v1.0.0
type Tm1051Dto ¶
type Tm1051Dto[T Tm1051AcctAgreementJson | Tm1051PayAgreementJson] struct { ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号 SignNum string `json:"signNum"` // 签约会员编号 MemberName string `json:"memberName"` // 签约会员名称 AgreementType string `json:"agreementType"` // 协议类型 AgreementJson T `json:"agreementJson"` // 签约协议信息 NotifyUrl string `json:"notifyUrl"` // 签约结果通知地址 }
func NewTm1051Dto ¶
func NewTm1051Dto[T Tm1051AcctAgreementJson | Tm1051PayAgreementJson](reqTraceNum string, signNum string, memberName string, agreementType string, agreementJson T, notifyUrl string) *Tm1051Dto[T]
type Tm1051PayAgreementJson ¶ added in v1.0.0
type Tm1051PayAgreementJson struct {
PayAcctNoOpenAgreeToken string `json:"payAcctNoOpenAgreeToken,omitempty"` // 通联支付账户服务协议文件token
CoopConfirmToken string `json:"coopConfirmToken,omitempty"` // 客户业务合作确认函文件token
NonNatureCusBenefitToken string `json:"nonNatureCusBenefitToken,omitempty"` // 非自然人客户受益所有人信息登记表文件token
}
func NewTm1051PayAgreementJson ¶ added in v1.0.0
func NewTm1051PayAgreementJson(payAcctNoOpenAgreeToken string, coopConfirmToken string, nonNatureCusBenefitToken string) *Tm1051PayAgreementJson
type Tm1051Result ¶
type Tm1052NotifyResult ¶ added in v1.0.0
type Tm1052NotifyResult struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 签约方会员编号
MemberName string `json:"memberName"` // 签约会员名称
PayAcctSignStatus string `json:"payAcctSignStatus,omitempty"` // 支付账户协议签约状态
PayAcctAgreeNo string `json:"payAcctAgreeNo,omitempty"` // 支付账户协议编号
PayAcctSignTime string `json:"payAcctSignTime,omitempty"` // 支付账户协议签约时间
PayeeAgreeStatus string `json:"payeeAgreeStatus,omitempty"` // 收款协议签约状态
PayeeAgreementNo string `json:"payeeAgreementNo,omitempty"` // 收款协议编号
PayeeAgreementSignTime string `json:"payeeAgreementSignTime,omitempty"` // 收款协议签约时间
WithdrawAgreeStatus string `json:"withdrawAgreeStatus,omitempty"` // 企业/个人主体账户提现协议状态
WithdrawAgreeNo string `json:"withdrawAgreeNo,omitempty"` // 企业/个人主体账户提现协议签约编号
WithdrawAgreeSignTime string `json:"withdrawAgreeSignTime,omitempty"` // 企业/个人主体账户提现协议签约时间
MembershipStatus string `json:"membershipStatus,omitempty"` // 会员关系证明函签约状态
MembershipNo string `json:"membershipNo,omitempty"` // 会员关系证明函编号
MembershipSignTime string `json:"membershipSignTime,omitempty"` // 会员关系证明函签约时间
AccreditAgreeNo string `json:"accreditAgreeNo,omitempty"` // 授权委托书协议编号
AccreditAgreeStatus string `json:"accreditAgreeStatus,omitempty"` // 授权委托书协议状态
AccreditAgreeSignTime string `json:"accreditAgreeSignTime,omitempty"` // 授权委托协议签约时间
SepMemBusCode string `json:"sepMemBusCode,omitempty"` // 分账方会员编号
SepMemName string `json:"sepMemName,omitempty"` // 分账方签约户名
SepAgreeStatus string `json:"sepAgreeStatus,omitempty"` // 分账协议状态
SepAgreeSignTime string `json:"sepAgreeSignTime,omitempty"` // 分账协议签约时间
SepAgreeNo string `json:"sepAgreeNo,omitempty"` // 分账协议编号
SepAgreePayeeStatus string `json:"sepAgreePayeeStatus,omitempty"` // 分账协议-收款方签约状态
SepAgreeSepStatus string `json:"sepAgreeSepStatus,omitempty"` // 分账协议-分账方签约状态
SepWithdrawAgreeStatus string `json:"sepWithdrawAgreeStatus,omitempty"` // 分账方提现协议状态
SepWithdrawAgreeNo string `json:"sepWithdrawAgreeNo,omitempty"` // 分账方提现协议签约编号
SepWithdrawSignTime string `json:"sepWithdrawSignTime,omitempty"` // 分账方提现协议签约时间
SepAccreditAgreeNo string `json:"sepAccreditAgreeNo,omitempty"` // 分账方授权委托书协议编号
SepAccreditAgreeStatus string `json:"sepAccreditAgreeStatus,omitempty"` // 分账方授权委托书协议状态
SepAccreditAgreeSignTime string `json:"sepAccreditAgreeSignTime,omitempty"` // 分账方授权委托协议签约时间
SepMembershipStatus string `json:"sepMembershipStatus,omitempty"` // 分账方会员关系证明函签约状态
SepMembershipNo string `json:"sepMembershipNo,omitempty"` // 分账方会员关系证明函编号
SepMembershipSignTime string `json:"sepMembershipSignTime,omitempty"` // 分账方会员关系证明函签约时间
CouponAgreeStatus string `json:"couponAgreeStatus,omitempty"` // 平台抽佣协议状态
CouponAgreementNo string `json:"couponAgreementNo,omitempty"` // 平台抽佣协议编号
CouponAgreeTime string `json:"couponAgreeTime,omitempty"` // 平台抽佣协议签约时间
ElecAgreeStatus string `json:"elecAgreeStatus,omitempty"` // 收单协议状态
ElecAgreementNo string `json:"elecAgreementNo,omitempty"` // 收单协议编号
ElecAgreeTime string `json:"elecAgreeTime,omitempty"` // 收单协议签约时间
SignErrorMsg string `json:"signErrorMsg,omitempty"` // 签约失败原因
}
type Tm1053Dto ¶ added in v1.0.0
type Tm1053Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
SignNum string `json:"signNum"` // 商户会员编号
MemberName string `json:"memberName"` // 签约会员名称
AgreementType string `json:"agreementType"` // 协议类型
JumpPageType string `json:"jumpPageType"` // 跳转页面类型
JumpUrl string `json:"jumpUrl"` // 前台跳转地址
}
func NewTm1053Dto ¶ added in v1.0.0
func (*Tm1053Dto) SetJumpPageType ¶ added in v1.0.0
func (*Tm1053Dto) SetJumpUrl ¶ added in v1.0.0
type Tm1053Result ¶ added in v1.0.0
type Tm2299Dto ¶ added in v1.0.0
type Tm2299Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
OpenBankNo string `json:"openBankNo"` // 开户银行编号
OrderAmount int64 `json:"orderAmount"` // 调拨金额,单位分
CusID string `json:"cusId"` // 收银宝商户号
RespURL string `json:"respUrl,omitempty"` // 调拨结果通知地址
}
func NewTm2299Dto ¶ added in v1.0.0
func (*Tm2299Dto) SetRespURL ¶ added in v1.0.0
type Tm2299Result ¶ added in v1.0.0
type Tm4001Dto ¶ added in v1.0.0
type Tm4001Dto struct {
OrgID string `json:"orgId,omitempty"` // 收银宝集团商户号
CusID string `json:"cusId"` // 收银宝商户号
TermNo string `json:"termNo"` // 终端号
Operation string `json:"operation"` // 操作类型,00-新增 01-修改 02-注销 03-查询
DeviceType string `json:"deviceType,omitempty"` // 设备类型
TermSn string `json:"termSn,omitempty"` // 终端序列号
TermState string `json:"termState,omitempty"` // 终端状态
TermAddress string `json:"termAddress,omitempty"` // 终端地址
QueryType string `json:"queryType,omitempty"` // 查询类型
}
func NewTm4001Dto ¶ added in v1.0.0
func (*Tm4001Dto) SetDeviceType ¶ added in v1.0.0
func (*Tm4001Dto) SetQueryType ¶ added in v1.0.0
func (*Tm4001Dto) SetTermAddress ¶ added in v1.0.0
func (*Tm4001Dto) SetTermState ¶ added in v1.0.0
type Tm4001Result ¶ added in v1.0.0
type Tm4001Result struct {
RetCode string `json:"retCode,omitempty"` // 收银宝终端处理结果
RetMsg string `json:"retMsg,omitempty"` // 终端报备状态
OrgID string `json:"orgId,omitempty"` // 收银宝集团商户号
CusID string `json:"cusId,omitempty"` // 收银宝商户号
AppID string `json:"appid,omitempty"` // 收银宝应用号
TermNo string `json:"termNo,omitempty"` // 终端号
DeviceType string `json:"deviceType,omitempty"` // 设备类型
TermSn string `json:"termSn,omitempty"` // 终端序列号
TermState string `json:"termState,omitempty"` // 终端状态
TermAddress string `json:"termAddress,omitempty"` // 终端地址
ErrorCode string `json:"errorCode,omitempty"` // 错误代码
ErrorMsg string `json:"errorMsg,omitempty"` // 错误信息
WxState string `json:"wxState,omitempty"` // 微信报备状态
WxMsg string `json:"wxMsg,omitempty"` // 微信报备信息
AlState string `json:"alState,omitempty"` // 支付宝报备状态
AlMsg string `json:"alMsg,omitempty"` // 支付宝报备信息
UnState string `json:"unState,omitempty"` // 银联报备状态
UnMsg string `json:"unMsg,omitempty"` // 银联报备信息
RespCode string `json:"respCode"` // 响应码
RespMsg string `json:"respMsg"` // 响应信息
}
type Tm4043Dto ¶ added in v1.0.0
type Tm4043Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 请求流水号
SybOrgID string `json:"sybOrgId,omitempty"` // 集团/代理商商户号
CusID string `json:"cusId"` // 收银宝商户号
AuthCode string `json:"authCode"` // 授权码(付款码)
AuthType string `json:"authType"` // 授权码类型,01-微信付款码 02-银联 userAuth
Identify string `json:"identify,omitempty"` // 云闪付 UA 标识
SubAppID string `json:"subAppid,omitempty"` // 微信支付 appid
}
func NewTm4043Dto ¶ added in v1.0.0
func (*Tm4043Dto) SetIdentify ¶ added in v1.0.0
func (*Tm4043Dto) SetSubAppID ¶ added in v1.0.0
func (*Tm4043Dto) SetSybOrgID ¶ added in v1.0.0
type Tm4043Result ¶ added in v1.0.0
type Tq1062Dto ¶ added in v1.0.0
type Tq1062Dto struct {
OpenBankNo string `json:"openBankNo"` // 开户银行编码
DateStart string `json:"dateStart"` // 查询开始日期,格式 yyyyMMdd
DateEnd string `json:"dateEnd"` // 查询结束日期,格式 yyyyMMdd
QryTradeType string `json:"qryTradeType,omitempty"` // 交易类型
ReturnRows string `json:"returnRows"` // 查询条数
Page string `json:"page"` // 页数
ReqTraceNum string `json:"reqTraceNum"` // 请求流水号
}
func NewTq1062Dto ¶ added in v1.0.0
func (*Tq1062Dto) SetQryTradeType ¶ added in v1.0.0
type Tq1062InExpDetail ¶ added in v1.0.0
type Tq1062InExpDetail struct {
ChnlTradeCode string `json:"chnlTradeCode"` // 银行交易流水号
TransDate string `json:"transDate"` // 交易日期,格式 yyyyMMdd
TradeTime string `json:"tradeTime"` // 交易时间,格式 HHMMSS
FundDirection string `json:"fundDirection"` // 资金方向,D-账户出金 C-账户入金
TradeType string `json:"tradeType,omitempty"` // 交易类型
CurAmount string `json:"curAmount"` // 当前余额,单位分
TransAmount string `json:"transAmount"` // 交易金额,单位分
Summary string `json:"summary,omitempty"` // 摘要描述
Remark string `json:"remark,omitempty"` // 备注
OppAcctNo string `json:"oppAcctNo,omitempty"` // 对手方账号
OppAcctName string `json:"oppAcctName,omitempty"` // 对手方账户名
SubAcctName string `json:"subAcctName,omitempty"` // 银行子账户名
SubAcctNo string `json:"subAcctNo,omitempty"` // 银行子账号
}
type Tq1062Result ¶ added in v1.0.0
type Tq1062Result struct {
TotalPage string `json:"totalPage"` // 总页数
TotalNum string `json:"totalNum"` // 记录总行数
InExpDetail []*Tq1062InExpDetail `json:"inExpDetail"` // 银行账户收支明细
}
type Tq3001Dto ¶ added in v1.0.0
type Tq3001Dto struct {
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
OriTransDate string `json:"oriTransDate"` // 订单创建日期,格式 yyyyMMdd
}
func NewTq3001Dto ¶ added in v1.0.0
func (*Tq3001Dto) SetOriTransDate ¶ added in v1.0.0
func (*Tq3001Dto) SetReqTraceNum ¶ added in v1.0.0
type Tq3001Result ¶ added in v1.0.0
type Tq3001Result struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
RespTraceNum string `json:"respTraceNum"` // 通联订单号
Result string `json:"result"` // 订单状态(0:进行中 1:交易成功 2:交易失败)
TxDesc string `json:"txDesc"` // 订单状态说明/失败错误信息
OrderAmount int64 `json:"orderAmount"` // 订单金额
PayAmount int64 `json:"payAmount"` // 支付金额
FinishTime string `json:"finishTime"` // 订单支付完成时间
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
IsPreConsume string `json:"isPreConsume"` // 是否微信订单预消费(0:否 1:是)
}
type Tq3002Dto ¶ added in v1.0.0
type Tq3002Dto struct {
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
OriTransDate string `json:"oriTransDate"` // 订单创建日期,格式 yyyyMMdd
}
func NewTq3002Dto ¶ added in v1.0.0
func (*Tq3002Dto) SetOriTransDate ¶ added in v1.0.0
func (*Tq3002Dto) SetReqTraceNum ¶ added in v1.0.0
type Tq3002Result ¶ added in v1.0.0
type Tq3002Result struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
RespTraceNum string `json:"respTraceNum"` // 通联订单号
Result string `json:"result"` // 订单状态(0:进行中 1:交易成功 2:交易失败)
TxDesc string `json:"txDesc"` // 订单状态说明/失败错误信息
OrgReqTraceNum string `json:"orgReqTraceNum"` // 原商户订单号(退款时返回)
OrgRespTraceNum string `json:"orgRespTraceNum"` // 云商通原订单号(退款时返回)
OrderAmount int64 `json:"orderAmount"` // 订单金额
PayAmount int64 `json:"payAmount"` // 支付金额
FinishTime string `json:"finishTime"` // 订单支付完成时间,格式 yyyy-MM-dd HH:mm:ss
SignNum string `json:"signNum"` // 商户会员编号(付款人)
ExtendParams string `json:"extendParams"` // 扩展参数
ChannelParamInfo string `json:"channelParamInfo"` // 渠道参数信息(支付详情)
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
IsPreConsume string `json:"isPreConsume"` // 是否微信订单预消费(0:否 1:是)
}
type Tq3004AcctDetail ¶ added in v1.0.0
type Tq3004AcctDetail struct {
RespTraceNum string `json:"respTraceNum"` // 通联订单号
FinishTime string `json:"finishTime"` // 交易完成时间,格式 yyyy-MM-dd HH:mm:ss
TransCode string `json:"transCode"` // 订单类型
AccountType string `json:"accountType"` // 账户交易类型
TxAviAmt string `json:"txAviAmt"` // 可用变更金额(正值增加,负值减少)
TxFrzAmt string `json:"txFrzAmt"` // 在途变更金额(正值增加,负值减少)
PreAviAmt string `json:"preAviAmt"` // 动账前可用金额
PreFrzAmt string `json:"preFrzAmt"` // 动账前在途金额
AfterAviAmt string `json:"afterAviAmt"` // 动账后可用金额
AfterFrzAmt string `json:"afterFrzAmt"` // 动账后在途余额
}
type Tq3004Dto ¶
type Tq3004Dto struct {
SignNum string `json:"signNum"` // 商户会员编号
AcctType string `json:"acctType"` // 账户类型
QryTransCode string `json:"qryTransCode"` // 订单类型
RespTraceNum string `json:"respTraceNum"` // 通联订单号
BeginTime string `json:"beginTime"` // 开始日期,格式 yyyy-MM-dd HH:mm:ss
EndTime string `json:"endTime"` // 结束日期,格式 yyyy-MM-dd HH:mm:ss
QryStart string `json:"qryStart"` // 起始位置(从 1 开始)
QryCount string `json:"qryCount"` // 查询条数(仅支持 100 以内)
}
func NewTq3004Dto ¶
func (*Tq3004Dto) SetBeginTime ¶ added in v1.0.0
func (*Tq3004Dto) SetEndTime ¶ added in v1.0.0
func (*Tq3004Dto) SetQryCount ¶ added in v1.0.0
func (*Tq3004Dto) SetQryStart ¶ added in v1.0.0
func (*Tq3004Dto) SetQryTransCode ¶ added in v1.0.0
func (*Tq3004Dto) SetRespTraceNum ¶ added in v1.0.0
type Tq3004Result ¶
type Tq3004Result struct {
SignNum string `json:"signNum"` // 商户会员编号
AcctDetails []*Tq3004AcctDetail `json:"acctDetails"` // 账户明细记录
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
TotalCount int `json:"totalCount"` // 总笔数
}
type Tq3007Dto ¶ added in v1.0.0
type Tq3007Dto struct {
BatchNo string `json:"batchNo"` // 批次号
}
func NewTq3007Dto ¶ added in v1.0.0
type Tq3007Result ¶ added in v1.0.0
type Tq3007Result struct {
BatchNo string `json:"batchNo"` // 批次号
ResultList []*Tq3007ResultItem `json:"resultList,omitempty"` // 处理结果列表
Status string `json:"status"` // 批次处理状态
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg,omitempty"` // 业务返回说明
}
type Tq3007ResultItem ¶ added in v1.0.0
type Tq3007ResultItem struct {
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
OrderAmount string `json:"orderAmount"` // 转账金额,单位分
Result string `json:"result,omitempty"` // 订单状态
ErrorMsg string `json:"errorMsg,omitempty"` // 订单失败原因说明
Summary string `json:"summary,omitempty"` // 摘要
}
type Tq4003Dto ¶ added in v1.0.0
type Tq4003Dto struct {
BatchNo string `json:"batchNo,omitempty"` // 批次号,和 respTraceNum 二选一必填
RespTraceNum string `json:"respTraceNum,omitempty"` // 通联订单号,和 batchNo 二选一必填
}
func NewTq4003Dto ¶ added in v1.0.0
func NewTq4003Dto() *Tq4003Dto
func (*Tq4003Dto) SetBatchNo ¶ added in v1.0.0
func (*Tq4003Dto) SetRespTraceNum ¶ added in v1.0.0
type Tq4003Result ¶ added in v1.0.0
type Tx2084Dto ¶ added in v1.0.0
type Tx2084Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
SignNum string `json:"signNum"` // 商户会员编号-转出方
InSignNum string `json:"inSignNum"` // 商户会员编号-转入方
OrderAmount int64 `json:"orderAmount"` // 转账金额
AcctType string `json:"acctType,omitempty"` // 转出账户类型
AcctNum string `json:"acctNum,omitempty"` // 支付账户号-转出方
InAcctType string `json:"inAcctType,omitempty"` // 支付账户类型-转入方
InAcctNum string `json:"inAcctNum,omitempty"` // 支付账户号-转入方
RespUrl string `json:"respUrl,omitempty"` // 后台通知地址
Summary string `json:"summary,omitempty"` // 摘要(透传渠道)
ExtendParams string `json:"extendParams,omitempty"` // 扩展信息
}
func NewTx2084Dto ¶ added in v1.0.0
func (*Tx2084Dto) SetAcctNum ¶ added in v1.0.0
func (*Tx2084Dto) SetAcctType ¶ added in v1.0.0
func (*Tx2084Dto) SetExtendParams ¶ added in v1.0.0
func (*Tx2084Dto) SetInAcctNum ¶ added in v1.0.0
func (*Tx2084Dto) SetInAcctType ¶ added in v1.0.0
func (*Tx2084Dto) SetRespUrl ¶ added in v1.0.0
func (*Tx2084Dto) SetSummary ¶ added in v1.0.0
type Tx2084Result ¶ added in v1.0.0
type Tx2084Result struct {
Result string `json:"result,omitempty"` // 订单状态
AuthWay string `json:"authWay,omitempty"` // 鉴权方式
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
OrderAmount int64 `json:"orderAmount"` // 转账金额
ExtendParams string `json:"extendParams,omitempty"` // 扩展信息
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
}
type Tx2085Dto ¶ added in v1.0.0
type Tx2085Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
ReceiverSignNum string `json:"receiverSignNum"` // 商户会员编号-收款人
OrderAmount int64 `json:"orderAmount"` // 订单金额
SignNum string `json:"signNum,omitempty"` // 商户会员编号-付款人
PayAmount int64 `json:"payAmount,omitempty"` // 支付金额
PromotionAmount int64 `json:"promotionAmount,omitempty"` // 营销金额
CouponAmount int64 `json:"couponAmount,omitempty"` // 平台抽佣金额
PayMode M `json:"payMode,omitempty"` // 支付模式
SepDetailSource string `json:"sepDetailSource,omitempty"` // 分账规则来源
SepDetail []*Tx2085SepDetail `json:"sepDetail,omitempty"` // 分账规则
ReqsUrl string `json:"reqsUrl,omitempty"` // 前台通知地址
RespUrl string `json:"respUrl,omitempty"` // 后台通知地址
OrderValidTime string `json:"orderValidTime,omitempty"` // 订单过期时间
GoodsName string `json:"goodsName,omitempty"` // 商品名称
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
TxDistrictCode string `json:"txDistrictCode,omitempty"` // 交易所在省市
GoodsDesc string `json:"goodsDesc,omitempty"` // 商品描述
}
func NewTx2085Dto ¶ added in v1.0.0
func (*Tx2085Dto) SetCouponAmount ¶ added in v1.0.0
func (*Tx2085Dto) SetExtendParams ¶ added in v1.0.0
func (*Tx2085Dto) SetGoodsDesc ¶ added in v1.0.0
func (*Tx2085Dto) SetGoodsName ¶ added in v1.0.0
func (*Tx2085Dto) SetOrderValidTime ¶ added in v1.0.0
func (*Tx2085Dto) SetPayAmount ¶ added in v1.0.0
func (*Tx2085Dto) SetPayMode ¶ added in v1.0.0
func (*Tx2085Dto) SetPromotionAmount ¶ added in v1.0.0
func (*Tx2085Dto) SetReqsUrl ¶ added in v1.0.0
func (*Tx2085Dto) SetRespUrl ¶ added in v1.0.0
func (*Tx2085Dto) SetSepDetail ¶ added in v1.0.0
func (x *Tx2085Dto) SetSepDetail(v []*Tx2085SepDetail) *Tx2085Dto
func (*Tx2085Dto) SetSepDetailSource ¶ added in v1.0.0
func (*Tx2085Dto) SetSignNum ¶ added in v1.0.0
func (*Tx2085Dto) SetTxDistrictCode ¶ added in v1.0.0
type Tx2085Result ¶ added in v1.0.0
type Tx2085Result struct {
Result string `json:"result,omitempty"` // 订单状态
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
ChannelParamInfo string `json:"channelParamInfo,omitempty"` // 渠道参数信息(支付详情)
ChnlFrontParamInfo string `json:"chnlFrontParamInfo,omitempty"` // 渠道参数信息(前端支付参数)
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
IsPreConsume string `json:"isPreConsume,omitempty"` // 是否微信订单预消费
}
type Tx2085SepDetail ¶ added in v1.0.0
type Tx2085SepDetail struct {
SignNum string `json:"signNum"` // 商户会员编号
Amount int64 `json:"amount"` // 分账金额
Remark string `json:"remark,omitempty"` // 备注
}
func NewTx2085SepDetail ¶ added in v1.0.0
func NewTx2085SepDetail(signNum string, amount int64) *Tx2085SepDetail
func (*Tx2085SepDetail) SetRemark ¶ added in v1.0.0
func (x *Tx2085SepDetail) SetRemark(v string) *Tx2085SepDetail
type Tx2086Dto ¶ added in v1.0.0
type Tx2086Dto struct {
ReceiverSignNum string `json:"receiverSignNum"` // 商户会员编号-垫资收款方
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
OrderAmount int64 `json:"orderAmount"` // 垫资发放金额,单位分
RespURL string `json:"respUrl,omitempty"` // 后台通知地址
Remark string `json:"remark,omitempty"` // 备注
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
}
func NewTx2086Dto ¶ added in v1.0.0
func (*Tx2086Dto) SetExtendParams ¶ added in v1.0.0
func (*Tx2086Dto) SetRespURL ¶ added in v1.0.0
type Tx2086Result ¶ added in v1.0.0
type Tx2086Result struct {
Result string `json:"result,omitempty"` // 订单状态
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
OrderAmount int64 `json:"orderAmount"` // 垫资发放金额
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
}
type Tx2089Dto ¶ added in v1.0.0
type Tx2089Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
SignNum string `json:"signNum,omitempty"` // 商户会员编号-付款人
ReceiverList []*Tx2089Receiver `json:"receiverList"` // 收款人列表
GoodsType string `json:"goodsType,omitempty"` // 商品类型
BizGoodsNo string `json:"bizGoodsNo,omitempty"` // 商户商品编号
OrderAmount int64 `json:"orderAmount"` // 订单金额
PayAmount int64 `json:"payAmount,omitempty"` // 支付金额
PromotionAmount int64 `json:"promotionAmount,omitempty"` // 营销金额
ReqsUrl string `json:"reqsUrl,omitempty"` // 前台通知地址
RespUrl string `json:"respUrl,omitempty"` // 后台通知地址
OrderValidTime string `json:"orderValidTime,omitempty"` // 订单过期时间
PayMode M `json:"payMode"` // 支付模式
GoodsName string `json:"goodsName,omitempty"` // 商品名称
Summary string `json:"summary,omitempty"` // 摘要
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
TxDistrictCode string `json:"txDistrictCode,omitempty"` // 交易所在省市
GoodsDesc string `json:"goodsDesc,omitempty"` // 商品描述
}
func NewTx2089Dto ¶ added in v1.0.0
func NewTx2089Dto(reqTraceNum string, receiverList []*Tx2089Receiver, orderAmount int64, payMode M) *Tx2089Dto
func (*Tx2089Dto) SetBizGoodsNo ¶ added in v1.0.0
func (*Tx2089Dto) SetExtendParams ¶ added in v1.0.0
func (*Tx2089Dto) SetGoodsDesc ¶ added in v1.0.0
func (*Tx2089Dto) SetGoodsName ¶ added in v1.0.0
func (*Tx2089Dto) SetGoodsType ¶ added in v1.0.0
func (*Tx2089Dto) SetOrderValidTime ¶ added in v1.0.0
func (*Tx2089Dto) SetPayAmount ¶ added in v1.0.0
func (*Tx2089Dto) SetPromotionAmount ¶ added in v1.0.0
func (*Tx2089Dto) SetReqsUrl ¶ added in v1.0.0
func (*Tx2089Dto) SetRespUrl ¶ added in v1.0.0
func (*Tx2089Dto) SetSignNum ¶ added in v1.0.0
func (*Tx2089Dto) SetSummary ¶ added in v1.0.0
func (*Tx2089Dto) SetTxDistrictCode ¶ added in v1.0.0
type Tx2089Receiver ¶ added in v1.2.0
type Tx2089Receiver struct {
SignNum string `json:"signNum"` // 商户会员编号
Amount int64 `json:"amount"` // 收款金额
}
func NewTx2089Receiver ¶ added in v1.2.0
func NewTx2089Receiver(signNum string, amount int64) *Tx2089Receiver
type Tx2089Result ¶ added in v1.0.0
type Tx2089Result struct {
Result string `json:"result,omitempty"` // 订单状态
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
ChannelParamInfo string `json:"channelParamInfo,omitempty"` // 渠道参数信息(支付详情)
ChnlFrontParamInfo string `json:"chnlFrontParamInfo,omitempty"` // 渠道参数信息(前端支付参数)
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
IsPreConsume string `json:"isPreConsume,omitempty"` // 是否微信订单预消费
}
type Tx2090Dto ¶ added in v1.0.0
type Tx2090Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
OrgReqTraceNum string `json:"orgReqTraceNum,omitempty"` // 担保消费申请商户订单号
OrgTransDate string `json:"orgTransDate,omitempty"` // 担保消费申请订单创建日期
OrgRespTraceNum string `json:"orgRespTraceNum,omitempty"` // 担保消费申请通联订单号
ReceiverList []*Tx2090Receiver `json:"receiverList"` // 收款人列表
RespUrl string `json:"respUrl,omitempty"` // 后台通知地址
Summary string `json:"summary,omitempty"` // 摘要
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
}
func NewTx2090Dto ¶ added in v1.0.0
func NewTx2090Dto(reqTraceNum string, receiverList []*Tx2090Receiver) *Tx2090Dto
func (*Tx2090Dto) SetExtendParams ¶ added in v1.0.0
func (*Tx2090Dto) SetOrgReqTraceNum ¶ added in v1.0.0
func (*Tx2090Dto) SetOrgRespTraceNum ¶ added in v1.0.0
func (*Tx2090Dto) SetOrgTransDate ¶ added in v1.0.0
func (*Tx2090Dto) SetRespUrl ¶ added in v1.0.0
func (*Tx2090Dto) SetSummary ¶ added in v1.0.0
type Tx2090Receiver ¶ added in v1.2.0
type Tx2090Receiver struct {
SignNum string `json:"signNum"` // 商户会员编号
Amount int64 `json:"amount"` // 金额
CouponAmount int64 `json:"couponAmount,omitempty"` // 平台抽佣金额
SepDetail []*Tx2090SepDetail `json:"sepDetail,omitempty"` // 分账列表
}
func NewTx2090Receiver ¶ added in v1.2.0
func NewTx2090Receiver(signNum string, amount int64) *Tx2090Receiver
func (*Tx2090Receiver) SetCouponAmount ¶ added in v1.2.0
func (x *Tx2090Receiver) SetCouponAmount(v int64) *Tx2090Receiver
func (*Tx2090Receiver) SetSepDetail ¶ added in v1.2.0
func (x *Tx2090Receiver) SetSepDetail(v []*Tx2090SepDetail) *Tx2090Receiver
type Tx2090Result ¶ added in v1.0.0
type Tx2090SepDetail ¶ added in v1.0.0
type Tx2090SepDetail struct {
SignNum string `json:"signNum"` // 商户会员编号
Amount int64 `json:"amount"` // 分账金额
Remark string `json:"remark,omitempty"` // 备注
}
func NewTx2090SepDetail ¶ added in v1.0.0
func NewTx2090SepDetail(signNum string, amount int64) *Tx2090SepDetail
func (*Tx2090SepDetail) SetRemark ¶ added in v1.0.0
func (x *Tx2090SepDetail) SetRemark(v string) *Tx2090SepDetail
type Tx2091Apply ¶ added in v1.2.0
type Tx2091Apply struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
ApplyInfo []*Tx2091ApplyInfo `json:"applyInfo"` // 源担保消费申请订单付款信息
SignNum string `json:"signNum"` // 商户会员编号-收款人
Amount int64 `json:"amount"` // 确认金额
Summary string `json:"summary,omitempty"` // 摘要
ExtendParams string `json:"extendParams,omitempty"` // 商户扩展参数
}
func NewTx2091Apply ¶ added in v1.2.0
func NewTx2091Apply(reqTraceNum string, applyInfo []*Tx2091ApplyInfo, signNum string, amount int64) *Tx2091Apply
func (*Tx2091Apply) SetExtendParams ¶ added in v1.2.0
func (x *Tx2091Apply) SetExtendParams(v string) *Tx2091Apply
func (*Tx2091Apply) SetSummary ¶ added in v1.2.0
func (x *Tx2091Apply) SetSummary(v string) *Tx2091Apply
type Tx2091ApplyInfo ¶ added in v1.0.0
type Tx2091ApplyInfo struct {
OrgReqTraceNum string `json:"orgReqTraceNum,omitempty"` // 担保消费申请商户订单号
OrgTransDate string `json:"orgTransDate,omitempty"` // 担保消费申请订单创建日期
OrgRespTraceNum string `json:"orgRespTraceNum,omitempty"` // 担保消费申请通联订单号
OrderAmount int64 `json:"orderAmount"` // 金额
CouponAmount int64 `json:"couponAmount,omitempty"` // 平台抽佣金额
SepDetail []*Tx2091SepDetail `json:"sepDetail,omitempty"` // 分账列表
}
func NewTx2091ApplyInfo ¶ added in v1.0.0
func NewTx2091ApplyInfo(orderAmount int64) *Tx2091ApplyInfo
func (*Tx2091ApplyInfo) SetCouponAmount ¶ added in v1.0.0
func (x *Tx2091ApplyInfo) SetCouponAmount(v int64) *Tx2091ApplyInfo
func (*Tx2091ApplyInfo) SetOrgReqTraceNum ¶ added in v1.0.0
func (x *Tx2091ApplyInfo) SetOrgReqTraceNum(v string) *Tx2091ApplyInfo
func (*Tx2091ApplyInfo) SetOrgRespTraceNum ¶ added in v1.0.0
func (x *Tx2091ApplyInfo) SetOrgRespTraceNum(v string) *Tx2091ApplyInfo
func (*Tx2091ApplyInfo) SetOrgTransDate ¶ added in v1.0.0
func (x *Tx2091ApplyInfo) SetOrgTransDate(v string) *Tx2091ApplyInfo
func (*Tx2091ApplyInfo) SetSepDetail ¶ added in v1.0.0
func (x *Tx2091ApplyInfo) SetSepDetail(v []*Tx2091SepDetail) *Tx2091ApplyInfo
type Tx2091Dto ¶ added in v1.0.0
type Tx2091Dto struct {
BatchNo string `json:"batchNo"` // 商户批次号
ApplyList []*Tx2091Apply `json:"applyList"` // 批量担保消费申请订单列表
RespUrl string `json:"respUrl,omitempty"` // 后台通知地址
}
func NewTx2091Dto ¶ added in v1.0.0
func NewTx2091Dto(batchNo string, applyList []*Tx2091Apply) *Tx2091Dto
func (*Tx2091Dto) SetRespUrl ¶ added in v1.0.0
type Tx2091Result ¶ added in v1.0.0
type Tx2091SepDetail ¶ added in v1.0.0
type Tx2091SepDetail struct {
SignNum string `json:"signNum"` // 商户会员编号
Amount int64 `json:"amount"` // 分账金额
Remark string `json:"remark,omitempty"` // 备注
}
func NewTx2091SepDetail ¶ added in v1.0.0
func NewTx2091SepDetail(signNum string, amount int64) *Tx2091SepDetail
func (*Tx2091SepDetail) SetRemark ¶ added in v1.0.0
func (x *Tx2091SepDetail) SetRemark(v string) *Tx2091SepDetail
type Tx2094Dto ¶ added in v1.0.0
type Tx2094Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
ReceiverList []*Tx2094Receiver `json:"receiverList"` // 收款人列表
RespUrl string `json:"respUrl,omitempty"` // 后台通知地址
Remark string `json:"remark,omitempty"` // 备注
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
}
func NewTx2094Dto ¶ added in v1.0.0
func NewTx2094Dto(reqTraceNum string, receiverList []*Tx2094Receiver) *Tx2094Dto
func (*Tx2094Dto) SetExtendParams ¶ added in v1.0.0
func (*Tx2094Dto) SetRespUrl ¶ added in v1.0.0
type Tx2094Receiver ¶ added in v1.2.0
type Tx2094Receiver struct {
SignNum string `json:"signNum"` // 商户会员编号-收款方
Amount int64 `json:"amount"` // 核销金额
CouponAmount int64 `json:"couponAmount,omitempty"` // 平台抽佣金额
SepDetail []*Tx2094SepDetail `json:"sepDetail,omitempty"` // 储值卡核销分账人列表
}
func NewTx2094Receiver ¶ added in v1.2.0
func NewTx2094Receiver(signNum string, amount int64) *Tx2094Receiver
func (*Tx2094Receiver) SetCouponAmount ¶ added in v1.2.0
func (x *Tx2094Receiver) SetCouponAmount(v int64) *Tx2094Receiver
func (*Tx2094Receiver) SetSepDetail ¶ added in v1.2.0
func (x *Tx2094Receiver) SetSepDetail(v []*Tx2094SepDetail) *Tx2094Receiver
type Tx2094Result ¶ added in v1.0.0
type Tx2094Result struct {
Result string `json:"result,omitempty"` // 订单状态
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
}
type Tx2094SepDetail ¶ added in v1.0.0
type Tx2094SepDetail struct {
SignNum string `json:"signNum"` // 商户会员编号-分账收款人
Amount int64 `json:"amount"` // 分账金额
Remark string `json:"remark,omitempty"` // 备注
}
func NewTx2094SepDetail ¶ added in v1.0.0
func NewTx2094SepDetail(signNum string, amount int64) *Tx2094SepDetail
func (*Tx2094SepDetail) SetRemark ¶ added in v1.0.0
func (x *Tx2094SepDetail) SetRemark(v string) *Tx2094SepDetail
type Tx2096Dto ¶ added in v1.0.0
type Tx2096Dto struct {
ReceiverSignNum string `json:"receiverSignNum"` // 充值会员编号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
OrderAmount int64 `json:"orderAmount"` // 订单金额
PlatAcctType string `json:"platAcctType,omitempty"` // 平台账户类型
SignNum string `json:"signNum,omitempty"` // 付款人会员编号
PayAmount int64 `json:"payAmount,omitempty"` // 支付金额
PromotionAmount int64 `json:"promotionAmount,omitempty"` // 营销金额
CouponAmount int64 `json:"couponAmount,omitempty"` // 抽佣金额
IsHandleChannelFee string `json:"isHandleChannelFee,omitempty"` // 是否处理渠道手续费
PayMode M `json:"payMode,omitempty"` // 支付模式
ReqsUrl string `json:"reqsUrl,omitempty"` // 前台通知地址
RespUrl string `json:"respUrl,omitempty"` // 后台通知地址
OrderValidTime string `json:"orderValidTime,omitempty"` // 订单过期时间
GoodsName string `json:"goodsName,omitempty"` // 商品名称
GoodsDesc string `json:"goodsDesc,omitempty"` // 商品描述
TxDistrictCode string `json:"txDistrictCode,omitempty"` // 交易所在省市
Summary string `json:"summary,omitempty"` // 摘要
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
}
func NewTx2096Dto ¶ added in v1.0.0
func (*Tx2096Dto) SetCouponAmount ¶ added in v1.0.0
func (*Tx2096Dto) SetExtendParams ¶ added in v1.0.0
func (*Tx2096Dto) SetGoodsDesc ¶ added in v1.0.0
func (*Tx2096Dto) SetGoodsName ¶ added in v1.0.0
func (*Tx2096Dto) SetIsHandleChannelFee ¶ added in v1.0.0
func (*Tx2096Dto) SetOrderValidTime ¶ added in v1.0.0
func (*Tx2096Dto) SetPayAmount ¶ added in v1.0.0
func (*Tx2096Dto) SetPayMode ¶ added in v1.0.0
func (*Tx2096Dto) SetPlatAcctType ¶ added in v1.0.0
func (*Tx2096Dto) SetPromotionAmount ¶ added in v1.0.0
func (*Tx2096Dto) SetReqsUrl ¶ added in v1.0.0
func (*Tx2096Dto) SetRespUrl ¶ added in v1.0.0
func (*Tx2096Dto) SetSignNum ¶ added in v1.0.0
func (*Tx2096Dto) SetSummary ¶ added in v1.0.0
func (*Tx2096Dto) SetTxDistrictCode ¶ added in v1.0.0
type Tx2096Result ¶ added in v1.0.0
type Tx2096Result struct {
Result string `json:"result,omitempty"` // 订单状态
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
ChannelParamInfo string `json:"channelParamInfo,omitempty"` // 渠道参数信息(支付详情)
ChnlFrontParamInfo string `json:"chnlFrontParamInfo,omitempty"` // 渠道参数信息(前端支付参数)
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
IsPreConsume string `json:"isPreConsume,omitempty"` // 是否微信订单预消费
}
type Tx2099Dto ¶ added in v1.0.0
type Tx2099Dto struct {
BatchNo string `json:"batchNo"` // 批次号
SignNum string `json:"signNum"` // 商户会员编号-转出方
AcctType string `json:"acctType,omitempty"` // 转出账户类型
AcctNum string `json:"acctNum"` // 支付账户号-转出方
TotalCount string `json:"totalCount"` // 转账笔数
TransferList []*Tx2099Transfer `json:"transferList"` // 转账列表
RespURL string `json:"respUrl,omitempty"` // 后台通知地址
Summary string `json:"summary,omitempty"` // 摘要
}
func NewTx2099Dto ¶ added in v1.0.0
func (*Tx2099Dto) SetAcctType ¶ added in v1.0.0
func (*Tx2099Dto) SetRespURL ¶ added in v1.0.0
func (*Tx2099Dto) SetSummary ¶ added in v1.0.0
type Tx2099Result ¶ added in v1.0.0
type Tx2099Transfer ¶ added in v1.2.0
type Tx2099Transfer struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
InSignNum string `json:"inSignNum"` // 商户会员编号-转入方
InAcctNum string `json:"inAcctNum"` // 支付账户号-转入方
InAcctType string `json:"inAcctType,omitempty"` // 转入账户类型
OrderAmount int64 `json:"orderAmount"` // 转账金额
Summary string `json:"summary,omitempty"` // 摘要
}
func NewTx2099Transfer ¶ added in v1.2.0
func NewTx2099Transfer(reqTraceNum string, inSignNum string, inAcctNum string, orderAmount int64) *Tx2099Transfer
func (*Tx2099Transfer) SetInAcctType ¶ added in v1.2.0
func (x *Tx2099Transfer) SetInAcctType(v string) *Tx2099Transfer
func (*Tx2099Transfer) SetSummary ¶ added in v1.2.0
func (x *Tx2099Transfer) SetSummary(v string) *Tx2099Transfer
type Tx2286Dto ¶ added in v1.0.0
type Tx2286Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
OrgRespTraceNum string `json:"orgRespTraceNum"` // 原垫资发放通联订单号
OrderAmount int64 `json:"orderAmount"` // 还款金额,单位分
RespURL string `json:"respUrl,omitempty"` // 后台通知地址
Remark string `json:"remark,omitempty"` // 备注
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
}
func NewTx2286Dto ¶ added in v1.0.0
func (*Tx2286Dto) SetExtendParams ¶ added in v1.0.0
func (*Tx2286Dto) SetRespURL ¶ added in v1.0.0
type Tx2286Result ¶ added in v1.0.0
type Tx2286Result struct {
Result string `json:"result,omitempty"` // 订单状态
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
ExtendParams string `json:"extendParams,omitempty"` // 扩展参数
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
}
type Tx2290Dto ¶ added in v1.0.0
type Tx2290Dto struct {
SignNum string `json:"signNum"` // 商户会员编号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
OrderAmount int64 `json:"orderAmount"` // 订单金额
AcctNum string `json:"acctNum"` // 银行卡号
AcctType string `json:"acctType,omitempty"` // 提现账户类型
PayAcctNo string `json:"payAcctNo,omitempty"` // 支付账户号
CouponAmount int64 `json:"couponAmount,omitempty"` // 平台抽佣金额
RespUrl string `json:"respUrl,omitempty"` // 后台通知地址
PayMode M `json:"payMode,omitempty"` // 支付模式
ReceiveAcctType string `json:"receiveAcctType,omitempty"` // 入账账户类型
WithdrawType string `json:"withdrawType,omitempty"` // 提现方式
Summary string `json:"summary,omitempty"` // 摘要
ExtendParams string `json:"extendParams,omitempty"` // 扩展信息
}
func NewTx2290Dto ¶ added in v1.0.0
func (*Tx2290Dto) SetAcctType ¶ added in v1.0.0
func (*Tx2290Dto) SetCouponAmount ¶ added in v1.0.0
func (*Tx2290Dto) SetExtendParams ¶ added in v1.0.0
func (*Tx2290Dto) SetPayAcctNo ¶ added in v1.0.0
func (*Tx2290Dto) SetPayMode ¶ added in v1.0.0
func (*Tx2290Dto) SetReceiveAcctType ¶ added in v1.0.0
func (*Tx2290Dto) SetRespUrl ¶ added in v1.0.0
func (*Tx2290Dto) SetSummary ¶ added in v1.0.0
func (*Tx2290Dto) SetWithdrawType ¶ added in v1.0.0
type Tx2290Result ¶ added in v1.0.0
type Tx2290Result struct {
Result string `json:"result,omitempty"` // 订单状态
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号(支付订单)
ChnlTradeCode string `json:"chnlTradeCode,omitempty"` // 收付通渠道银行流水号
ExtendParams string `json:"extendParams,omitempty"` // 扩展信息
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
}
type Tx2293Dto ¶ added in v1.0.0
type Tx2293Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户请求流水号
OpenBankNo string `json:"openBankNo"` // 开户银行编号
OrderAmount int64 `json:"orderAmount"` // 调拨资金,单位分
RespURL string `json:"respUrl,omitempty"` // 调拨结果通知地址
ExtendParams string `json:"extendParams,omitempty"` // 备注
}
func NewTx2293Dto ¶ added in v1.0.0
func (*Tx2293Dto) SetExtendParams ¶ added in v1.0.0
func (*Tx2293Dto) SetRespURL ¶ added in v1.0.0
type Tx2293Result ¶ added in v1.0.0
type Tx2294ChnlDiscAmt ¶ added in v1.0.0
type Tx2294ChnlDiscAmt M
func NewTx2294ChnlDiscAmt ¶ added in v1.0.0
func NewTx2294ChnlDiscAmt() Tx2294ChnlDiscAmt
type Tx2294Dto ¶ added in v1.0.0
type Tx2294Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号-退款订单号
OrderAmount int64 `json:"orderAmount"` // 退款总金额
OrgReqTraceNum string `json:"orgReqTraceNum,omitempty"` // 原商户订单号
OrgTransDate string `json:"orgTransDate,omitempty"` // 原订单创建日期
OrgRespTraceNum string `json:"orgRespTraceNum,omitempty"` // 原通联订单号
PromotionAmount int64 `json:"promotionAmount,omitempty"` // 营销退款金额
RefundDetail []*Tx2294RefundDetail `json:"refundDetail,omitempty"` // 订单退款列表
SvcRefundDetail []*Tx2294SvcRefundDetail `json:"svcRefundDetail,omitempty"` // 储值卡核销退款列表
IsFundAllocation string `json:"isFundAllocation,omitempty"` // 是否需要调拨资金
IsAdvancePay string `json:"isAdvancePay,omitempty"` // 是否允许收款人垫资
RespUrl string `json:"respUrl,omitempty"` // 后台通知地址
ChnlDiscAmt Tx2294ChnlDiscAmt `json:"chnlDiscAmt,omitempty"` // 优惠信息
Summary string `json:"summary,omitempty"` // 摘要
ExtendParams string `json:"extendParams,omitempty"` // 扩展信息
WechatPayB2bRefundDetail *Tx2294WechatPayB2bRefundDetail `json:"wechatPayB2bRefundDetail,omitempty"` // B2b门店助手退款详情
Remark string `json:"remark,omitempty"` // 业务备注
Reason string `json:"reason,omitempty"` // 退款理由
}
func NewTx2294Dto ¶ added in v1.0.0
func (*Tx2294Dto) SetChnlDiscAmt ¶ added in v1.0.0
func (x *Tx2294Dto) SetChnlDiscAmt(v Tx2294ChnlDiscAmt) *Tx2294Dto
func (*Tx2294Dto) SetExtendParams ¶ added in v1.0.0
func (*Tx2294Dto) SetIsAdvancePay ¶ added in v1.0.0
func (*Tx2294Dto) SetIsFundAllocation ¶ added in v1.0.0
func (*Tx2294Dto) SetOrgReqTraceNum ¶ added in v1.0.0
func (*Tx2294Dto) SetOrgRespTraceNum ¶ added in v1.0.0
func (*Tx2294Dto) SetOrgTransDate ¶ added in v1.0.0
func (*Tx2294Dto) SetPromotionAmount ¶ added in v1.0.0
func (*Tx2294Dto) SetRefundDetail ¶ added in v1.0.0
func (x *Tx2294Dto) SetRefundDetail(v []*Tx2294RefundDetail) *Tx2294Dto
func (*Tx2294Dto) SetRespUrl ¶ added in v1.0.0
func (*Tx2294Dto) SetSummary ¶ added in v1.0.0
func (*Tx2294Dto) SetSvcRefundDetail ¶ added in v1.0.0
func (x *Tx2294Dto) SetSvcRefundDetail(v []*Tx2294SvcRefundDetail) *Tx2294Dto
func (*Tx2294Dto) SetWechatPayB2bRefundDetail ¶ added in v1.0.0
func (x *Tx2294Dto) SetWechatPayB2bRefundDetail(v *Tx2294WechatPayB2bRefundDetail) *Tx2294Dto
type Tx2294RefundDetail ¶ added in v1.0.0
type Tx2294RefundDetail struct {
SignNum string `json:"signNum"` // 商户会员编号
OrderAmount int64 `json:"orderAmount"` // 退款金额
AcctType string `json:"acctType,omitempty"` // 账户类型
CouponAmount int64 `json:"couponAmount,omitempty"` // 平台抽佣退款金额
SepDetail []*Tx2294SepDetail `json:"sepDetail,omitempty"` // 分账退款列表
}
func NewTx2294RefundDetail ¶ added in v1.0.0
func NewTx2294RefundDetail(signNum string, orderAmount int64) *Tx2294RefundDetail
func (*Tx2294RefundDetail) SetAcctType ¶ added in v1.0.0
func (x *Tx2294RefundDetail) SetAcctType(v string) *Tx2294RefundDetail
func (*Tx2294RefundDetail) SetCouponAmount ¶ added in v1.0.0
func (x *Tx2294RefundDetail) SetCouponAmount(v int64) *Tx2294RefundDetail
func (*Tx2294RefundDetail) SetSepDetail ¶ added in v1.0.0
func (x *Tx2294RefundDetail) SetSepDetail(v []*Tx2294SepDetail) *Tx2294RefundDetail
type Tx2294Result ¶ added in v1.0.0
type Tx2294Result struct {
Result string `json:"result,omitempty"` // 订单状态
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
RespTraceNum string `json:"respTraceNum"` // 通联订单号
ExtendParams string `json:"extendParams,omitempty"` // 扩展信息
ChannelParamInfo string `json:"channelParamInfo,omitempty"` // 渠道参数信息
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
}
type Tx2294SepDetail ¶ added in v1.0.0
type Tx2294SepDetail struct {
SignNum string `json:"signNum"` // 商户会员编号
Amount int64 `json:"amount"` // 分账退款金额
Remark string `json:"remark,omitempty"` // 备注
}
func NewTx2294SepDetail ¶ added in v1.0.0
func NewTx2294SepDetail(signNum string, amount int64) *Tx2294SepDetail
func (*Tx2294SepDetail) SetRemark ¶ added in v1.0.0
func (x *Tx2294SepDetail) SetRemark(v string) *Tx2294SepDetail
type Tx2294SvcRefundDetail ¶ added in v1.0.0
type Tx2294SvcRefundDetail struct {
SignNum string `json:"signNum"` // 商户会员编号
OrderAmount int64 `json:"orderAmount"` // 储值卡核销退款金额
CouponAmount int64 `json:"couponAmount,omitempty"` // 平台抽佣退款金额
SepDetail []*Tx2294SepDetail `json:"sepDetail,omitempty"` // 分账退款列表
}
func NewTx2294SvcRefundDetail ¶ added in v1.0.0
func NewTx2294SvcRefundDetail(signNum string, orderAmount int64) *Tx2294SvcRefundDetail
func (*Tx2294SvcRefundDetail) SetCouponAmount ¶ added in v1.0.0
func (x *Tx2294SvcRefundDetail) SetCouponAmount(v int64) *Tx2294SvcRefundDetail
func (*Tx2294SvcRefundDetail) SetSepDetail ¶ added in v1.0.0
func (x *Tx2294SvcRefundDetail) SetSepDetail(v []*Tx2294SepDetail) *Tx2294SvcRefundDetail
type Tx2294WechatPayB2bRefundDetail ¶ added in v1.0.0
type Tx2294WechatPayB2bRefundDetail struct {
RefundFrom string `json:"refundFrom,omitempty"` // 退款来源
RefundReason string `json:"refundReason,omitempty"` // 退款原因
Description string `json:"description,omitempty"` // 退款商品描述
}
func NewTx2294WechatPayB2bRefundDetail ¶ added in v1.0.0
func NewTx2294WechatPayB2bRefundDetail() *Tx2294WechatPayB2bRefundDetail
func (*Tx2294WechatPayB2bRefundDetail) SetDescription ¶ added in v1.0.0
func (x *Tx2294WechatPayB2bRefundDetail) SetDescription(v string) *Tx2294WechatPayB2bRefundDetail
func (*Tx2294WechatPayB2bRefundDetail) SetRefundFrom ¶ added in v1.0.0
func (x *Tx2294WechatPayB2bRefundDetail) SetRefundFrom(v string) *Tx2294WechatPayB2bRefundDetail
func (*Tx2294WechatPayB2bRefundDetail) SetRefundReason ¶ added in v1.0.0
func (x *Tx2294WechatPayB2bRefundDetail) SetRefundReason(v string) *Tx2294WechatPayB2bRefundDetail
type Tx2295Dto ¶ added in v1.0.0
type Tx2295Dto struct {
OrgRespTraceNum string `json:"orgRespTraceNum"` // 原通联订单号
CloseReason string `json:"closeReason,omitempty"` // 关单原因
}
func NewTx2295Dto ¶ added in v1.0.0
func (*Tx2295Dto) SetCloseReason ¶ added in v1.0.0
type Tx2295Result ¶ added in v1.0.0
type Tx2295Result struct {
ReqTraceNum string `json:"reqTraceNum"` // 商户订单号
RespTraceNum string `json:"respTraceNum"` // 通联订单号
CloseResult string `json:"closeResult"` // 订单关闭结果
CloseFinishTime string `json:"closeFinishTime,omitempty"` // 订单关闭完成时间
Result string `json:"result,omitempty"` // 订单状态
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
}
type Tx3010Dto ¶ added in v1.0.0
type Tx3010Dto struct {
VerifyCode string `json:"verifyCode"` // 短信验证码
BatchNo string `json:"batchNo,omitempty"` // 批次号
RespTraceNum string `json:"respTraceNum,omitempty"` // 通联订单号
}
func NewTx3010Dto ¶ added in v1.0.0
func (*Tx3010Dto) SetBatchNo ¶ added in v1.0.0
func (*Tx3010Dto) SetRespTraceNum ¶ added in v1.0.0
type Tx3010Result ¶ added in v1.0.0
type Tx3010Result struct {
Result string `json:"result,omitempty"` // 订单状态
BatchNo string `json:"batchNo,omitempty"` // 批次号
ReqTraceNum string `json:"reqTraceNum,omitempty"` // 商户订单号
RespTraceNum string `json:"respTraceNum,omitempty"` // 通联订单号
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
}
type Tx4006Dto ¶ added in v1.0.0
type Tx4006Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 请求流水号
VspCusid string `json:"vspCusid,omitempty"` // 收银宝商户号
OpType string `json:"opType"` // 服务单操作类型
ServiceID string `json:"serviceId"` // 服务ID
BizParam string `json:"bizParam"` // 业务参数
}
func NewTx4006Dto ¶ added in v1.0.0
func (*Tx4006Dto) SetBizParamJSON ¶ added in v1.0.0
func (*Tx4006Dto) SetVspCusid ¶ added in v1.0.0
type Tx4006NotifyResult ¶ added in v1.0.0
type Tx4006NotifyResult struct {
VspCusid string `json:"vspCusid"` // 收银宝子商户号
EventType string `json:"eventType"` // 通知类型
Summary string `json:"summary"` // 回调摘要
BizParam json.RawMessage `json:"bizParam"` // 业务参数
}
func (*Tx4006NotifyResult) DecodeBizParam ¶ added in v1.0.0
func (x *Tx4006NotifyResult) DecodeBizParam(v any) error
type Tx4006Result ¶ added in v1.0.0
type Tx4006Result struct {
RespTraceNum string `json:"respTraceNum"` // 通联订单号
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 失败原因
VspCusid string `json:"vspCusid,omitempty"` // 收银宝商户号
BizParam string `json:"bizParam,omitempty"` // 业务响应参数
}
func (*Tx4006Result) DecodeBizParam ¶ added in v1.0.0
func (x *Tx4006Result) DecodeBizParam(v any) error
type Tx4013Dto ¶ added in v1.0.0
type Tx4013Dto struct {
DigID string `json:"digId,omitempty"` // 应用机构ID
OrgID string `json:"orgId,omitempty"` // 应用机构号
OrgAppID string `json:"orgAppId,omitempty"` // 机构appid
OrderNo string `json:"orderNo"` // 通联订单号
Code string `json:"code"` // 收银宝分配的二维码编号
AgreeIDList string `json:"agreeIdList,omitempty"` // 快捷协议号列表
MktInfo *Tx4013MktInfo `json:"mktInfo,omitempty"` // 营销信息
ReqsURL string `json:"reqsUrl"` // 支付成功跳转地址
NoPayType string `json:"noPayType,omitempty"` // 需屏蔽支付类型
}
func NewTx4013Dto ¶ added in v1.0.0
func NewTx4013QuickH5Dto ¶ added in v1.0.0
func (*Tx4013Dto) SetAgreeIDList ¶ added in v1.0.0
func (*Tx4013Dto) SetMktInfo ¶ added in v1.0.0
func (x *Tx4013Dto) SetMktInfo(v *Tx4013MktInfo) *Tx4013Dto
func (*Tx4013Dto) SetNoPayType ¶ added in v1.0.0
func (*Tx4013Dto) SetOrgAppID ¶ added in v1.0.0
type Tx4013MktInfo ¶ added in v1.0.0
type Tx4013MktInfo struct {
OutUserID string `json:"outUserid,omitempty"` // 商户平台会员号
OpeID string `json:"opeid,omitempty"` // 基础营销活动发起方
MktAppID string `json:"mktAppid,omitempty"` // 基础营销appid
}
func NewTx4013MktInfo ¶ added in v1.0.0
func NewTx4013MktInfo() *Tx4013MktInfo
func (*Tx4013MktInfo) SetMktAppID ¶ added in v1.0.0
func (x *Tx4013MktInfo) SetMktAppID(v string) *Tx4013MktInfo
func (*Tx4013MktInfo) SetOpeID ¶ added in v1.0.0
func (x *Tx4013MktInfo) SetOpeID(v string) *Tx4013MktInfo
func (*Tx4013MktInfo) SetOutUserID ¶ added in v1.0.0
func (x *Tx4013MktInfo) SetOutUserID(v string) *Tx4013MktInfo
type Tx4013Result ¶ added in v1.0.0
type Tx4013Result struct {
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
PayAmount int64 `json:"payAmount"` // 支付金额
ChnlFrontParamInfo string `json:"chnlFrontParamInfo"` // 当面付支付链接
OrderNo string `json:"orderNo,omitempty"` // 通联订单号
TrxReserve string `json:"trxReserve,omitempty"` // 业务备注信息
}
type Tx4016Dto ¶ added in v1.0.0
type Tx4016Dto struct {
ReqTraceNum string `json:"reqTraceNum"` // 请求流水号
VspCusid string `json:"vspCusid,omitempty"` // 收银宝商户号
OpType string `json:"opType"` // 服务单操作类型
ServiceID string `json:"serviceId"` // 服务ID
BizParam string `json:"bizParam"` // 业务参数
}
func NewTx4016Dto ¶ added in v1.0.0
func (*Tx4016Dto) SetBizParamJSON ¶ added in v1.0.0
func (*Tx4016Dto) SetVspCusid ¶ added in v1.0.0
type Tx4016NotifyResult ¶ added in v1.0.0
type Tx4016NotifyResult struct {
VspCusid string `json:"vspCusid"` // 收银宝子商户号
EventType string `json:"eventType"` // 通知类型
BizParam json.RawMessage `json:"bizParam"` // 业务参数
}
func (*Tx4016NotifyResult) DecodeBizParam ¶ added in v1.0.0
func (x *Tx4016NotifyResult) DecodeBizParam(v any) error
type Tx4016Result ¶ added in v1.0.0
type Tx4016Result struct {
RespTraceNum string `json:"respTraceNum"` // 通联订单号
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 失败原因
BizSubCode string `json:"bizsubcode,omitempty"` // 支付宝业务错误码
BizSubMsg string `json:"bizsubmsg,omitempty"` // 支付宝业务错误原因
VspCusid string `json:"vspCusid,omitempty"` // 收银宝商户号
BizParam string `json:"bizParam,omitempty"` // 业务响应参数
}
func (*Tx4016Result) DecodeBizParam ¶ added in v1.0.0
func (x *Tx4016Result) DecodeBizParam(v any) error
type Tx4023Dto ¶ added in v1.0.0
type Tx4023Result ¶ added in v1.0.0
type Tx4037Dto ¶ added in v1.0.0
type Tx4037Dto struct {
VspCusID string `json:"vspCusid"` // 收银宝商户号
TrxAmt int64 `json:"trxamt"` // 交易金额,不含营销补贴金额
}
func NewTx4037Dto ¶ added in v1.0.0
type Tx4037Result ¶ added in v1.0.0
type Tx4037Result struct {
RespCode string `json:"respCode"` // 业务返回码
RespMsg string `json:"respMsg"` // 业务返回说明
Amt3 string `json:"amt3,omitempty"` // 3 期每期还款
Fee3 string `json:"fee3,omitempty"` // 3 期每期利息
Amt6 string `json:"amt6,omitempty"` // 6 期每期还款
Fee6 string `json:"fee6,omitempty"` // 6 期每期利息
Amt12 string `json:"amt12,omitempty"` // 12 期每期还款
Fee12 string `json:"fee12,omitempty"` // 12 期每期利息
}
type Yst2Ka ¶
type Yst2Ka struct {
Option *Option
Client *resty.Client
// contains filtered or unexported fields
}
func (*Yst2Ka) FileUpload ¶
func (x *Yst2Ka) FileUpload(ctx context.Context, opt FileUploadOption) (_ *FileUploadResult, err error)
func (*Yst2Ka) GetAcctInfos ¶
func (*Yst2Ka) GetAgreements ¶
func (*Yst2Ka) GetBindPhoneJson ¶
func (*Yst2Ka) GetEnterpriseInfo ¶
func (*Yst2Ka) GetMemberBalanceDetails ¶
func (*Yst2Ka) GetMemberControlInfo ¶
func (*Yst2Ka) GetOcrResultJson ¶
func (*Yst2Ka) GetPayAcctAuditJson ¶
func (*Yst2Ka) GetPayAcctOpenJson ¶
func (*Yst2Ka) GetPersonInfo ¶
func (*Yst2Ka) GetPlatformBalanceDetail ¶
func (x *Yst2Ka) GetPlatformBalanceDetail(ctx context.Context) (detail Tm1023BalanceDetail, err error)
func (*Yst2Ka) GetPrivateKey ¶
func (x *Yst2Ka) GetPrivateKey() *sm2.PrivateKey
func (*Yst2Ka) GetPublicKey ¶
func (*Yst2Ka) GetSettleAcctInfo ¶
func (*Yst2Ka) GetbankSubAcctInfo ¶
Source Files
¶
- tm1010.go
- tm1011.go
- tm1012.go
- tm1013.go
- tm1014.go
- tm1015.go
- tm1020.go
- tm1022.go
- tm1023.go
- tm1024.go
- tm1025.go
- tm1026.go
- tm1027.go
- tm1029.go
- tm1030.go
- tm1031.go
- tm1032.go
- tm1033.go
- tm1035.go
- tm1043.go
- tm1050.go
- tm1051.go
- tm1052.go
- tm1053.go
- tm2299.go
- tm4001.go
- tm4043.go
- tq1062.go
- tq3001.go
- tq3002.go
- tq3004.go
- tq3007.go
- tq4003.go
- tx2084.go
- tx2085.go
- tx2086.go
- tx2089.go
- tx2090.go
- tx2091.go
- tx2094.go
- tx2096.go
- tx2099.go
- tx2286.go
- tx2290.go
- tx2293.go
- tx2294.go
- tx2295.go
- tx3010.go
- tx4006.go
- tx4013.go
- tx4016.go
- tx4023.go
- tx4037.go
- upload.go
- yst2ka.go
Click to show internal directories.
Click to hide internal directories.