tencentcloud-sdk-cpdp 1.0.342 → 1.0.343

Sign up to get free protection for your applications and to get access to all the features.
@@ -2748,6 +2748,42 @@ module TencentCloud
2748
2748
  end
2749
2749
  end
2750
2750
 
2751
+ # 营业证件信息
2752
+ class BusinessLicenseInfo < TencentCloud::Common::AbstractModel
2753
+ # @param BusinessLicenseType: 营业证件类型
2754
+ # IDCARD:身份证
2755
+ # CREDITCODE:统一社会信用代码
2756
+ # @type BusinessLicenseType: String
2757
+ # @param BusinessLicenseNumber: 营业证件号码 非个人商户上送统一社会信用代码,个人商户上送身份证号码
2758
+ # @type BusinessLicenseNumber: String
2759
+ # @param BusinessLicenseValidityType: 营业证件有效期类型
2760
+ # LONGTERM:长期有效
2761
+ # OTHER:非长期有效
2762
+ # @type BusinessLicenseValidityType: String
2763
+ # @param BusinessLicenseEffectiveDate: 营业证件生效日期,yyyy-MM-dd
2764
+ # @type BusinessLicenseEffectiveDate: String
2765
+ # @param BusinessLicenseExpireDate: 营业证件失效日期,yyyy-MM-dd
2766
+ # @type BusinessLicenseExpireDate: String
2767
+
2768
+ attr_accessor :BusinessLicenseType, :BusinessLicenseNumber, :BusinessLicenseValidityType, :BusinessLicenseEffectiveDate, :BusinessLicenseExpireDate
2769
+
2770
+ def initialize(businesslicensetype=nil, businesslicensenumber=nil, businesslicensevaliditytype=nil, businesslicenseeffectivedate=nil, businesslicenseexpiredate=nil)
2771
+ @BusinessLicenseType = businesslicensetype
2772
+ @BusinessLicenseNumber = businesslicensenumber
2773
+ @BusinessLicenseValidityType = businesslicensevaliditytype
2774
+ @BusinessLicenseEffectiveDate = businesslicenseeffectivedate
2775
+ @BusinessLicenseExpireDate = businesslicenseexpiredate
2776
+ end
2777
+
2778
+ def deserialize(params)
2779
+ @BusinessLicenseType = params['BusinessLicenseType']
2780
+ @BusinessLicenseNumber = params['BusinessLicenseNumber']
2781
+ @BusinessLicenseValidityType = params['BusinessLicenseValidityType']
2782
+ @BusinessLicenseEffectiveDate = params['BusinessLicenseEffectiveDate']
2783
+ @BusinessLicenseExpireDate = params['BusinessLicenseExpireDate']
2784
+ end
2785
+ end
2786
+
2751
2787
  # 米大师内部存放的合约信息
2752
2788
  class ChannelContractInfo < TencentCloud::Common::AbstractModel
2753
2789
  # @param OutContractCode: 外部合约协议号
@@ -5998,6 +6034,192 @@ module TencentCloud
5998
6034
  end
5999
6035
  end
6000
6036
 
6037
+ # CreateOpenBankAggregatedSubMerchantRegistration请求参数结构体
6038
+ class CreateOpenBankAggregatedSubMerchantRegistrationRequest < TencentCloud::Common::AbstractModel
6039
+ # @param OutRegistrationNo: 外部进件序列号。
6040
+ # @type OutRegistrationNo: String
6041
+ # @param ChannelMerchantId: 渠道商户ID。
6042
+ # @type ChannelMerchantId: String
6043
+ # @param OutSubMerchantId: 外部子商户ID。
6044
+ # @type OutSubMerchantId: String
6045
+ # @param ChannelName: 渠道名称。详见附录-云企付枚举类说明-ChannelName。
6046
+ # TENPAY: 商企付
6047
+ # WECHAT: 微信支付
6048
+ # ALIPAY: 支付宝
6049
+ # HELIPAY:合利宝
6050
+ # @type ChannelName: String
6051
+ # @param OutSubMerchantType: 外部子商户类型。
6052
+ # ENTERPRISE:企业商户
6053
+ # INSTITUTION:事业单位商户
6054
+ # INDIVIDUALBISS:个体工商户
6055
+ # PERSON:个人商户(小微商户)
6056
+ # SUBJECT_TYPE_OTHERS:其他组织
6057
+ # @type OutSubMerchantType: String
6058
+ # @param OutSubMerchantName: 外部子商户名称。
6059
+ # HELIPAY渠道(长度不能小于5大于150)。
6060
+ # @type OutSubMerchantName: String
6061
+ # @param LegalPersonInfo: 商户法人代表信息。
6062
+ # @type LegalPersonInfo: :class:`Tencentcloud::Cpdp.v20190820.models.LegalPersonInfo`
6063
+ # @param BusinessLicenseInfo: 营业证件信息。
6064
+ # @type BusinessLicenseInfo: :class:`Tencentcloud::Cpdp.v20190820.models.BusinessLicenseInfo`
6065
+ # @param InterConnectionSubMerchantData: 支付渠道子商户进件信息。
6066
+ # json字符串,详情见附录-复杂类型-InterConnectionSubMerchantData。
6067
+ # @type InterConnectionSubMerchantData: String
6068
+ # @param PaymentMethod: 支付方式。详见附录-云企付枚举类说明-PaymentMethod。
6069
+ # 合利宝渠道不需要传。
6070
+ # @type PaymentMethod: String
6071
+ # @param OutSubMerchantShortName: 外部子商户简称。
6072
+ # HELIPAY渠道必传(长度不能小于2大于20)。
6073
+ # @type OutSubMerchantShortName: String
6074
+ # @param OutSubMerchantDescription: 外部子商户描述。
6075
+ # @type OutSubMerchantDescription: String
6076
+ # @param NotifyUrl: 通知地址。
6077
+ # @type NotifyUrl: String
6078
+ # @param NaturalPersonList: 相关自然人信息列表。
6079
+ # HELIPAY渠道必传业务联系人。
6080
+ # @type NaturalPersonList: Array
6081
+ # @param SettleInfo: 商户结算信息。
6082
+ # HELIPAY渠道必传。
6083
+ # @type SettleInfo: :class:`Tencentcloud::Cpdp.v20190820.models.SettleInfo`
6084
+ # @param OutSubMerchantExtensionInfo: 外部子商户其他公用扩展信息。
6085
+ # HELIPAY渠道必传。
6086
+ # @type OutSubMerchantExtensionInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OutSubMerchantExtensionInfo`
6087
+ # @param Environment: 环境类型。
6088
+ # __release__:生产环境
6089
+ # __sandbox__:沙箱环境
6090
+ # _不填默认为生产环境_
6091
+ # @type Environment: String
6092
+
6093
+ attr_accessor :OutRegistrationNo, :ChannelMerchantId, :OutSubMerchantId, :ChannelName, :OutSubMerchantType, :OutSubMerchantName, :LegalPersonInfo, :BusinessLicenseInfo, :InterConnectionSubMerchantData, :PaymentMethod, :OutSubMerchantShortName, :OutSubMerchantDescription, :NotifyUrl, :NaturalPersonList, :SettleInfo, :OutSubMerchantExtensionInfo, :Environment
6094
+
6095
+ def initialize(outregistrationno=nil, channelmerchantid=nil, outsubmerchantid=nil, channelname=nil, outsubmerchanttype=nil, outsubmerchantname=nil, legalpersoninfo=nil, businesslicenseinfo=nil, interconnectionsubmerchantdata=nil, paymentmethod=nil, outsubmerchantshortname=nil, outsubmerchantdescription=nil, notifyurl=nil, naturalpersonlist=nil, settleinfo=nil, outsubmerchantextensioninfo=nil, environment=nil)
6096
+ @OutRegistrationNo = outregistrationno
6097
+ @ChannelMerchantId = channelmerchantid
6098
+ @OutSubMerchantId = outsubmerchantid
6099
+ @ChannelName = channelname
6100
+ @OutSubMerchantType = outsubmerchanttype
6101
+ @OutSubMerchantName = outsubmerchantname
6102
+ @LegalPersonInfo = legalpersoninfo
6103
+ @BusinessLicenseInfo = businesslicenseinfo
6104
+ @InterConnectionSubMerchantData = interconnectionsubmerchantdata
6105
+ @PaymentMethod = paymentmethod
6106
+ @OutSubMerchantShortName = outsubmerchantshortname
6107
+ @OutSubMerchantDescription = outsubmerchantdescription
6108
+ @NotifyUrl = notifyurl
6109
+ @NaturalPersonList = naturalpersonlist
6110
+ @SettleInfo = settleinfo
6111
+ @OutSubMerchantExtensionInfo = outsubmerchantextensioninfo
6112
+ @Environment = environment
6113
+ end
6114
+
6115
+ def deserialize(params)
6116
+ @OutRegistrationNo = params['OutRegistrationNo']
6117
+ @ChannelMerchantId = params['ChannelMerchantId']
6118
+ @OutSubMerchantId = params['OutSubMerchantId']
6119
+ @ChannelName = params['ChannelName']
6120
+ @OutSubMerchantType = params['OutSubMerchantType']
6121
+ @OutSubMerchantName = params['OutSubMerchantName']
6122
+ unless params['LegalPersonInfo'].nil?
6123
+ @LegalPersonInfo = LegalPersonInfo.new
6124
+ @LegalPersonInfo.deserialize(params['LegalPersonInfo'])
6125
+ end
6126
+ unless params['BusinessLicenseInfo'].nil?
6127
+ @BusinessLicenseInfo = BusinessLicenseInfo.new
6128
+ @BusinessLicenseInfo.deserialize(params['BusinessLicenseInfo'])
6129
+ end
6130
+ @InterConnectionSubMerchantData = params['InterConnectionSubMerchantData']
6131
+ @PaymentMethod = params['PaymentMethod']
6132
+ @OutSubMerchantShortName = params['OutSubMerchantShortName']
6133
+ @OutSubMerchantDescription = params['OutSubMerchantDescription']
6134
+ @NotifyUrl = params['NotifyUrl']
6135
+ unless params['NaturalPersonList'].nil?
6136
+ @NaturalPersonList = []
6137
+ params['NaturalPersonList'].each do |i|
6138
+ naturalpersoninfo_tmp = NaturalPersonInfo.new
6139
+ naturalpersoninfo_tmp.deserialize(i)
6140
+ @NaturalPersonList << naturalpersoninfo_tmp
6141
+ end
6142
+ end
6143
+ unless params['SettleInfo'].nil?
6144
+ @SettleInfo = SettleInfo.new
6145
+ @SettleInfo.deserialize(params['SettleInfo'])
6146
+ end
6147
+ unless params['OutSubMerchantExtensionInfo'].nil?
6148
+ @OutSubMerchantExtensionInfo = OutSubMerchantExtensionInfo.new
6149
+ @OutSubMerchantExtensionInfo.deserialize(params['OutSubMerchantExtensionInfo'])
6150
+ end
6151
+ @Environment = params['Environment']
6152
+ end
6153
+ end
6154
+
6155
+ # CreateOpenBankAggregatedSubMerchantRegistration返回参数结构体
6156
+ class CreateOpenBankAggregatedSubMerchantRegistrationResponse < TencentCloud::Common::AbstractModel
6157
+ # @param ErrCode: 错误码。
6158
+ # __SUCCESS__: 成功
6159
+ # __其他__: 见附录-错误码表
6160
+ # @type ErrCode: String
6161
+ # @param ErrMessage: 错误消息。
6162
+ # 注意:此字段可能返回 null,表示取不到有效值。
6163
+ # @type ErrMessage: String
6164
+ # @param Result: 返回结果。
6165
+ # 注意:此字段可能返回 null,表示取不到有效值。
6166
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.CreateOpenBankExternalAggregatedSubMerchantRegistrationResult`
6167
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6168
+ # @type RequestId: String
6169
+
6170
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
6171
+
6172
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
6173
+ @ErrCode = errcode
6174
+ @ErrMessage = errmessage
6175
+ @Result = result
6176
+ @RequestId = requestid
6177
+ end
6178
+
6179
+ def deserialize(params)
6180
+ @ErrCode = params['ErrCode']
6181
+ @ErrMessage = params['ErrMessage']
6182
+ unless params['Result'].nil?
6183
+ @Result = CreateOpenBankExternalAggregatedSubMerchantRegistrationResult.new
6184
+ @Result.deserialize(params['Result'])
6185
+ end
6186
+ @RequestId = params['RequestId']
6187
+ end
6188
+ end
6189
+
6190
+ # 聚合支付子商户线上入驻结果
6191
+ class CreateOpenBankExternalAggregatedSubMerchantRegistrationResult < TencentCloud::Common::AbstractModel
6192
+ # @param RegistrationStatus: 进件状态
6193
+ # SUCCESS: 进件成功
6194
+ # FAILED: 进件失败
6195
+ # PROCESSING: 进件中
6196
+ # 注意:若返回进件中,需要再次调用进件结果查询接口,查询结果。
6197
+ # @type RegistrationStatus: String
6198
+ # @param RegistrationMessage: 进件返回描述
6199
+ # 注意:此字段可能返回 null,表示取不到有效值。
6200
+ # @type RegistrationMessage: String
6201
+ # @param ChannelRegistrationNo: 渠道进件序列号
6202
+ # @type ChannelRegistrationNo: String
6203
+ # @param ChannelSubMerchantId: 渠道子商户ID
6204
+ # @type ChannelSubMerchantId: String
6205
+
6206
+ attr_accessor :RegistrationStatus, :RegistrationMessage, :ChannelRegistrationNo, :ChannelSubMerchantId
6207
+
6208
+ def initialize(registrationstatus=nil, registrationmessage=nil, channelregistrationno=nil, channelsubmerchantid=nil)
6209
+ @RegistrationStatus = registrationstatus
6210
+ @RegistrationMessage = registrationmessage
6211
+ @ChannelRegistrationNo = channelregistrationno
6212
+ @ChannelSubMerchantId = channelsubmerchantid
6213
+ end
6214
+
6215
+ def deserialize(params)
6216
+ @RegistrationStatus = params['RegistrationStatus']
6217
+ @RegistrationMessage = params['RegistrationMessage']
6218
+ @ChannelRegistrationNo = params['ChannelRegistrationNo']
6219
+ @ChannelSubMerchantId = params['ChannelSubMerchantId']
6220
+ end
6221
+ end
6222
+
6001
6223
  # CreateOpenBankExternalSubMerchantAccountBook请求参数结构体
6002
6224
  class CreateOpenBankExternalSubMerchantAccountBookRequest < TencentCloud::Common::AbstractModel
6003
6225
  # @param OutAccountBookId: 外部账本ID
@@ -6649,105 +6871,424 @@ module TencentCloud
6649
6871
  end
6650
6872
  end
6651
6873
 
6652
- # CreateOrder请求参数结构体
6653
- class CreateOrderRequest < TencentCloud::Common::AbstractModel
6654
- # @param ChannelCode: 渠道编号。ZSB2B:招商银行B2B。
6655
- # @type ChannelCode: String
6656
- # @param MerchantAppId: 进件成功后返给商户方的 AppId。
6657
- # @type MerchantAppId: String
6658
- # @param Amount: 交易金额。单位:元
6659
- # @type Amount: String
6660
- # @param TraceNo: 商户流水号。商户唯一订单号由字母或数字组成。
6661
- # @type TraceNo: String
6662
- # @param NotifyUrl: 通知地址。商户接收交易结果的通知地址。
6874
+ # CreateOpenBankSubMerchantRateConfigure请求参数结构体
6875
+ class CreateOpenBankSubMerchantRateConfigureRequest < TencentCloud::Common::AbstractModel
6876
+ # @param ChannelRegistrationNo: 渠道进件序列号。
6877
+ # 填写子商户进件返回的渠道进件编号。
6878
+ # @type ChannelRegistrationNo: String
6879
+ # @param OutProductFeeNo: 外部产品费率申请序列号。
6880
+ # @type OutProductFeeNo: String
6881
+ # @param ChannelMerchantId: 渠道商户ID。
6882
+ # @type ChannelMerchantId: String
6883
+ # @param ChannelSubMerchantId: 渠道子商户ID。
6884
+ # @type ChannelSubMerchantId: String
6885
+ # @param ChannelName: 渠道名称。详见附录-云企付枚举类说明-ChannelName。
6886
+ # @type ChannelName: String
6887
+ # @param PayType: 支付类型。
6888
+ # SWIPE:刷卡
6889
+ # SCAN:扫码
6890
+ # WAP:WAP
6891
+ # PUBLIC:公众号支付
6892
+ # SDK:SDK
6893
+ # MINI_PROGRAM:小程序
6894
+ # 注意:HELIPAY渠道传SDK。
6895
+ # @type PayType: String
6896
+ # @param PayChannel: 支付渠道。
6897
+ # ALIPAY:支付宝
6898
+ # WXPAY:微信支付
6899
+ # UNIONPAY:银联
6900
+ # @type PayChannel: String
6901
+ # @param FeeMode: 计费模式。
6902
+ # SINGLE:按单笔金额计费
6903
+ # RATIO:按单笔费率计费
6904
+ # RANGE:按分段区间计费
6905
+ # @type FeeMode: String
6906
+ # @param FeeValue: 费用值,单位(0.01%或分)。
6907
+ # @type FeeValue: Integer
6908
+ # @param PaymentMethod: 支付方式。详见附录-云企付枚举类说明-PaymentMethod。
6909
+ # HELIPAY渠道不需要传入。
6910
+ # @type PaymentMethod: String
6911
+ # @param MinFee: 最低收费金额,单位(分)。
6912
+ # @type MinFee: Integer
6913
+ # @param MaxFee: 最高收费金额,单位(分)。
6914
+ # @type MaxFee: Integer
6915
+ # @param NotifyUrl: 通知地址。
6663
6916
  # @type NotifyUrl: String
6664
- # @param ReturnUrl: 返回地址。支付成功后,页面将跳 转返回到商户的该地址。
6665
- # @type ReturnUrl: String
6917
+ # @param FeeRangeList: 分段计费区间列表。
6918
+ # @type FeeRangeList: Array
6919
+ # @param Environment: 环境类型。
6920
+ # __release__:生产环境
6921
+ # __sandbox__:沙箱环境
6922
+ # _不填默认为生产环境_
6923
+ # @type Environment: String
6666
6924
 
6667
- attr_accessor :ChannelCode, :MerchantAppId, :Amount, :TraceNo, :NotifyUrl, :ReturnUrl
6925
+ attr_accessor :ChannelRegistrationNo, :OutProductFeeNo, :ChannelMerchantId, :ChannelSubMerchantId, :ChannelName, :PayType, :PayChannel, :FeeMode, :FeeValue, :PaymentMethod, :MinFee, :MaxFee, :NotifyUrl, :FeeRangeList, :Environment
6668
6926
 
6669
- def initialize(channelcode=nil, merchantappid=nil, amount=nil, traceno=nil, notifyurl=nil, returnurl=nil)
6670
- @ChannelCode = channelcode
6671
- @MerchantAppId = merchantappid
6672
- @Amount = amount
6673
- @TraceNo = traceno
6927
+ def initialize(channelregistrationno=nil, outproductfeeno=nil, channelmerchantid=nil, channelsubmerchantid=nil, channelname=nil, paytype=nil, paychannel=nil, feemode=nil, feevalue=nil, paymentmethod=nil, minfee=nil, maxfee=nil, notifyurl=nil, feerangelist=nil, environment=nil)
6928
+ @ChannelRegistrationNo = channelregistrationno
6929
+ @OutProductFeeNo = outproductfeeno
6930
+ @ChannelMerchantId = channelmerchantid
6931
+ @ChannelSubMerchantId = channelsubmerchantid
6932
+ @ChannelName = channelname
6933
+ @PayType = paytype
6934
+ @PayChannel = paychannel
6935
+ @FeeMode = feemode
6936
+ @FeeValue = feevalue
6937
+ @PaymentMethod = paymentmethod
6938
+ @MinFee = minfee
6939
+ @MaxFee = maxfee
6674
6940
  @NotifyUrl = notifyurl
6675
- @ReturnUrl = returnurl
6941
+ @FeeRangeList = feerangelist
6942
+ @Environment = environment
6676
6943
  end
6677
6944
 
6678
6945
  def deserialize(params)
6679
- @ChannelCode = params['ChannelCode']
6680
- @MerchantAppId = params['MerchantAppId']
6681
- @Amount = params['Amount']
6682
- @TraceNo = params['TraceNo']
6946
+ @ChannelRegistrationNo = params['ChannelRegistrationNo']
6947
+ @OutProductFeeNo = params['OutProductFeeNo']
6948
+ @ChannelMerchantId = params['ChannelMerchantId']
6949
+ @ChannelSubMerchantId = params['ChannelSubMerchantId']
6950
+ @ChannelName = params['ChannelName']
6951
+ @PayType = params['PayType']
6952
+ @PayChannel = params['PayChannel']
6953
+ @FeeMode = params['FeeMode']
6954
+ @FeeValue = params['FeeValue']
6955
+ @PaymentMethod = params['PaymentMethod']
6956
+ @MinFee = params['MinFee']
6957
+ @MaxFee = params['MaxFee']
6683
6958
  @NotifyUrl = params['NotifyUrl']
6684
- @ReturnUrl = params['ReturnUrl']
6959
+ unless params['FeeRangeList'].nil?
6960
+ @FeeRangeList = []
6961
+ params['FeeRangeList'].each do |i|
6962
+ feeranginfo_tmp = FeeRangInfo.new
6963
+ feeranginfo_tmp.deserialize(i)
6964
+ @FeeRangeList << feeranginfo_tmp
6965
+ end
6966
+ end
6967
+ @Environment = params['Environment']
6685
6968
  end
6686
6969
  end
6687
6970
 
6688
- # CreateOrder返回参数结构体
6689
- class CreateOrderResponse < TencentCloud::Common::AbstractModel
6690
- # @param MerchantAppId: 进件成功后返给商户方的AppId。
6691
- # @type MerchantAppId: String
6692
- # @param TraceNo: 商户流水号,商户唯一订单号由字母或数字组成。
6693
- # @type TraceNo: String
6694
- # @param OrderNo: 平台流水号,若下单成功则返回。
6695
- # @type OrderNo: String
6696
- # @param PayUrl: 支付页面跳转地址,若下单成功则返回。
6697
- # @type PayUrl: String
6971
+ # CreateOpenBankSubMerchantRateConfigure返回参数结构体
6972
+ class CreateOpenBankSubMerchantRateConfigureResponse < TencentCloud::Common::AbstractModel
6973
+ # @param ErrCode: 错误码。
6974
+ # __SUCCESS__: 成功
6975
+ # __其他__: 见附录-错误码表
6976
+ # @type ErrCode: String
6977
+ # @param ErrMessage: 错误消息。
6978
+ # 注意:此字段可能返回 null,表示取不到有效值。
6979
+ # @type ErrMessage: String
6980
+ # @param Result: 返回结果。
6981
+ # 注意:此字段可能返回 null,表示取不到有效值。
6982
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.CreateOpenBankSubMerchantRateConfigureResult`
6698
6983
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6699
6984
  # @type RequestId: String
6700
6985
 
6701
- attr_accessor :MerchantAppId, :TraceNo, :OrderNo, :PayUrl, :RequestId
6986
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
6702
6987
 
6703
- def initialize(merchantappid=nil, traceno=nil, orderno=nil, payurl=nil, requestid=nil)
6704
- @MerchantAppId = merchantappid
6705
- @TraceNo = traceno
6706
- @OrderNo = orderno
6707
- @PayUrl = payurl
6988
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
6989
+ @ErrCode = errcode
6990
+ @ErrMessage = errmessage
6991
+ @Result = result
6708
6992
  @RequestId = requestid
6709
6993
  end
6710
6994
 
6711
6995
  def deserialize(params)
6712
- @MerchantAppId = params['MerchantAppId']
6713
- @TraceNo = params['TraceNo']
6714
- @OrderNo = params['OrderNo']
6715
- @PayUrl = params['PayUrl']
6996
+ @ErrCode = params['ErrCode']
6997
+ @ErrMessage = params['ErrMessage']
6998
+ unless params['Result'].nil?
6999
+ @Result = CreateOpenBankSubMerchantRateConfigureResult.new
7000
+ @Result.deserialize(params['Result'])
7001
+ end
6716
7002
  @RequestId = params['RequestId']
6717
7003
  end
6718
7004
  end
6719
7005
 
6720
- # CreatePayMerchant请求参数结构体
6721
- class CreatePayMerchantRequest < TencentCloud::Common::AbstractModel
6722
- # @param PlatformCode: 平台编号
6723
- # @type PlatformCode: String
6724
- # @param ChannelMerchantNo: 渠道方收款商户编号,由渠道方(银行)提 供。
6725
- # @type ChannelMerchantNo: String
6726
- # @param ChannelCheckFlag: 是否需要向渠道进行 商户信息验证 1:验证
6727
- # 0:不验证
6728
- # @type ChannelCheckFlag: String
6729
- # @param MerchantName: 收款商户名称
6730
- # @type MerchantName: String
6731
- # @param BusinessPayFlag: 是否开通 B2B 支付 1:开通 0:不开通 缺省:1
6732
- # @type BusinessPayFlag: String
7006
+ # 聚合支付子商户费率配置结果
7007
+ class CreateOpenBankSubMerchantRateConfigureResult < TencentCloud::Common::AbstractModel
7008
+ # @param DealStatus: 处理状态
7009
+ # SUCCESS: 开通成功
7010
+ # FAILED: 开通失败
7011
+ # PROCESSING: 开通中
7012
+ # 注意:若返回开通中,需要再次调用费率配置结果查询接口,查询结果。
7013
+ # @type DealStatus: String
7014
+ # @param DealMessage: 处理描述
7015
+ # 注意:此字段可能返回 null,表示取不到有效值。
7016
+ # @type DealMessage: String
7017
+ # @param ChannelProductFeeNo: 渠道产品费率序列号
7018
+ # @type ChannelProductFeeNo: String
6733
7019
 
6734
- attr_accessor :PlatformCode, :ChannelMerchantNo, :ChannelCheckFlag, :MerchantName, :BusinessPayFlag
7020
+ attr_accessor :DealStatus, :DealMessage, :ChannelProductFeeNo
6735
7021
 
6736
- def initialize(platformcode=nil, channelmerchantno=nil, channelcheckflag=nil, merchantname=nil, businesspayflag=nil)
6737
- @PlatformCode = platformcode
6738
- @ChannelMerchantNo = channelmerchantno
6739
- @ChannelCheckFlag = channelcheckflag
6740
- @MerchantName = merchantname
6741
- @BusinessPayFlag = businesspayflag
7022
+ def initialize(dealstatus=nil, dealmessage=nil, channelproductfeeno=nil)
7023
+ @DealStatus = dealstatus
7024
+ @DealMessage = dealmessage
7025
+ @ChannelProductFeeNo = channelproductfeeno
6742
7026
  end
6743
7027
 
6744
7028
  def deserialize(params)
6745
- @PlatformCode = params['PlatformCode']
6746
- @ChannelMerchantNo = params['ChannelMerchantNo']
6747
- @ChannelCheckFlag = params['ChannelCheckFlag']
6748
- @MerchantName = params['MerchantName']
6749
- @BusinessPayFlag = params['BusinessPayFlag']
6750
- end
7029
+ @DealStatus = params['DealStatus']
7030
+ @DealMessage = params['DealMessage']
7031
+ @ChannelProductFeeNo = params['ChannelProductFeeNo']
7032
+ end
7033
+ end
7034
+
7035
+ # CreateOpenBankUnifiedOrder请求参数结构体
7036
+ class CreateOpenBankUnifiedOrderRequest < TencentCloud::Common::AbstractModel
7037
+ # @param ChannelMerchantId: 渠道商户号。
7038
+ # @type ChannelMerchantId: String
7039
+ # @param ChannelName: 渠道名称。
7040
+ # @type ChannelName: String
7041
+ # @param PayType: 支付产品类型。
7042
+ # 被扫(扫码):SWIPE, 主扫(刷卡):SCAN,
7043
+ # H5:WAP, 公众号:PUBLIC,
7044
+ # APP-SDK:SDK, 小程序:MINI_PROGRAM,
7045
+ # 快捷支付:QUICK, 网银支付:ONLINE_BANK。
7046
+ # @type PayType: String
7047
+ # @param OutOrderId: 外部商户订单号。
7048
+ # 只能是数字、大小写字母,且在同一个接入平台下唯一。
7049
+ # @type OutOrderId: String
7050
+ # @param TotalAmount: 交易金额,单位分。
7051
+ # @type TotalAmount: Integer
7052
+ # @param Currency: 币种。固定:CNY。
7053
+ # @type Currency: String
7054
+ # @param ChannelSubMerchantId: 渠道子商户号。
7055
+ # @type ChannelSubMerchantId: String
7056
+ # @param PayChannel: 实际支付渠道。没有则无需填写。如
7057
+ # 支付宝 ALIPAY
7058
+ # 微信支付 WXPAY
7059
+ # 银联 UNIONPAY
7060
+ # 一般在间连模式下使用。
7061
+ # @type PayChannel: String
7062
+ # @param SceneInfo: 设备信息。
7063
+ # @type SceneInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankSceneInfo`
7064
+ # @param ProfitShareInfoList: 分账信息列表。
7065
+ # @type ProfitShareInfoList: Array
7066
+ # @param OrderSubject: 订单标题。
7067
+ # @type OrderSubject: String
7068
+ # @param GoodsDetail: 商品信息。
7069
+ # @type GoodsDetail: String
7070
+ # @param ExpireTime: 超时时间。
7071
+ # @type ExpireTime: String
7072
+ # @param NotifyUrl: 支付成功回调地址。
7073
+ # @type NotifyUrl: String
7074
+ # @param FrontUrl: 支付成功前端跳转URL。
7075
+ # @type FrontUrl: String
7076
+ # @param Attachment: 订单附加信息,查询或者回调的时候原样返回。
7077
+ # @type Attachment: String
7078
+ # @param ExternalPaymentData: 第三方渠道扩展字段。见附录-复杂类型。
7079
+ # 未作特殊说明,则无需传入。
7080
+ # @type ExternalPaymentData: String
7081
+ # @param Remark: 备注。
7082
+ # @type Remark: String
7083
+ # @param StoreInfo: 门店信息。
7084
+ # @type StoreInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankStoreInfo`
7085
+ # @param PayLimitInfo: 支付限制。
7086
+ # @type PayLimitInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankPayLimitInfo`
7087
+ # @param Environment: 环境类型。
7088
+ # __release__:生产环境
7089
+ # __sandbox__:沙箱环境
7090
+ # _不填默认为生产环境_
7091
+ # @type Environment: String
7092
+
7093
+ attr_accessor :ChannelMerchantId, :ChannelName, :PayType, :OutOrderId, :TotalAmount, :Currency, :ChannelSubMerchantId, :PayChannel, :SceneInfo, :ProfitShareInfoList, :OrderSubject, :GoodsDetail, :ExpireTime, :NotifyUrl, :FrontUrl, :Attachment, :ExternalPaymentData, :Remark, :StoreInfo, :PayLimitInfo, :Environment
7094
+
7095
+ def initialize(channelmerchantid=nil, channelname=nil, paytype=nil, outorderid=nil, totalamount=nil, currency=nil, channelsubmerchantid=nil, paychannel=nil, sceneinfo=nil, profitshareinfolist=nil, ordersubject=nil, goodsdetail=nil, expiretime=nil, notifyurl=nil, fronturl=nil, attachment=nil, externalpaymentdata=nil, remark=nil, storeinfo=nil, paylimitinfo=nil, environment=nil)
7096
+ @ChannelMerchantId = channelmerchantid
7097
+ @ChannelName = channelname
7098
+ @PayType = paytype
7099
+ @OutOrderId = outorderid
7100
+ @TotalAmount = totalamount
7101
+ @Currency = currency
7102
+ @ChannelSubMerchantId = channelsubmerchantid
7103
+ @PayChannel = paychannel
7104
+ @SceneInfo = sceneinfo
7105
+ @ProfitShareInfoList = profitshareinfolist
7106
+ @OrderSubject = ordersubject
7107
+ @GoodsDetail = goodsdetail
7108
+ @ExpireTime = expiretime
7109
+ @NotifyUrl = notifyurl
7110
+ @FrontUrl = fronturl
7111
+ @Attachment = attachment
7112
+ @ExternalPaymentData = externalpaymentdata
7113
+ @Remark = remark
7114
+ @StoreInfo = storeinfo
7115
+ @PayLimitInfo = paylimitinfo
7116
+ @Environment = environment
7117
+ end
7118
+
7119
+ def deserialize(params)
7120
+ @ChannelMerchantId = params['ChannelMerchantId']
7121
+ @ChannelName = params['ChannelName']
7122
+ @PayType = params['PayType']
7123
+ @OutOrderId = params['OutOrderId']
7124
+ @TotalAmount = params['TotalAmount']
7125
+ @Currency = params['Currency']
7126
+ @ChannelSubMerchantId = params['ChannelSubMerchantId']
7127
+ @PayChannel = params['PayChannel']
7128
+ unless params['SceneInfo'].nil?
7129
+ @SceneInfo = OpenBankSceneInfo.new
7130
+ @SceneInfo.deserialize(params['SceneInfo'])
7131
+ end
7132
+ unless params['ProfitShareInfoList'].nil?
7133
+ @ProfitShareInfoList = []
7134
+ params['ProfitShareInfoList'].each do |i|
7135
+ openbankprofitshareinfo_tmp = OpenBankProfitShareInfo.new
7136
+ openbankprofitshareinfo_tmp.deserialize(i)
7137
+ @ProfitShareInfoList << openbankprofitshareinfo_tmp
7138
+ end
7139
+ end
7140
+ @OrderSubject = params['OrderSubject']
7141
+ @GoodsDetail = params['GoodsDetail']
7142
+ @ExpireTime = params['ExpireTime']
7143
+ @NotifyUrl = params['NotifyUrl']
7144
+ @FrontUrl = params['FrontUrl']
7145
+ @Attachment = params['Attachment']
7146
+ @ExternalPaymentData = params['ExternalPaymentData']
7147
+ @Remark = params['Remark']
7148
+ unless params['StoreInfo'].nil?
7149
+ @StoreInfo = OpenBankStoreInfo.new
7150
+ @StoreInfo.deserialize(params['StoreInfo'])
7151
+ end
7152
+ unless params['PayLimitInfo'].nil?
7153
+ @PayLimitInfo = OpenBankPayLimitInfo.new
7154
+ @PayLimitInfo.deserialize(params['PayLimitInfo'])
7155
+ end
7156
+ @Environment = params['Environment']
7157
+ end
7158
+ end
7159
+
7160
+ # CreateOpenBankUnifiedOrder返回参数结构体
7161
+ class CreateOpenBankUnifiedOrderResponse < TencentCloud::Common::AbstractModel
7162
+ # @param ErrCode: 业务系统返回码,SUCCESS表示成功,其他表示失败。
7163
+ # @type ErrCode: String
7164
+ # @param ErrMessage: 业务系统返回消息。
7165
+ # 注意:此字段可能返回 null,表示取不到有效值。
7166
+ # @type ErrMessage: String
7167
+ # @param Result: 统一下单响应对象。
7168
+ # 注意:此字段可能返回 null,表示取不到有效值。
7169
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.CreateOpenBankOrderPaymentResult`
7170
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7171
+ # @type RequestId: String
7172
+
7173
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
7174
+
7175
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
7176
+ @ErrCode = errcode
7177
+ @ErrMessage = errmessage
7178
+ @Result = result
7179
+ @RequestId = requestid
7180
+ end
7181
+
7182
+ def deserialize(params)
7183
+ @ErrCode = params['ErrCode']
7184
+ @ErrMessage = params['ErrMessage']
7185
+ unless params['Result'].nil?
7186
+ @Result = CreateOpenBankOrderPaymentResult.new
7187
+ @Result.deserialize(params['Result'])
7188
+ end
7189
+ @RequestId = params['RequestId']
7190
+ end
7191
+ end
7192
+
7193
+ # CreateOrder请求参数结构体
7194
+ class CreateOrderRequest < TencentCloud::Common::AbstractModel
7195
+ # @param ChannelCode: 渠道编号。ZSB2B:招商银行B2B。
7196
+ # @type ChannelCode: String
7197
+ # @param MerchantAppId: 进件成功后返给商户方的 AppId。
7198
+ # @type MerchantAppId: String
7199
+ # @param Amount: 交易金额。单位:元
7200
+ # @type Amount: String
7201
+ # @param TraceNo: 商户流水号。商户唯一订单号由字母或数字组成。
7202
+ # @type TraceNo: String
7203
+ # @param NotifyUrl: 通知地址。商户接收交易结果的通知地址。
7204
+ # @type NotifyUrl: String
7205
+ # @param ReturnUrl: 返回地址。支付成功后,页面将跳 转返回到商户的该地址。
7206
+ # @type ReturnUrl: String
7207
+
7208
+ attr_accessor :ChannelCode, :MerchantAppId, :Amount, :TraceNo, :NotifyUrl, :ReturnUrl
7209
+
7210
+ def initialize(channelcode=nil, merchantappid=nil, amount=nil, traceno=nil, notifyurl=nil, returnurl=nil)
7211
+ @ChannelCode = channelcode
7212
+ @MerchantAppId = merchantappid
7213
+ @Amount = amount
7214
+ @TraceNo = traceno
7215
+ @NotifyUrl = notifyurl
7216
+ @ReturnUrl = returnurl
7217
+ end
7218
+
7219
+ def deserialize(params)
7220
+ @ChannelCode = params['ChannelCode']
7221
+ @MerchantAppId = params['MerchantAppId']
7222
+ @Amount = params['Amount']
7223
+ @TraceNo = params['TraceNo']
7224
+ @NotifyUrl = params['NotifyUrl']
7225
+ @ReturnUrl = params['ReturnUrl']
7226
+ end
7227
+ end
7228
+
7229
+ # CreateOrder返回参数结构体
7230
+ class CreateOrderResponse < TencentCloud::Common::AbstractModel
7231
+ # @param MerchantAppId: 进件成功后返给商户方的AppId。
7232
+ # @type MerchantAppId: String
7233
+ # @param TraceNo: 商户流水号,商户唯一订单号由字母或数字组成。
7234
+ # @type TraceNo: String
7235
+ # @param OrderNo: 平台流水号,若下单成功则返回。
7236
+ # @type OrderNo: String
7237
+ # @param PayUrl: 支付页面跳转地址,若下单成功则返回。
7238
+ # @type PayUrl: String
7239
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7240
+ # @type RequestId: String
7241
+
7242
+ attr_accessor :MerchantAppId, :TraceNo, :OrderNo, :PayUrl, :RequestId
7243
+
7244
+ def initialize(merchantappid=nil, traceno=nil, orderno=nil, payurl=nil, requestid=nil)
7245
+ @MerchantAppId = merchantappid
7246
+ @TraceNo = traceno
7247
+ @OrderNo = orderno
7248
+ @PayUrl = payurl
7249
+ @RequestId = requestid
7250
+ end
7251
+
7252
+ def deserialize(params)
7253
+ @MerchantAppId = params['MerchantAppId']
7254
+ @TraceNo = params['TraceNo']
7255
+ @OrderNo = params['OrderNo']
7256
+ @PayUrl = params['PayUrl']
7257
+ @RequestId = params['RequestId']
7258
+ end
7259
+ end
7260
+
7261
+ # CreatePayMerchant请求参数结构体
7262
+ class CreatePayMerchantRequest < TencentCloud::Common::AbstractModel
7263
+ # @param PlatformCode: 平台编号
7264
+ # @type PlatformCode: String
7265
+ # @param ChannelMerchantNo: 渠道方收款商户编号,由渠道方(银行)提 供。
7266
+ # @type ChannelMerchantNo: String
7267
+ # @param ChannelCheckFlag: 是否需要向渠道进行 商户信息验证 1:验证
7268
+ # 0:不验证
7269
+ # @type ChannelCheckFlag: String
7270
+ # @param MerchantName: 收款商户名称
7271
+ # @type MerchantName: String
7272
+ # @param BusinessPayFlag: 是否开通 B2B 支付 1:开通 0:不开通 缺省:1
7273
+ # @type BusinessPayFlag: String
7274
+
7275
+ attr_accessor :PlatformCode, :ChannelMerchantNo, :ChannelCheckFlag, :MerchantName, :BusinessPayFlag
7276
+
7277
+ def initialize(platformcode=nil, channelmerchantno=nil, channelcheckflag=nil, merchantname=nil, businesspayflag=nil)
7278
+ @PlatformCode = platformcode
7279
+ @ChannelMerchantNo = channelmerchantno
7280
+ @ChannelCheckFlag = channelcheckflag
7281
+ @MerchantName = merchantname
7282
+ @BusinessPayFlag = businesspayflag
7283
+ end
7284
+
7285
+ def deserialize(params)
7286
+ @PlatformCode = params['PlatformCode']
7287
+ @ChannelMerchantNo = params['ChannelMerchantNo']
7288
+ @ChannelCheckFlag = params['ChannelCheckFlag']
7289
+ @MerchantName = params['MerchantName']
7290
+ @BusinessPayFlag = params['BusinessPayFlag']
7291
+ end
6751
7292
  end
6752
7293
 
6753
7294
  # CreatePayMerchant返回参数结构体
@@ -9143,6 +9684,50 @@ module TencentCloud
9143
9684
  end
9144
9685
  end
9145
9686
 
9687
+ # 分段计费区间信息
9688
+ class FeeRangInfo < TencentCloud::Common::AbstractModel
9689
+ # @param CardType: 卡类型,银联产品使用
9690
+ # DEBIT:借记卡
9691
+ # CREDIT:贷记卡
9692
+ # @type CardType: String
9693
+ # @param RangeStartValue: 区间起始金额,单位(分)
9694
+ # @type RangeStartValue: Integer
9695
+ # @param RangeEndValue: 区间结束金额,单位(分)
9696
+ # @type RangeEndValue: Integer
9697
+ # @param RangeFeeMode: 分段计费模式
9698
+ # SINGLE:按金额计费
9699
+ # RATIO:按费率计费
9700
+ # @type RangeFeeMode: String
9701
+ # @param FeeValue: 费用值,单位(0.01%或分)
9702
+ # @type FeeValue: Integer
9703
+ # @param MinFee: 最低收费金额,单位(分)
9704
+ # @type MinFee: Integer
9705
+ # @param MaxFee: 最高收费金额,单位(分)
9706
+ # @type MaxFee: Integer
9707
+
9708
+ attr_accessor :CardType, :RangeStartValue, :RangeEndValue, :RangeFeeMode, :FeeValue, :MinFee, :MaxFee
9709
+
9710
+ def initialize(cardtype=nil, rangestartvalue=nil, rangeendvalue=nil, rangefeemode=nil, feevalue=nil, minfee=nil, maxfee=nil)
9711
+ @CardType = cardtype
9712
+ @RangeStartValue = rangestartvalue
9713
+ @RangeEndValue = rangeendvalue
9714
+ @RangeFeeMode = rangefeemode
9715
+ @FeeValue = feevalue
9716
+ @MinFee = minfee
9717
+ @MaxFee = maxfee
9718
+ end
9719
+
9720
+ def deserialize(params)
9721
+ @CardType = params['CardType']
9722
+ @RangeStartValue = params['RangeStartValue']
9723
+ @RangeEndValue = params['RangeEndValue']
9724
+ @RangeFeeMode = params['RangeFeeMode']
9725
+ @FeeValue = params['FeeValue']
9726
+ @MinFee = params['MinFee']
9727
+ @MaxFee = params['MaxFee']
9728
+ end
9729
+ end
9730
+
9146
9731
  # 对账文件信息
9147
9732
  class FileItem < TencentCloud::Common::AbstractModel
9148
9733
  # @param FileName: STRING(256),文件名称
@@ -9770,6 +10355,59 @@ module TencentCloud
9770
10355
  end
9771
10356
  end
9772
10357
 
10358
+ # 商户法人代表信息
10359
+ class LegalPersonInfo < TencentCloud::Common::AbstractModel
10360
+ # @param IdType: 证件类型
10361
+ # IDCARD:身份证
10362
+ # PASSPORT:护照 SOLDIERSCERTIFICATE:士兵证 OFFICERSCERTIFICATE:军官证 GATXCERTIFICATE:香港居民来往内地通行证 TWNDCERTIFICATE:台湾同胞来往内地通行证
10363
+ # MACAOCERTIFICATE:澳门来往内地通行证
10364
+ # @type IdType: String
10365
+ # @param IdNumber: 证件号码
10366
+ # @type IdNumber: String
10367
+ # @param PersonName: 姓名
10368
+ # @type PersonName: String
10369
+ # @param IdValidityType: 证件有效期类型
10370
+ # LONGTERM:长期有效
10371
+ # OTHER:非长期有效
10372
+ # @type IdValidityType: String
10373
+ # @param IdEffectiveDate: 证件生效日期,yyyy-MM-dd
10374
+ # @type IdEffectiveDate: String
10375
+ # @param ContactPhone: 联系电话
10376
+ # @type ContactPhone: String
10377
+ # @param IdExpireDate: 证件失效日期,yyyy-MM-dd
10378
+ # @type IdExpireDate: String
10379
+ # @param ContactAddress: 联系地址
10380
+ # @type ContactAddress: String
10381
+ # @param EmailAddress: 邮箱地址
10382
+ # @type EmailAddress: String
10383
+
10384
+ attr_accessor :IdType, :IdNumber, :PersonName, :IdValidityType, :IdEffectiveDate, :ContactPhone, :IdExpireDate, :ContactAddress, :EmailAddress
10385
+
10386
+ def initialize(idtype=nil, idnumber=nil, personname=nil, idvaliditytype=nil, ideffectivedate=nil, contactphone=nil, idexpiredate=nil, contactaddress=nil, emailaddress=nil)
10387
+ @IdType = idtype
10388
+ @IdNumber = idnumber
10389
+ @PersonName = personname
10390
+ @IdValidityType = idvaliditytype
10391
+ @IdEffectiveDate = ideffectivedate
10392
+ @ContactPhone = contactphone
10393
+ @IdExpireDate = idexpiredate
10394
+ @ContactAddress = contactaddress
10395
+ @EmailAddress = emailaddress
10396
+ end
10397
+
10398
+ def deserialize(params)
10399
+ @IdType = params['IdType']
10400
+ @IdNumber = params['IdNumber']
10401
+ @PersonName = params['PersonName']
10402
+ @IdValidityType = params['IdValidityType']
10403
+ @IdEffectiveDate = params['IdEffectiveDate']
10404
+ @ContactPhone = params['ContactPhone']
10405
+ @IdExpireDate = params['IdExpireDate']
10406
+ @ContactAddress = params['ContactAddress']
10407
+ @EmailAddress = params['EmailAddress']
10408
+ end
10409
+ end
10410
+
9773
10411
  # 会员间交易明细信息
9774
10412
  class MemberTransactionItem < TencentCloud::Common::AbstractModel
9775
10413
  # @param TransType: 交易类型。
@@ -10512,6 +11150,70 @@ module TencentCloud
10512
11150
  end
10513
11151
  end
10514
11152
 
11153
+ # 自然人信息
11154
+ class NaturalPersonInfo < TencentCloud::Common::AbstractModel
11155
+ # @param PersonType: 自然人类型
11156
+ # 2:商户负责人
11157
+ # 3:授权经办人
11158
+ # 4:业务联系人
11159
+ # 5:实际控制人
11160
+ # 6:控股股东
11161
+ # 7:受益人
11162
+ # 8:结算人
11163
+ # 注意:HELIPAY渠道必传业务联系人
11164
+ # @type PersonType: String
11165
+ # @param IdType: 证件类型
11166
+ # IDCARD:身份证
11167
+ # PASSPORT:护照 SOLDIERSCERTIFICATE:士兵证 OFFICERSCERTIFICATE:军官证 GATXCERTIFICATE:香港居民来往内地通行证 TWNDCERTIFICATE:台湾同胞来往内地通行证 MACAOCERTIFICATE:澳门来往内地通行证
11168
+ # @type IdType: String
11169
+ # @param IdNumber: 证件号码
11170
+ # @type IdNumber: String
11171
+ # @param PersonName: 姓名
11172
+ # @type PersonName: String
11173
+ # @param IdValidityType: 证件有效期类型
11174
+ # LONGTERM:长期有效
11175
+ # OTHER:非长期有效
11176
+ # @type IdValidityType: String
11177
+ # @param IdEffectiveDate: 证件生效日期,yyyy-MM-dd
11178
+ # @type IdEffectiveDate: String
11179
+ # @param IdExpireDate: 证件失效日期,yyyy-MM-dd
11180
+ # @type IdExpireDate: String
11181
+ # @param ContactPhone: 联系电话,HELIPAY渠道业务联系人必传
11182
+ # @type ContactPhone: String
11183
+ # @param ContactAddress: 联系地址
11184
+ # @type ContactAddress: String
11185
+ # @param EmailAddress: 邮箱地址
11186
+ # @type EmailAddress: String
11187
+
11188
+ attr_accessor :PersonType, :IdType, :IdNumber, :PersonName, :IdValidityType, :IdEffectiveDate, :IdExpireDate, :ContactPhone, :ContactAddress, :EmailAddress
11189
+
11190
+ def initialize(persontype=nil, idtype=nil, idnumber=nil, personname=nil, idvaliditytype=nil, ideffectivedate=nil, idexpiredate=nil, contactphone=nil, contactaddress=nil, emailaddress=nil)
11191
+ @PersonType = persontype
11192
+ @IdType = idtype
11193
+ @IdNumber = idnumber
11194
+ @PersonName = personname
11195
+ @IdValidityType = idvaliditytype
11196
+ @IdEffectiveDate = ideffectivedate
11197
+ @IdExpireDate = idexpiredate
11198
+ @ContactPhone = contactphone
11199
+ @ContactAddress = contactaddress
11200
+ @EmailAddress = emailaddress
11201
+ end
11202
+
11203
+ def deserialize(params)
11204
+ @PersonType = params['PersonType']
11205
+ @IdType = params['IdType']
11206
+ @IdNumber = params['IdNumber']
11207
+ @PersonName = params['PersonName']
11208
+ @IdValidityType = params['IdValidityType']
11209
+ @IdEffectiveDate = params['IdEffectiveDate']
11210
+ @IdExpireDate = params['IdExpireDate']
11211
+ @ContactPhone = params['ContactPhone']
11212
+ @ContactAddress = params['ContactAddress']
11213
+ @EmailAddress = params['EmailAddress']
11214
+ end
11215
+ end
11216
+
10515
11217
  # 银行复核指引。银行侧返回网银授权指引链接,一般PC网银,手机网银链接
10516
11218
  class OpenBankApprovalGuideInfo < TencentCloud::Common::AbstractModel
10517
11219
  # @param PcGuideUrl: PC网银指引
@@ -10561,6 +11263,26 @@ module TencentCloud
10561
11263
  end
10562
11264
  end
10563
11265
 
11266
+ # 云企付-支付限制
11267
+ class OpenBankPayLimitInfo < TencentCloud::Common::AbstractModel
11268
+ # @param PayLimitType: 限制类型
11269
+ # @type PayLimitType: String
11270
+ # @param PayLimitValue: 限制类型值
11271
+ # @type PayLimitValue: String
11272
+
11273
+ attr_accessor :PayLimitType, :PayLimitValue
11274
+
11275
+ def initialize(paylimittype=nil, paylimitvalue=nil)
11276
+ @PayLimitType = paylimittype
11277
+ @PayLimitValue = paylimitvalue
11278
+ end
11279
+
11280
+ def deserialize(params)
11281
+ @PayLimitType = params['PayLimitType']
11282
+ @PayLimitValue = params['PayLimitValue']
11283
+ end
11284
+ end
11285
+
10564
11286
  # 云企付-收款人信息
10565
11287
  class OpenBankPayeeInfo < TencentCloud::Common::AbstractModel
10566
11288
  # @param PayeeId: 收款方唯一标识。
@@ -10673,9 +11395,76 @@ module TencentCloud
10673
11395
  end
10674
11396
  end
10675
11397
 
10676
- # 云企付-充值单收款人信息
10677
- class OpenBankRechargePayeeInfo < TencentCloud::Common::AbstractModel
10678
- # @param PayeeId: 收款方标识
11398
+ # 云企付-退款查询结果
11399
+ class OpenBankQueryRefundOrderResult < TencentCloud::Common::AbstractModel
11400
+ # @param OutRefundId: 外部商户退款单号
11401
+ # 注意:此字段可能返回 null,表示取不到有效值。
11402
+ # @type OutRefundId: String
11403
+ # @param ChannelRefundId: 渠道退款单号
11404
+ # 注意:此字段可能返回 null,表示取不到有效值。
11405
+ # @type ChannelRefundId: String
11406
+ # @param RefundReason: 退款原因
11407
+ # 注意:此字段可能返回 null,表示取不到有效值。
11408
+ # @type RefundReason: String
11409
+ # @param RefundAmount: 退款金额,单位分
11410
+ # 注意:此字段可能返回 null,表示取不到有效值。
11411
+ # @type RefundAmount: Integer
11412
+ # @param RealRefundAmount: 实际退款金额,单位分
11413
+ # 注意:此字段可能返回 null,表示取不到有效值。
11414
+ # @type RealRefundAmount: Integer
11415
+ # @param TotalAmount: 原支付订单总金额,单位分
11416
+ # 注意:此字段可能返回 null,表示取不到有效值。
11417
+ # @type TotalAmount: Integer
11418
+ # @param TimeFinish: 退款完成时间
11419
+ # 注意:此字段可能返回 null,表示取不到有效值。
11420
+ # @type TimeFinish: String
11421
+ # @param RefundStatus: 退款订单状态
11422
+ # 注意:此字段可能返回 null,表示取不到有效值。
11423
+ # @type RefundStatus: String
11424
+ # @param RefundInfo: 退款明细信息
11425
+ # 注意:此字段可能返回 null,表示取不到有效值。
11426
+ # @type RefundInfo: String
11427
+ # @param FeeAmount: 退款手续费金额
11428
+ # 注意:此字段可能返回 null,表示取不到有效值。
11429
+ # @type FeeAmount: Integer
11430
+ # @param RefundMessage: 退款返回描述,比如失败原因等。
11431
+ # 注意:此字段可能返回 null,表示取不到有效值。
11432
+ # @type RefundMessage: String
11433
+
11434
+ attr_accessor :OutRefundId, :ChannelRefundId, :RefundReason, :RefundAmount, :RealRefundAmount, :TotalAmount, :TimeFinish, :RefundStatus, :RefundInfo, :FeeAmount, :RefundMessage
11435
+
11436
+ def initialize(outrefundid=nil, channelrefundid=nil, refundreason=nil, refundamount=nil, realrefundamount=nil, totalamount=nil, timefinish=nil, refundstatus=nil, refundinfo=nil, feeamount=nil, refundmessage=nil)
11437
+ @OutRefundId = outrefundid
11438
+ @ChannelRefundId = channelrefundid
11439
+ @RefundReason = refundreason
11440
+ @RefundAmount = refundamount
11441
+ @RealRefundAmount = realrefundamount
11442
+ @TotalAmount = totalamount
11443
+ @TimeFinish = timefinish
11444
+ @RefundStatus = refundstatus
11445
+ @RefundInfo = refundinfo
11446
+ @FeeAmount = feeamount
11447
+ @RefundMessage = refundmessage
11448
+ end
11449
+
11450
+ def deserialize(params)
11451
+ @OutRefundId = params['OutRefundId']
11452
+ @ChannelRefundId = params['ChannelRefundId']
11453
+ @RefundReason = params['RefundReason']
11454
+ @RefundAmount = params['RefundAmount']
11455
+ @RealRefundAmount = params['RealRefundAmount']
11456
+ @TotalAmount = params['TotalAmount']
11457
+ @TimeFinish = params['TimeFinish']
11458
+ @RefundStatus = params['RefundStatus']
11459
+ @RefundInfo = params['RefundInfo']
11460
+ @FeeAmount = params['FeeAmount']
11461
+ @RefundMessage = params['RefundMessage']
11462
+ end
11463
+ end
11464
+
11465
+ # 云企付-充值单收款人信息
11466
+ class OpenBankRechargePayeeInfo < TencentCloud::Common::AbstractModel
11467
+ # @param PayeeId: 收款方标识
10679
11468
  # 收款方类型为电子记账本时,上送渠道电子记账本ID
10680
11469
  # @type PayeeId: String
10681
11470
  # @param PayeeIdType: 收款方标识类型
@@ -10757,6 +11546,58 @@ module TencentCloud
10757
11546
  end
10758
11547
  end
10759
11548
 
11549
+ # 云企付-退款申请结果
11550
+ class OpenBankRefundOrderApplyResult < TencentCloud::Common::AbstractModel
11551
+ # @param ChannelOrderId: 云企付订单号
11552
+ # 注意:此字段可能返回 null,表示取不到有效值。
11553
+ # @type ChannelOrderId: String
11554
+ # @param ChannelRefundId: 云企付退款流水号
11555
+ # 注意:此字段可能返回 null,表示取不到有效值。
11556
+ # @type ChannelRefundId: String
11557
+ # @param OutRefundId: 外部商户退款单号
11558
+ # 注意:此字段可能返回 null,表示取不到有效值。
11559
+ # @type OutRefundId: String
11560
+ # @param OutOrderId: 外部商户订单号
11561
+ # 注意:此字段可能返回 null,表示取不到有效值。
11562
+ # @type OutOrderId: String
11563
+ # @param RefundMessage: 退款返回描述,比如失败原因等。
11564
+ # 注意:此字段可能返回 null,表示取不到有效值。
11565
+ # @type RefundMessage: String
11566
+ # @param RefundAmount: 退款金额
11567
+ # 注意:此字段可能返回 null,表示取不到有效值。
11568
+ # @type RefundAmount: Integer
11569
+ # @param FeeAmount: 退款手续费金额
11570
+ # 注意:此字段可能返回 null,表示取不到有效值。
11571
+ # @type FeeAmount: Integer
11572
+ # @param RefundStatus: 退款状态
11573
+ # 注意:此字段可能返回 null,表示取不到有效值。
11574
+ # @type RefundStatus: String
11575
+
11576
+ attr_accessor :ChannelOrderId, :ChannelRefundId, :OutRefundId, :OutOrderId, :RefundMessage, :RefundAmount, :FeeAmount, :RefundStatus
11577
+
11578
+ def initialize(channelorderid=nil, channelrefundid=nil, outrefundid=nil, outorderid=nil, refundmessage=nil, refundamount=nil, feeamount=nil, refundstatus=nil)
11579
+ @ChannelOrderId = channelorderid
11580
+ @ChannelRefundId = channelrefundid
11581
+ @OutRefundId = outrefundid
11582
+ @OutOrderId = outorderid
11583
+ @RefundMessage = refundmessage
11584
+ @RefundAmount = refundamount
11585
+ @FeeAmount = feeamount
11586
+ @RefundStatus = refundstatus
11587
+ end
11588
+
11589
+ def deserialize(params)
11590
+ @ChannelOrderId = params['ChannelOrderId']
11591
+ @ChannelRefundId = params['ChannelRefundId']
11592
+ @OutRefundId = params['OutRefundId']
11593
+ @OutOrderId = params['OutOrderId']
11594
+ @RefundMessage = params['RefundMessage']
11595
+ @RefundAmount = params['RefundAmount']
11596
+ @FeeAmount = params['FeeAmount']
11597
+ @RefundStatus = params['RefundStatus']
11598
+ end
11599
+ end
11600
+
10760
11601
  # 云企付-设备信息
10761
11602
  class OpenBankSceneInfo < TencentCloud::Common::AbstractModel
10762
11603
  # @param PayerClientIp: 用户端实际 ip。汇付渠道必填。
@@ -10790,6 +11631,34 @@ module TencentCloud
10790
11631
  end
10791
11632
  end
10792
11633
 
11634
+ # 云企付-门店信息
11635
+ class OpenBankStoreInfo < TencentCloud::Common::AbstractModel
11636
+ # @param Name: 门店名称
11637
+ # @type Name: String
11638
+ # @param AreaCode: 地区编码
11639
+ # @type AreaCode: String
11640
+ # @param Address: 详细地址
11641
+ # @type Address: String
11642
+ # @param Id: 门店编号
11643
+ # @type Id: String
11644
+
11645
+ attr_accessor :Name, :AreaCode, :Address, :Id
11646
+
11647
+ def initialize(name=nil, areacode=nil, address=nil, id=nil)
11648
+ @Name = name
11649
+ @AreaCode = areacode
11650
+ @Address = address
11651
+ @Id = id
11652
+ end
11653
+
11654
+ def deserialize(params)
11655
+ @Name = params['Name']
11656
+ @AreaCode = params['AreaCode']
11657
+ @Address = params['Address']
11658
+ @Id = params['Id']
11659
+ end
11660
+ end
11661
+
10793
11662
  # 线下查票-订单信息
10794
11663
  class Order < TencentCloud::Common::AbstractModel
10795
11664
  # @param AmountHasTax: 含税金额
@@ -10954,6 +11823,48 @@ module TencentCloud
10954
11823
  end
10955
11824
  end
10956
11825
 
11826
+ # 外部子商户扩展信息
11827
+ class OutSubMerchantExtensionInfo < TencentCloud::Common::AbstractModel
11828
+ # @param RegionCode: 地区代码,国标码
11829
+ # HELIPAY渠道必传
11830
+ # @type RegionCode: String
11831
+ # @param RegisterAddress: 注册地址
11832
+ # @type RegisterAddress: String
11833
+ # @param MailingAddress: 通讯地址
11834
+ # HELIPAY渠道必传
11835
+ # @type MailingAddress: String
11836
+ # @param BusinessAddress: 营业地址/经营地址
11837
+ # @type BusinessAddress: String
11838
+ # @param ServicePhone: 客服电话
11839
+ # @type ServicePhone: String
11840
+ # @param WebSiteUrl: 网站url
11841
+ # @type WebSiteUrl: String
11842
+ # @param EmailAddress: 邮箱地址
11843
+ # @type EmailAddress: String
11844
+
11845
+ attr_accessor :RegionCode, :RegisterAddress, :MailingAddress, :BusinessAddress, :ServicePhone, :WebSiteUrl, :EmailAddress
11846
+
11847
+ def initialize(regioncode=nil, registeraddress=nil, mailingaddress=nil, businessaddress=nil, servicephone=nil, websiteurl=nil, emailaddress=nil)
11848
+ @RegionCode = regioncode
11849
+ @RegisterAddress = registeraddress
11850
+ @MailingAddress = mailingaddress
11851
+ @BusinessAddress = businessaddress
11852
+ @ServicePhone = servicephone
11853
+ @WebSiteUrl = websiteurl
11854
+ @EmailAddress = emailaddress
11855
+ end
11856
+
11857
+ def deserialize(params)
11858
+ @RegionCode = params['RegionCode']
11859
+ @RegisterAddress = params['RegisterAddress']
11860
+ @MailingAddress = params['MailingAddress']
11861
+ @BusinessAddress = params['BusinessAddress']
11862
+ @ServicePhone = params['ServicePhone']
11863
+ @WebSiteUrl = params['WebSiteUrl']
11864
+ @EmailAddress = params['EmailAddress']
11865
+ end
11866
+ end
11867
+
10957
11868
  # 分页参数
10958
11869
  class Paging < TencentCloud::Common::AbstractModel
10959
11870
  # @param Index: 页码
@@ -16217,6 +17128,254 @@ module TencentCloud
16217
17128
  end
16218
17129
  end
16219
17130
 
17131
+ # 云企付-分页查询对账单数据结果
17132
+ class QueryOpenBankBillData < TencentCloud::Common::AbstractModel
17133
+ # @param BillDate: 交易日期
17134
+ # @type BillDate: String
17135
+ # @param Channel: 渠道编码
17136
+ # @type Channel: String
17137
+ # @param SubChannel: 二级渠道
17138
+ # 注意:此字段可能返回 null,表示取不到有效值。
17139
+ # @type SubChannel: String
17140
+ # @param ParentMerchantId: 系统父商户号
17141
+ # 注意:此字段可能返回 null,表示取不到有效值。
17142
+ # @type ParentMerchantId: String
17143
+ # @param OutMerchantId: 外部商户号
17144
+ # 注意:此字段可能返回 null,表示取不到有效值。
17145
+ # @type OutMerchantId: String
17146
+ # @param MerchantId: 系统商户号
17147
+ # @type MerchantId: String
17148
+ # @param EndMerchantId: 第三方商户号
17149
+ # 注意:此字段可能返回 null,表示取不到有效值。
17150
+ # @type EndMerchantId: String
17151
+ # @param OutTradeNo: 外部订单号
17152
+ # 注意:此字段可能返回 null,表示取不到有效值。
17153
+ # @type OutTradeNo: String
17154
+ # @param TradeNo: 系统订单号
17155
+ # @type TradeNo: String
17156
+ # @param EndTradeNo: 第三方订单号
17157
+ # 注意:此字段可能返回 null,表示取不到有效值。
17158
+ # @type EndTradeNo: String
17159
+ # @param PaymentType: 收付类型,PAYMENT:付款,INCOME:收款
17160
+ # 注意:此字段可能返回 null,表示取不到有效值。
17161
+ # @type PaymentType: String
17162
+ # @param BusinessType: 业务类型,WITHDRAW:提现,PAY:支付,RECHARGE:充值,TRANSFER:转账,REFUND:退款
17163
+ # 注意:此字段可能返回 null,表示取不到有效值。
17164
+ # @type BusinessType: String
17165
+ # @param TradeTime: 发起交易时间,格式yyyy-MM-dd HH:mm:ss
17166
+ # @type TradeTime: String
17167
+ # @param FinishTime: 交易完成时间,格式yyyy-MM-dd HH:mm:ss
17168
+ # 注意:此字段可能返回 null,表示取不到有效值。
17169
+ # @type FinishTime: String
17170
+ # @param TradeStatus: 交易状态,0:未知,1:成功,2:失败
17171
+ # @type TradeStatus: String
17172
+ # @param CheckStatus: 对账状态,1:成功,2:失败 3:长账 4:短账
17173
+ # @type CheckStatus: String
17174
+ # @param CheckFailReason: 对账失败原因
17175
+ # 注意:此字段可能返回 null,表示取不到有效值。
17176
+ # @type CheckFailReason: String
17177
+ # @param OrderAmount: 交易金额(元)
17178
+ # @type OrderAmount: String
17179
+ # @param ServiceFee: 服务费(元)
17180
+ # 注意:此字段可能返回 null,表示取不到有效值。
17181
+ # @type ServiceFee: String
17182
+ # @param PayeeAccount: 收款人账号
17183
+ # 注意:此字段可能返回 null,表示取不到有效值。
17184
+ # @type PayeeAccount: String
17185
+ # @param PayeeName: 收款人名称
17186
+ # 注意:此字段可能返回 null,表示取不到有效值。
17187
+ # @type PayeeName: String
17188
+ # @param PayerAccount: 付款人账号
17189
+ # 注意:此字段可能返回 null,表示取不到有效值。
17190
+ # @type PayerAccount: String
17191
+ # @param PayerName: 付款人名称
17192
+ # 注意:此字段可能返回 null,表示取不到有效值。
17193
+ # @type PayerName: String
17194
+ # @param Description: 支付信息描述
17195
+ # 注意:此字段可能返回 null,表示取不到有效值。
17196
+ # @type Description: String
17197
+
17198
+ attr_accessor :BillDate, :Channel, :SubChannel, :ParentMerchantId, :OutMerchantId, :MerchantId, :EndMerchantId, :OutTradeNo, :TradeNo, :EndTradeNo, :PaymentType, :BusinessType, :TradeTime, :FinishTime, :TradeStatus, :CheckStatus, :CheckFailReason, :OrderAmount, :ServiceFee, :PayeeAccount, :PayeeName, :PayerAccount, :PayerName, :Description
17199
+
17200
+ def initialize(billdate=nil, channel=nil, subchannel=nil, parentmerchantid=nil, outmerchantid=nil, merchantid=nil, endmerchantid=nil, outtradeno=nil, tradeno=nil, endtradeno=nil, paymenttype=nil, businesstype=nil, tradetime=nil, finishtime=nil, tradestatus=nil, checkstatus=nil, checkfailreason=nil, orderamount=nil, servicefee=nil, payeeaccount=nil, payeename=nil, payeraccount=nil, payername=nil, description=nil)
17201
+ @BillDate = billdate
17202
+ @Channel = channel
17203
+ @SubChannel = subchannel
17204
+ @ParentMerchantId = parentmerchantid
17205
+ @OutMerchantId = outmerchantid
17206
+ @MerchantId = merchantid
17207
+ @EndMerchantId = endmerchantid
17208
+ @OutTradeNo = outtradeno
17209
+ @TradeNo = tradeno
17210
+ @EndTradeNo = endtradeno
17211
+ @PaymentType = paymenttype
17212
+ @BusinessType = businesstype
17213
+ @TradeTime = tradetime
17214
+ @FinishTime = finishtime
17215
+ @TradeStatus = tradestatus
17216
+ @CheckStatus = checkstatus
17217
+ @CheckFailReason = checkfailreason
17218
+ @OrderAmount = orderamount
17219
+ @ServiceFee = servicefee
17220
+ @PayeeAccount = payeeaccount
17221
+ @PayeeName = payeename
17222
+ @PayerAccount = payeraccount
17223
+ @PayerName = payername
17224
+ @Description = description
17225
+ end
17226
+
17227
+ def deserialize(params)
17228
+ @BillDate = params['BillDate']
17229
+ @Channel = params['Channel']
17230
+ @SubChannel = params['SubChannel']
17231
+ @ParentMerchantId = params['ParentMerchantId']
17232
+ @OutMerchantId = params['OutMerchantId']
17233
+ @MerchantId = params['MerchantId']
17234
+ @EndMerchantId = params['EndMerchantId']
17235
+ @OutTradeNo = params['OutTradeNo']
17236
+ @TradeNo = params['TradeNo']
17237
+ @EndTradeNo = params['EndTradeNo']
17238
+ @PaymentType = params['PaymentType']
17239
+ @BusinessType = params['BusinessType']
17240
+ @TradeTime = params['TradeTime']
17241
+ @FinishTime = params['FinishTime']
17242
+ @TradeStatus = params['TradeStatus']
17243
+ @CheckStatus = params['CheckStatus']
17244
+ @CheckFailReason = params['CheckFailReason']
17245
+ @OrderAmount = params['OrderAmount']
17246
+ @ServiceFee = params['ServiceFee']
17247
+ @PayeeAccount = params['PayeeAccount']
17248
+ @PayeeName = params['PayeeName']
17249
+ @PayerAccount = params['PayerAccount']
17250
+ @PayerName = params['PayerName']
17251
+ @Description = params['Description']
17252
+ end
17253
+ end
17254
+
17255
+ # QueryOpenBankBillDataPage请求参数结构体
17256
+ class QueryOpenBankBillDataPageRequest < TencentCloud::Common::AbstractModel
17257
+ # @param ChannelMerchantId: 渠道商户号,外部接入平台方入驻云企付平台后下发。
17258
+ # EBANK_PAYMENT支付方式下,填写渠道商户号;
17259
+ # SAFT_ISV支付方式下,填写渠道子商户号;
17260
+ # HELIPAY渠道下,填写渠道子商户号。
17261
+ # @type ChannelMerchantId: String
17262
+ # @param BillDate: 账单日期,yyyy-MM-dd。
17263
+ # @type BillDate: String
17264
+ # @param ChannelName: 渠道名称。详见附录-云企付枚举类说明-ChannelName。
17265
+ # __TENPAY__: 商企付
17266
+ # __WECHAT__: 微信支付
17267
+ # __ALIPAY__: 支付宝
17268
+ # HELIPAY:合利宝
17269
+ # @type ChannelName: String
17270
+ # @param PageNo: 分页页码。
17271
+ # @type PageNo: Integer
17272
+ # @param PageSize: 分页大小,最大1000。
17273
+ # @type PageSize: Integer
17274
+ # @param BillType: 账单类型,默认交易账单。
17275
+ # @type BillType: String
17276
+ # @param PaymentMethod: 支付方式。详见附录-云企付枚举类说明-PaymentMethod。
17277
+ # @type PaymentMethod: String
17278
+ # @param Environment: 环境类型。
17279
+ # __release__:生产环境
17280
+ # __sandbox__:沙箱环境
17281
+ # _不填默认为生产环境_
17282
+ # @type Environment: String
17283
+
17284
+ attr_accessor :ChannelMerchantId, :BillDate, :ChannelName, :PageNo, :PageSize, :BillType, :PaymentMethod, :Environment
17285
+
17286
+ def initialize(channelmerchantid=nil, billdate=nil, channelname=nil, pageno=nil, pagesize=nil, billtype=nil, paymentmethod=nil, environment=nil)
17287
+ @ChannelMerchantId = channelmerchantid
17288
+ @BillDate = billdate
17289
+ @ChannelName = channelname
17290
+ @PageNo = pageno
17291
+ @PageSize = pagesize
17292
+ @BillType = billtype
17293
+ @PaymentMethod = paymentmethod
17294
+ @Environment = environment
17295
+ end
17296
+
17297
+ def deserialize(params)
17298
+ @ChannelMerchantId = params['ChannelMerchantId']
17299
+ @BillDate = params['BillDate']
17300
+ @ChannelName = params['ChannelName']
17301
+ @PageNo = params['PageNo']
17302
+ @PageSize = params['PageSize']
17303
+ @BillType = params['BillType']
17304
+ @PaymentMethod = params['PaymentMethod']
17305
+ @Environment = params['Environment']
17306
+ end
17307
+ end
17308
+
17309
+ # QueryOpenBankBillDataPage返回参数结构体
17310
+ class QueryOpenBankBillDataPageResponse < TencentCloud::Common::AbstractModel
17311
+ # @param ErrCode: 错误码。
17312
+ # __SUCCESS__: 成功
17313
+ # __其他__: 见附录-错误码表
17314
+ # @type ErrCode: String
17315
+ # @param ErrMessage: 错误消息。
17316
+ # @type ErrMessage: String
17317
+ # @param Result: 结果
17318
+ # 注意:此字段可能返回 null,表示取不到有效值。
17319
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankBillDataPageResult`
17320
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
17321
+ # @type RequestId: String
17322
+
17323
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
17324
+
17325
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
17326
+ @ErrCode = errcode
17327
+ @ErrMessage = errmessage
17328
+ @Result = result
17329
+ @RequestId = requestid
17330
+ end
17331
+
17332
+ def deserialize(params)
17333
+ @ErrCode = params['ErrCode']
17334
+ @ErrMessage = params['ErrMessage']
17335
+ unless params['Result'].nil?
17336
+ @Result = QueryOpenBankBillDataPageResult.new
17337
+ @Result.deserialize(params['Result'])
17338
+ end
17339
+ @RequestId = params['RequestId']
17340
+ end
17341
+ end
17342
+
17343
+ # 云企付-分页查询对账单数据结果
17344
+ class QueryOpenBankBillDataPageResult < TencentCloud::Common::AbstractModel
17345
+ # @param PageNo: 页码
17346
+ # @type PageNo: Integer
17347
+ # @param PageSize: 分页大小
17348
+ # @type PageSize: Integer
17349
+ # @param Count: 总数
17350
+ # @type Count: Integer
17351
+ # @param DataList: 账单数据明细
17352
+ # 注意:此字段可能返回 null,表示取不到有效值。
17353
+ # @type DataList: Array
17354
+
17355
+ attr_accessor :PageNo, :PageSize, :Count, :DataList
17356
+
17357
+ def initialize(pageno=nil, pagesize=nil, count=nil, datalist=nil)
17358
+ @PageNo = pageno
17359
+ @PageSize = pagesize
17360
+ @Count = count
17361
+ @DataList = datalist
17362
+ end
17363
+
17364
+ def deserialize(params)
17365
+ @PageNo = params['PageNo']
17366
+ @PageSize = params['PageSize']
17367
+ @Count = params['Count']
17368
+ unless params['DataList'].nil?
17369
+ @DataList = []
17370
+ params['DataList'].each do |i|
17371
+ queryopenbankbilldata_tmp = QueryOpenBankBillData.new
17372
+ queryopenbankbilldata_tmp.deserialize(i)
17373
+ @DataList << queryopenbankbilldata_tmp
17374
+ end
17375
+ end
17376
+ end
17377
+ end
17378
+
16220
17379
  # QueryOpenBankBindExternalSubMerchantBankAccount请求参数结构体
16221
17380
  class QueryOpenBankBindExternalSubMerchantBankAccountRequest < TencentCloud::Common::AbstractModel
16222
17381
  # @param ChannelSubMerchantId: 渠道子商户ID。
@@ -17027,11 +18186,354 @@ module TencentCloud
17027
18186
  class QueryOpenBankPaymentOrderResponse < TencentCloud::Common::AbstractModel
17028
18187
  # @param ErrCode: 业务系统返回码,SUCCESS表示成功,其他表示失败。
17029
18188
  # @type ErrCode: String
17030
- # @param ErrMessage: 业务系统返回消息。
18189
+ # @param ErrMessage: 业务系统返回消息。
18190
+ # @type ErrMessage: String
18191
+ # @param Result: 查询支付结果响应对象。
18192
+ # 注意:此字段可能返回 null,表示取不到有效值。
18193
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankPaymentOrderResult`
18194
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
18195
+ # @type RequestId: String
18196
+
18197
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
18198
+
18199
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
18200
+ @ErrCode = errcode
18201
+ @ErrMessage = errmessage
18202
+ @Result = result
18203
+ @RequestId = requestid
18204
+ end
18205
+
18206
+ def deserialize(params)
18207
+ @ErrCode = params['ErrCode']
18208
+ @ErrMessage = params['ErrMessage']
18209
+ unless params['Result'].nil?
18210
+ @Result = QueryOpenBankPaymentOrderResult.new
18211
+ @Result.deserialize(params['Result'])
18212
+ end
18213
+ @RequestId = params['RequestId']
18214
+ end
18215
+ end
18216
+
18217
+ # 云企付-查询订单支付结果
18218
+ class QueryOpenBankPaymentOrderResult < TencentCloud::Common::AbstractModel
18219
+ # @param ChannelMerchantId: 渠道商户号。外部接入平台入驻云企付平台下发
18220
+ # @type ChannelMerchantId: String
18221
+ # @param OutOrderId: 外部商户订单号
18222
+ # @type OutOrderId: String
18223
+ # @param ChannelOrderId: 云企付平台订单号
18224
+ # @type ChannelOrderId: String
18225
+ # @param ThirdPayOrderId: 第三方支付平台订单号
18226
+ # @type ThirdPayOrderId: String
18227
+ # @param OrderStatus: 订单状态。
18228
+ # INIT:初始化
18229
+ # PAYING:支付中
18230
+ # ACCEPTED:支付受理成功
18231
+ # SUCCESS:支付成功
18232
+ # CLOSED:关单
18233
+ # PAY_FAIL:支付失败
18234
+ # REVOKE:退票
18235
+ # @type OrderStatus: String
18236
+ # @param ChannelName: 支付渠道名称,如TENPAY
18237
+ # @type ChannelName: String
18238
+ # @param PaymentMethod: 付款方式。如EBANK_PAYMENT
18239
+ # OPENBANK_PAYMENT
18240
+ # @type PaymentMethod: String
18241
+ # @param TotalAmount: 订单金额。单位分
18242
+ # @type TotalAmount: Integer
18243
+ # @param PayAmount: 实际支付金额。单位分,支付成功时返回
18244
+ # @type PayAmount: Integer
18245
+ # @param FailReason: 失败原因,若失败的返回
18246
+ # 注意:此字段可能返回 null,表示取不到有效值。
18247
+ # @type FailReason: String
18248
+ # @param Attachment: 附加信息,查询时原样透传
18249
+ # 注意:此字段可能返回 null,表示取不到有效值。
18250
+ # @type Attachment: String
18251
+ # @param RedirectInfo: 重定向参数,用于客户端跳转,订单未支付时返回该参数
18252
+ # 渠道为TENPAY,付款方式为EBANK_PAYMENT时返回
18253
+ # 注意:此字段可能返回 null,表示取不到有效值。
18254
+ # @type RedirectInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankRedirectInfo`
18255
+ # @param ExternalReturnData: 第三方渠道返回信息,见渠道特殊说明,详情见附录-复杂类型。
18256
+ # 注意:此字段可能返回 null,表示取不到有效值。
18257
+ # @type ExternalReturnData: String
18258
+ # @param BankApprovalGuideInfo: 银行复核指引。当TENPAY下OPENBANT_PAYMENT时,下单受理成功是返回。
18259
+ # 注意:此字段可能返回 null,表示取不到有效值。
18260
+ # @type BankApprovalGuideInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankApprovalGuideInfo`
18261
+ # @param FeeAmount: 手续费金额
18262
+ # 注意:此字段可能返回 null,表示取不到有效值。
18263
+ # @type FeeAmount: Integer
18264
+ # @param FeeRate: 手续费费率
18265
+ # 注意:此字段可能返回 null,表示取不到有效值。
18266
+ # @type FeeRate: Integer
18267
+
18268
+ attr_accessor :ChannelMerchantId, :OutOrderId, :ChannelOrderId, :ThirdPayOrderId, :OrderStatus, :ChannelName, :PaymentMethod, :TotalAmount, :PayAmount, :FailReason, :Attachment, :RedirectInfo, :ExternalReturnData, :BankApprovalGuideInfo, :FeeAmount, :FeeRate
18269
+
18270
+ def initialize(channelmerchantid=nil, outorderid=nil, channelorderid=nil, thirdpayorderid=nil, orderstatus=nil, channelname=nil, paymentmethod=nil, totalamount=nil, payamount=nil, failreason=nil, attachment=nil, redirectinfo=nil, externalreturndata=nil, bankapprovalguideinfo=nil, feeamount=nil, feerate=nil)
18271
+ @ChannelMerchantId = channelmerchantid
18272
+ @OutOrderId = outorderid
18273
+ @ChannelOrderId = channelorderid
18274
+ @ThirdPayOrderId = thirdpayorderid
18275
+ @OrderStatus = orderstatus
18276
+ @ChannelName = channelname
18277
+ @PaymentMethod = paymentmethod
18278
+ @TotalAmount = totalamount
18279
+ @PayAmount = payamount
18280
+ @FailReason = failreason
18281
+ @Attachment = attachment
18282
+ @RedirectInfo = redirectinfo
18283
+ @ExternalReturnData = externalreturndata
18284
+ @BankApprovalGuideInfo = bankapprovalguideinfo
18285
+ @FeeAmount = feeamount
18286
+ @FeeRate = feerate
18287
+ end
18288
+
18289
+ def deserialize(params)
18290
+ @ChannelMerchantId = params['ChannelMerchantId']
18291
+ @OutOrderId = params['OutOrderId']
18292
+ @ChannelOrderId = params['ChannelOrderId']
18293
+ @ThirdPayOrderId = params['ThirdPayOrderId']
18294
+ @OrderStatus = params['OrderStatus']
18295
+ @ChannelName = params['ChannelName']
18296
+ @PaymentMethod = params['PaymentMethod']
18297
+ @TotalAmount = params['TotalAmount']
18298
+ @PayAmount = params['PayAmount']
18299
+ @FailReason = params['FailReason']
18300
+ @Attachment = params['Attachment']
18301
+ unless params['RedirectInfo'].nil?
18302
+ @RedirectInfo = OpenBankRedirectInfo.new
18303
+ @RedirectInfo.deserialize(params['RedirectInfo'])
18304
+ end
18305
+ @ExternalReturnData = params['ExternalReturnData']
18306
+ unless params['BankApprovalGuideInfo'].nil?
18307
+ @BankApprovalGuideInfo = OpenBankApprovalGuideInfo.new
18308
+ @BankApprovalGuideInfo.deserialize(params['BankApprovalGuideInfo'])
18309
+ end
18310
+ @FeeAmount = params['FeeAmount']
18311
+ @FeeRate = params['FeeRate']
18312
+ end
18313
+ end
18314
+
18315
+ # QueryOpenBankRefundOrder请求参数结构体
18316
+ class QueryOpenBankRefundOrderRequest < TencentCloud::Common::AbstractModel
18317
+ # @param ChannelMerchantId: 渠道商户号。
18318
+ # @type ChannelMerchantId: String
18319
+ # @param OutRefundId: 外部商户退单号,与渠道退款单号二者选填其一。
18320
+ # @type OutRefundId: String
18321
+ # @param ChannelRefundId: 渠道退款订单号,与外部商户退款单号二者选填其一。
18322
+ # @type ChannelRefundId: String
18323
+ # @param Environment: 环境类型。
18324
+ # __release__:生产环境
18325
+ # __sandbox__:沙箱环境
18326
+ # _不填默认为生产环境_
18327
+ # @type Environment: String
18328
+
18329
+ attr_accessor :ChannelMerchantId, :OutRefundId, :ChannelRefundId, :Environment
18330
+
18331
+ def initialize(channelmerchantid=nil, outrefundid=nil, channelrefundid=nil, environment=nil)
18332
+ @ChannelMerchantId = channelmerchantid
18333
+ @OutRefundId = outrefundid
18334
+ @ChannelRefundId = channelrefundid
18335
+ @Environment = environment
18336
+ end
18337
+
18338
+ def deserialize(params)
18339
+ @ChannelMerchantId = params['ChannelMerchantId']
18340
+ @OutRefundId = params['OutRefundId']
18341
+ @ChannelRefundId = params['ChannelRefundId']
18342
+ @Environment = params['Environment']
18343
+ end
18344
+ end
18345
+
18346
+ # QueryOpenBankRefundOrder返回参数结构体
18347
+ class QueryOpenBankRefundOrderResponse < TencentCloud::Common::AbstractModel
18348
+ # @param ErrCode: 错误码
18349
+ # @type ErrCode: String
18350
+ # @param ErrMessage: 错误消息
18351
+ # 注意:此字段可能返回 null,表示取不到有效值。
18352
+ # @type ErrMessage: String
18353
+ # @param Result: 返回结果
18354
+ # 注意:此字段可能返回 null,表示取不到有效值。
18355
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankQueryRefundOrderResult`
18356
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
18357
+ # @type RequestId: String
18358
+
18359
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
18360
+
18361
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
18362
+ @ErrCode = errcode
18363
+ @ErrMessage = errmessage
18364
+ @Result = result
18365
+ @RequestId = requestid
18366
+ end
18367
+
18368
+ def deserialize(params)
18369
+ @ErrCode = params['ErrCode']
18370
+ @ErrMessage = params['ErrMessage']
18371
+ unless params['Result'].nil?
18372
+ @Result = OpenBankQueryRefundOrderResult.new
18373
+ @Result.deserialize(params['Result'])
18374
+ end
18375
+ @RequestId = params['RequestId']
18376
+ end
18377
+ end
18378
+
18379
+ # QueryOpenBankSubMerchantCredential请求参数结构体
18380
+ class QueryOpenBankSubMerchantCredentialRequest < TencentCloud::Common::AbstractModel
18381
+ # @param ChannelMerchantId: 渠道商户ID。
18382
+ # @type ChannelMerchantId: String
18383
+ # @param ChannelSubMerchantId: 渠道子商户ID。
18384
+ # @type ChannelSubMerchantId: String
18385
+ # @param ChannelName: 渠道名称。详见附录-枚举类型-ChannelName。
18386
+ # @type ChannelName: String
18387
+ # @param PaymentMethod: 支付方式。
18388
+ # 合利宝渠道不需要传。
18389
+ # @type PaymentMethod: String
18390
+ # @param OutApplyId: 外部申请流水号。
18391
+ # 外部申请流水号与渠道申请流水号两者选填其一。
18392
+ # @type OutApplyId: String
18393
+ # @param ChannelApplyId: 渠道申请流水号。
18394
+ # 外部申请流水号与渠道申请流水号两者选填其一。
18395
+ # @type ChannelApplyId: String
18396
+ # @param Environment: 环境类型。
18397
+ # __release__:生产环境
18398
+ # __sandbox__:沙箱环境
18399
+ # _不填默认为生产环境_
18400
+ # @type Environment: String
18401
+
18402
+ attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :ChannelName, :PaymentMethod, :OutApplyId, :ChannelApplyId, :Environment
18403
+
18404
+ def initialize(channelmerchantid=nil, channelsubmerchantid=nil, channelname=nil, paymentmethod=nil, outapplyid=nil, channelapplyid=nil, environment=nil)
18405
+ @ChannelMerchantId = channelmerchantid
18406
+ @ChannelSubMerchantId = channelsubmerchantid
18407
+ @ChannelName = channelname
18408
+ @PaymentMethod = paymentmethod
18409
+ @OutApplyId = outapplyid
18410
+ @ChannelApplyId = channelapplyid
18411
+ @Environment = environment
18412
+ end
18413
+
18414
+ def deserialize(params)
18415
+ @ChannelMerchantId = params['ChannelMerchantId']
18416
+ @ChannelSubMerchantId = params['ChannelSubMerchantId']
18417
+ @ChannelName = params['ChannelName']
18418
+ @PaymentMethod = params['PaymentMethod']
18419
+ @OutApplyId = params['OutApplyId']
18420
+ @ChannelApplyId = params['ChannelApplyId']
18421
+ @Environment = params['Environment']
18422
+ end
18423
+ end
18424
+
18425
+ # QueryOpenBankSubMerchantCredential返回参数结构体
18426
+ class QueryOpenBankSubMerchantCredentialResponse < TencentCloud::Common::AbstractModel
18427
+ # @param ErrCode: 错误码。
18428
+ # @type ErrCode: String
18429
+ # @param ErrMessage: 错误消息。
18430
+ # @type ErrMessage: String
18431
+ # @param Result: 返回结果
18432
+ # 注意:此字段可能返回 null,表示取不到有效值。
18433
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankSubMerchantCredentialResult`
18434
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
18435
+ # @type RequestId: String
18436
+
18437
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
18438
+
18439
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
18440
+ @ErrCode = errcode
18441
+ @ErrMessage = errmessage
18442
+ @Result = result
18443
+ @RequestId = requestid
18444
+ end
18445
+
18446
+ def deserialize(params)
18447
+ @ErrCode = params['ErrCode']
18448
+ @ErrMessage = params['ErrMessage']
18449
+ unless params['Result'].nil?
18450
+ @Result = QueryOpenBankSubMerchantCredentialResult.new
18451
+ @Result.deserialize(params['Result'])
18452
+ end
18453
+ @RequestId = params['RequestId']
18454
+ end
18455
+ end
18456
+
18457
+ # 子商户资质文件查询
18458
+ class QueryOpenBankSubMerchantCredentialResult < TencentCloud::Common::AbstractModel
18459
+ # @param UploadStatus: 上传状态
18460
+ # @type UploadStatus: String
18461
+ # @param UploadMessage: 上传描述
18462
+ # 注意:此字段可能返回 null,表示取不到有效值。
18463
+ # @type UploadMessage: String
18464
+
18465
+ attr_accessor :UploadStatus, :UploadMessage
18466
+
18467
+ def initialize(uploadstatus=nil, uploadmessage=nil)
18468
+ @UploadStatus = uploadstatus
18469
+ @UploadMessage = uploadmessage
18470
+ end
18471
+
18472
+ def deserialize(params)
18473
+ @UploadStatus = params['UploadStatus']
18474
+ @UploadMessage = params['UploadMessage']
18475
+ end
18476
+ end
18477
+
18478
+ # QueryOpenBankSubMerchantRateConfigure请求参数结构体
18479
+ class QueryOpenBankSubMerchantRateConfigureRequest < TencentCloud::Common::AbstractModel
18480
+ # @param ChannelRegistrationNo: 渠道进件序列号。
18481
+ # @type ChannelRegistrationNo: String
18482
+ # @param ChannelMerchantId: 渠道商户ID。
18483
+ # @type ChannelMerchantId: String
18484
+ # @param ChannelSubMerchantId: 渠道子商户ID。
18485
+ # @type ChannelSubMerchantId: String
18486
+ # @param ChannelName: 渠道名称。详见附录-云企付枚举类说明-ChannelName。
18487
+ # TENPAY: 商企付
18488
+ # WECHAT: 微信支付
18489
+ # ALIPAY: 支付宝
18490
+ # HELIPAY:合利宝
18491
+ # @type ChannelName: String
18492
+ # @param ChannelProductFeeNo: 渠道产品费率序列号。与外部产品费率序列号二者选填其一。
18493
+ # @type ChannelProductFeeNo: String
18494
+ # @param OutProductFeeNo: 外部产品费率序列号。与渠道产品费率序列号二者选填其一。
18495
+ # @type OutProductFeeNo: String
18496
+ # @param Environment: 环境类型。
18497
+ # __release__:生产环境
18498
+ # __sandbox__:沙箱环境
18499
+ # _不填默认为生产环境_
18500
+ # @type Environment: String
18501
+
18502
+ attr_accessor :ChannelRegistrationNo, :ChannelMerchantId, :ChannelSubMerchantId, :ChannelName, :ChannelProductFeeNo, :OutProductFeeNo, :Environment
18503
+
18504
+ def initialize(channelregistrationno=nil, channelmerchantid=nil, channelsubmerchantid=nil, channelname=nil, channelproductfeeno=nil, outproductfeeno=nil, environment=nil)
18505
+ @ChannelRegistrationNo = channelregistrationno
18506
+ @ChannelMerchantId = channelmerchantid
18507
+ @ChannelSubMerchantId = channelsubmerchantid
18508
+ @ChannelName = channelname
18509
+ @ChannelProductFeeNo = channelproductfeeno
18510
+ @OutProductFeeNo = outproductfeeno
18511
+ @Environment = environment
18512
+ end
18513
+
18514
+ def deserialize(params)
18515
+ @ChannelRegistrationNo = params['ChannelRegistrationNo']
18516
+ @ChannelMerchantId = params['ChannelMerchantId']
18517
+ @ChannelSubMerchantId = params['ChannelSubMerchantId']
18518
+ @ChannelName = params['ChannelName']
18519
+ @ChannelProductFeeNo = params['ChannelProductFeeNo']
18520
+ @OutProductFeeNo = params['OutProductFeeNo']
18521
+ @Environment = params['Environment']
18522
+ end
18523
+ end
18524
+
18525
+ # QueryOpenBankSubMerchantRateConfigure返回参数结构体
18526
+ class QueryOpenBankSubMerchantRateConfigureResponse < TencentCloud::Common::AbstractModel
18527
+ # @param ErrCode: 错误码。
18528
+ # __SUCCESS__: 成功
18529
+ # __其他__: 见附录-错误码表
18530
+ # @type ErrCode: String
18531
+ # @param ErrMessage: 错误消息。
18532
+ # 注意:此字段可能返回 null,表示取不到有效值。
17031
18533
  # @type ErrMessage: String
17032
- # @param Result: 查询支付结果响应对象。
18534
+ # @param Result: 返回结果。
17033
18535
  # 注意:此字段可能返回 null,表示取不到有效值。
17034
- # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankPaymentOrderResult`
18536
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankSubMerchantRateConfigureResult`
17035
18537
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
17036
18538
  # @type RequestId: String
17037
18539
 
@@ -17048,108 +18550,34 @@ module TencentCloud
17048
18550
  @ErrCode = params['ErrCode']
17049
18551
  @ErrMessage = params['ErrMessage']
17050
18552
  unless params['Result'].nil?
17051
- @Result = QueryOpenBankPaymentOrderResult.new
18553
+ @Result = QueryOpenBankSubMerchantRateConfigureResult.new
17052
18554
  @Result.deserialize(params['Result'])
17053
18555
  end
17054
18556
  @RequestId = params['RequestId']
17055
18557
  end
17056
18558
  end
17057
18559
 
17058
- # 云企付-查询订单支付结果
17059
- class QueryOpenBankPaymentOrderResult < TencentCloud::Common::AbstractModel
17060
- # @param ChannelMerchantId: 渠道商户号。外部接入平台入驻云企付平台下发
17061
- # @type ChannelMerchantId: String
17062
- # @param OutOrderId: 外部商户订单号
17063
- # @type OutOrderId: String
17064
- # @param ChannelOrderId: 云企付平台订单号
17065
- # @type ChannelOrderId: String
17066
- # @param ThirdPayOrderId: 第三方支付平台订单号
17067
- # @type ThirdPayOrderId: String
17068
- # @param OrderStatus: 订单状态。
17069
- # INIT:初始化
17070
- # PAYING:支付中
17071
- # ACCEPTED:支付受理成功
17072
- # SUCCESS:支付成功
17073
- # CLOSED:关单
17074
- # PAY_FAIL:支付失败
17075
- # REVOKE:退票
17076
- # @type OrderStatus: String
17077
- # @param ChannelName: 支付渠道名称,如TENPAY
17078
- # @type ChannelName: String
17079
- # @param PaymentMethod: 付款方式。如EBANK_PAYMENT
17080
- # OPENBANK_PAYMENT
17081
- # @type PaymentMethod: String
17082
- # @param TotalAmount: 订单金额。单位分
17083
- # @type TotalAmount: Integer
17084
- # @param PayAmount: 实际支付金额。单位分,支付成功时返回
17085
- # @type PayAmount: Integer
17086
- # @param FailReason: 失败原因,若失败的返回
17087
- # 注意:此字段可能返回 null,表示取不到有效值。
17088
- # @type FailReason: String
17089
- # @param Attachment: 附加信息,查询时原样透传
17090
- # 注意:此字段可能返回 null,表示取不到有效值。
17091
- # @type Attachment: String
17092
- # @param RedirectInfo: 重定向参数,用于客户端跳转,订单未支付时返回该参数
17093
- # 渠道为TENPAY,付款方式为EBANK_PAYMENT时返回
17094
- # 注意:此字段可能返回 null,表示取不到有效值。
17095
- # @type RedirectInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankRedirectInfo`
17096
- # @param ExternalReturnData: 第三方渠道返回信息,见渠道特殊说明,详情见附录-复杂类型。
17097
- # 注意:此字段可能返回 null,表示取不到有效值。
17098
- # @type ExternalReturnData: String
17099
- # @param BankApprovalGuideInfo: 银行复核指引。当TENPAY下OPENBANT_PAYMENT时,下单受理成功是返回。
17100
- # 注意:此字段可能返回 null,表示取不到有效值。
17101
- # @type BankApprovalGuideInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankApprovalGuideInfo`
17102
- # @param FeeAmount: 手续费金额
17103
- # 注意:此字段可能返回 null,表示取不到有效值。
17104
- # @type FeeAmount: Integer
17105
- # @param FeeRate: 手续费费率
18560
+ # 子商户费率配置查询结果
18561
+ class QueryOpenBankSubMerchantRateConfigureResult < TencentCloud::Common::AbstractModel
18562
+ # @param DealStatus: 处理状态
18563
+ # SUCCESS: 开通成功
18564
+ # FAILED: 开通失败
18565
+ # PROCESSING: 开通中
18566
+ # @type DealStatus: String
18567
+ # @param DealMessage: 处理描述
17106
18568
  # 注意:此字段可能返回 null,表示取不到有效值。
17107
- # @type FeeRate: Integer
18569
+ # @type DealMessage: String
17108
18570
 
17109
- attr_accessor :ChannelMerchantId, :OutOrderId, :ChannelOrderId, :ThirdPayOrderId, :OrderStatus, :ChannelName, :PaymentMethod, :TotalAmount, :PayAmount, :FailReason, :Attachment, :RedirectInfo, :ExternalReturnData, :BankApprovalGuideInfo, :FeeAmount, :FeeRate
18571
+ attr_accessor :DealStatus, :DealMessage
17110
18572
 
17111
- def initialize(channelmerchantid=nil, outorderid=nil, channelorderid=nil, thirdpayorderid=nil, orderstatus=nil, channelname=nil, paymentmethod=nil, totalamount=nil, payamount=nil, failreason=nil, attachment=nil, redirectinfo=nil, externalreturndata=nil, bankapprovalguideinfo=nil, feeamount=nil, feerate=nil)
17112
- @ChannelMerchantId = channelmerchantid
17113
- @OutOrderId = outorderid
17114
- @ChannelOrderId = channelorderid
17115
- @ThirdPayOrderId = thirdpayorderid
17116
- @OrderStatus = orderstatus
17117
- @ChannelName = channelname
17118
- @PaymentMethod = paymentmethod
17119
- @TotalAmount = totalamount
17120
- @PayAmount = payamount
17121
- @FailReason = failreason
17122
- @Attachment = attachment
17123
- @RedirectInfo = redirectinfo
17124
- @ExternalReturnData = externalreturndata
17125
- @BankApprovalGuideInfo = bankapprovalguideinfo
17126
- @FeeAmount = feeamount
17127
- @FeeRate = feerate
18573
+ def initialize(dealstatus=nil, dealmessage=nil)
18574
+ @DealStatus = dealstatus
18575
+ @DealMessage = dealmessage
17128
18576
  end
17129
18577
 
17130
18578
  def deserialize(params)
17131
- @ChannelMerchantId = params['ChannelMerchantId']
17132
- @OutOrderId = params['OutOrderId']
17133
- @ChannelOrderId = params['ChannelOrderId']
17134
- @ThirdPayOrderId = params['ThirdPayOrderId']
17135
- @OrderStatus = params['OrderStatus']
17136
- @ChannelName = params['ChannelName']
17137
- @PaymentMethod = params['PaymentMethod']
17138
- @TotalAmount = params['TotalAmount']
17139
- @PayAmount = params['PayAmount']
17140
- @FailReason = params['FailReason']
17141
- @Attachment = params['Attachment']
17142
- unless params['RedirectInfo'].nil?
17143
- @RedirectInfo = OpenBankRedirectInfo.new
17144
- @RedirectInfo.deserialize(params['RedirectInfo'])
17145
- end
17146
- @ExternalReturnData = params['ExternalReturnData']
17147
- unless params['BankApprovalGuideInfo'].nil?
17148
- @BankApprovalGuideInfo = OpenBankApprovalGuideInfo.new
17149
- @BankApprovalGuideInfo.deserialize(params['BankApprovalGuideInfo'])
17150
- end
17151
- @FeeAmount = params['FeeAmount']
17152
- @FeeRate = params['FeeRate']
18579
+ @DealStatus = params['DealStatus']
18580
+ @DealMessage = params['DealMessage']
17153
18581
  end
17154
18582
  end
17155
18583
 
@@ -20014,6 +21442,95 @@ module TencentCloud
20014
21442
  end
20015
21443
  end
20016
21444
 
21445
+ # RefundOpenBankOrder请求参数结构体
21446
+ class RefundOpenBankOrderRequest < TencentCloud::Common::AbstractModel
21447
+ # @param OutRefundId: 外部商户退款单号。
21448
+ # @type OutRefundId: String
21449
+ # @param RefundAmount: 退款金额。单位分。
21450
+ # @type RefundAmount: Integer
21451
+ # @param ChannelMerchantId: 渠道商户号。
21452
+ # @type ChannelMerchantId: String
21453
+ # @param OutOrderId: 外部商户订单号,与云企付渠道订单号二者选填其一。
21454
+ # @type OutOrderId: String
21455
+ # @param ChannelOrderId: 云企付渠道订单号,与外部订单号二者选填其一。
21456
+ # @type ChannelOrderId: String
21457
+ # @param NotifyUrl: 退款通知地址。
21458
+ # @type NotifyUrl: String
21459
+ # @param RefundReason: 退款原因。
21460
+ # @type RefundReason: String
21461
+ # @param ExternalRefundData: 第三方渠道退款附加信息。详见附录-复杂类型。
21462
+ # 若未作特殊说明,则无需传入。
21463
+ # @type ExternalRefundData: String
21464
+ # @param Remark: 备注信息
21465
+ # @type Remark: String
21466
+ # @param Environment: 环境类型。
21467
+ # __release__:生产环境
21468
+ # __sandbox__:沙箱环境
21469
+ # _不填默认为生产环境_
21470
+ # @type Environment: String
21471
+
21472
+ attr_accessor :OutRefundId, :RefundAmount, :ChannelMerchantId, :OutOrderId, :ChannelOrderId, :NotifyUrl, :RefundReason, :ExternalRefundData, :Remark, :Environment
21473
+
21474
+ def initialize(outrefundid=nil, refundamount=nil, channelmerchantid=nil, outorderid=nil, channelorderid=nil, notifyurl=nil, refundreason=nil, externalrefunddata=nil, remark=nil, environment=nil)
21475
+ @OutRefundId = outrefundid
21476
+ @RefundAmount = refundamount
21477
+ @ChannelMerchantId = channelmerchantid
21478
+ @OutOrderId = outorderid
21479
+ @ChannelOrderId = channelorderid
21480
+ @NotifyUrl = notifyurl
21481
+ @RefundReason = refundreason
21482
+ @ExternalRefundData = externalrefunddata
21483
+ @Remark = remark
21484
+ @Environment = environment
21485
+ end
21486
+
21487
+ def deserialize(params)
21488
+ @OutRefundId = params['OutRefundId']
21489
+ @RefundAmount = params['RefundAmount']
21490
+ @ChannelMerchantId = params['ChannelMerchantId']
21491
+ @OutOrderId = params['OutOrderId']
21492
+ @ChannelOrderId = params['ChannelOrderId']
21493
+ @NotifyUrl = params['NotifyUrl']
21494
+ @RefundReason = params['RefundReason']
21495
+ @ExternalRefundData = params['ExternalRefundData']
21496
+ @Remark = params['Remark']
21497
+ @Environment = params['Environment']
21498
+ end
21499
+ end
21500
+
21501
+ # RefundOpenBankOrder返回参数结构体
21502
+ class RefundOpenBankOrderResponse < TencentCloud::Common::AbstractModel
21503
+ # @param ErrCode: 错误码
21504
+ # @type ErrCode: String
21505
+ # @param ErrMessage: 错误消息
21506
+ # 注意:此字段可能返回 null,表示取不到有效值。
21507
+ # @type ErrMessage: String
21508
+ # @param Result: 返回结果
21509
+ # 注意:此字段可能返回 null,表示取不到有效值。
21510
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankRefundOrderApplyResult`
21511
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
21512
+ # @type RequestId: String
21513
+
21514
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
21515
+
21516
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
21517
+ @ErrCode = errcode
21518
+ @ErrMessage = errmessage
21519
+ @Result = result
21520
+ @RequestId = requestid
21521
+ end
21522
+
21523
+ def deserialize(params)
21524
+ @ErrCode = params['ErrCode']
21525
+ @ErrMessage = params['ErrMessage']
21526
+ unless params['Result'].nil?
21527
+ @Result = OpenBankRefundOrderApplyResult.new
21528
+ @Result.deserialize(params['Result'])
21529
+ end
21530
+ @RequestId = params['RequestId']
21531
+ end
21532
+ end
21533
+
20017
21534
  # RefundOrder请求参数结构体
20018
21535
  class RefundOrderRequest < TencentCloud::Common::AbstractModel
20019
21536
  # @param MerchantAppId: 进件成功后返给商户方的AppId
@@ -21236,6 +22753,59 @@ module TencentCloud
21236
22753
  end
21237
22754
  end
21238
22755
 
22756
+ # 商户结算信息
22757
+ class SettleInfo < TencentCloud::Common::AbstractModel
22758
+ # @param SettleAccountType: 结算账户类型
22759
+ # PRIVATE:对私
22760
+ # BUSINESS:对公
22761
+ # HELIPAY渠道必传
22762
+ # @type SettleAccountType: String
22763
+ # @param SettleAccountNumber: 结算账号
22764
+ # HELIPAY渠道必传
22765
+ # @type SettleAccountNumber: String
22766
+ # @param SettleAccountName: 结算账户名称
22767
+ # HELIPAY渠道必传
22768
+ # @type SettleAccountName: String
22769
+ # @param BankBranchId: 支行号
22770
+ # HELIPAY渠道必传
22771
+ # @type BankBranchId: String
22772
+ # @param BankBranchName: 支行名称
22773
+ # @type BankBranchName: String
22774
+ # @param SettleMode: 结算方式
22775
+ # AUTO:自动结算
22776
+ # SELF:自主结算
22777
+ # HELIPAY渠道必传
22778
+ # @type SettleMode: String
22779
+ # @param SettlePeriod: 结算周期
22780
+ # T1:工作日隔天结算
22781
+ # D1:自然日隔天结算
22782
+ # D0:当日结算
22783
+ # HELIPAY渠道必传
22784
+ # @type SettlePeriod: String
22785
+
22786
+ attr_accessor :SettleAccountType, :SettleAccountNumber, :SettleAccountName, :BankBranchId, :BankBranchName, :SettleMode, :SettlePeriod
22787
+
22788
+ def initialize(settleaccounttype=nil, settleaccountnumber=nil, settleaccountname=nil, bankbranchid=nil, bankbranchname=nil, settlemode=nil, settleperiod=nil)
22789
+ @SettleAccountType = settleaccounttype
22790
+ @SettleAccountNumber = settleaccountnumber
22791
+ @SettleAccountName = settleaccountname
22792
+ @BankBranchId = bankbranchid
22793
+ @BankBranchName = bankbranchname
22794
+ @SettleMode = settlemode
22795
+ @SettlePeriod = settleperiod
22796
+ end
22797
+
22798
+ def deserialize(params)
22799
+ @SettleAccountType = params['SettleAccountType']
22800
+ @SettleAccountNumber = params['SettleAccountNumber']
22801
+ @SettleAccountName = params['SettleAccountName']
22802
+ @BankBranchId = params['BankBranchId']
22803
+ @BankBranchName = params['BankBranchName']
22804
+ @SettleMode = params['SettleMode']
22805
+ @SettlePeriod = params['SettlePeriod']
22806
+ end
22807
+ end
22808
+
21239
22809
  # 结算订单结果
21240
22810
  class SettlementOrderResult < TencentCloud::Common::AbstractModel
21241
22811
  # @param IncomeType: 收入类型
@@ -23019,6 +24589,125 @@ module TencentCloud
23019
24589
  end
23020
24590
  end
23021
24591
 
24592
+ # UploadOpenBankSubMerchantCredential请求参数结构体
24593
+ class UploadOpenBankSubMerchantCredentialRequest < TencentCloud::Common::AbstractModel
24594
+ # @param ChannelMerchantId: 渠道商户ID。
24595
+ # @type ChannelMerchantId: String
24596
+ # @param ChannelSubMerchantId: 渠道子商户ID。
24597
+ # @type ChannelSubMerchantId: String
24598
+ # @param ChannelName: 渠道名称。详见附录-枚举类型-ChannelName。
24599
+ # @type ChannelName: String
24600
+ # @param OutApplyId: 外部序列进件号。
24601
+ # @type OutApplyId: String
24602
+ # @param CredentialType: 资质类型,详见附录-枚举类型-CredentialType。
24603
+ # @type CredentialType: String
24604
+ # @param FileType: 文件类型。
24605
+ # 合利宝渠道,文件类型为PNG/JPG格式。
24606
+ # @type FileType: String
24607
+ # @param PaymentMethod: 支付方式。
24608
+ # 合利宝渠道不需要传。
24609
+ # @type PaymentMethod: String
24610
+ # @param CredentialContent: 资质文件内容。Base64编码,资质文件内容和链接二选一。
24611
+ # 合利宝渠道,文件限制大小5M以内。
24612
+ # @type CredentialContent: String
24613
+ # @param CredentialUrl: 资质文件链接。资质文件内容和链接二选一。
24614
+ # 合利宝渠道,文件限制大小5M以内。
24615
+ # @type CredentialUrl: String
24616
+ # @param Environment: 环境类型。
24617
+ # __release__:生产环境
24618
+ # __sandbox__:沙箱环境
24619
+ # _不填默认为生产环境_
24620
+ # @type Environment: String
24621
+
24622
+ attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :ChannelName, :OutApplyId, :CredentialType, :FileType, :PaymentMethod, :CredentialContent, :CredentialUrl, :Environment
24623
+
24624
+ def initialize(channelmerchantid=nil, channelsubmerchantid=nil, channelname=nil, outapplyid=nil, credentialtype=nil, filetype=nil, paymentmethod=nil, credentialcontent=nil, credentialurl=nil, environment=nil)
24625
+ @ChannelMerchantId = channelmerchantid
24626
+ @ChannelSubMerchantId = channelsubmerchantid
24627
+ @ChannelName = channelname
24628
+ @OutApplyId = outapplyid
24629
+ @CredentialType = credentialtype
24630
+ @FileType = filetype
24631
+ @PaymentMethod = paymentmethod
24632
+ @CredentialContent = credentialcontent
24633
+ @CredentialUrl = credentialurl
24634
+ @Environment = environment
24635
+ end
24636
+
24637
+ def deserialize(params)
24638
+ @ChannelMerchantId = params['ChannelMerchantId']
24639
+ @ChannelSubMerchantId = params['ChannelSubMerchantId']
24640
+ @ChannelName = params['ChannelName']
24641
+ @OutApplyId = params['OutApplyId']
24642
+ @CredentialType = params['CredentialType']
24643
+ @FileType = params['FileType']
24644
+ @PaymentMethod = params['PaymentMethod']
24645
+ @CredentialContent = params['CredentialContent']
24646
+ @CredentialUrl = params['CredentialUrl']
24647
+ @Environment = params['Environment']
24648
+ end
24649
+ end
24650
+
24651
+ # UploadOpenBankSubMerchantCredential返回参数结构体
24652
+ class UploadOpenBankSubMerchantCredentialResponse < TencentCloud::Common::AbstractModel
24653
+ # @param ErrCode: 错误码。
24654
+ # @type ErrCode: String
24655
+ # @param ErrMessage: 错误消息。
24656
+ # @type ErrMessage: String
24657
+ # @param Result: 返回结果
24658
+ # 注意:此字段可能返回 null,表示取不到有效值。
24659
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.UploadOpenBankSubMerchantCredentialResult`
24660
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
24661
+ # @type RequestId: String
24662
+
24663
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
24664
+
24665
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
24666
+ @ErrCode = errcode
24667
+ @ErrMessage = errmessage
24668
+ @Result = result
24669
+ @RequestId = requestid
24670
+ end
24671
+
24672
+ def deserialize(params)
24673
+ @ErrCode = params['ErrCode']
24674
+ @ErrMessage = params['ErrMessage']
24675
+ unless params['Result'].nil?
24676
+ @Result = UploadOpenBankSubMerchantCredentialResult.new
24677
+ @Result.deserialize(params['Result'])
24678
+ end
24679
+ @RequestId = params['RequestId']
24680
+ end
24681
+ end
24682
+
24683
+ # 上传子商户资质文件返回值
24684
+ class UploadOpenBankSubMerchantCredentialResult < TencentCloud::Common::AbstractModel
24685
+ # @param UploadStatus: 上传状态
24686
+ # SUCCESS:上传成功
24687
+ # FAILED:上传失败
24688
+ # PROCESSING:上传中
24689
+ # @type UploadStatus: String
24690
+ # @param UploadMessage: 上传描述
24691
+ # 注意:此字段可能返回 null,表示取不到有效值。
24692
+ # @type UploadMessage: String
24693
+ # @param ChannelApplyId: 渠道上传流水号
24694
+ # @type ChannelApplyId: String
24695
+
24696
+ attr_accessor :UploadStatus, :UploadMessage, :ChannelApplyId
24697
+
24698
+ def initialize(uploadstatus=nil, uploadmessage=nil, channelapplyid=nil)
24699
+ @UploadStatus = uploadstatus
24700
+ @UploadMessage = uploadmessage
24701
+ @ChannelApplyId = channelapplyid
24702
+ end
24703
+
24704
+ def deserialize(params)
24705
+ @UploadStatus = params['UploadStatus']
24706
+ @UploadMessage = params['UploadMessage']
24707
+ @ChannelApplyId = params['ChannelApplyId']
24708
+ end
24709
+ end
24710
+
23022
24711
  # UploadOrgFile请求参数结构体
23023
24712
  class UploadOrgFileRequest < TencentCloud::Common::AbstractModel
23024
24713
  # @param OpenId: 收单系统分配的开放ID