tencentcloud-sdk-cpdp 1.0.260 → 1.0.261
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190820/client.rb +288 -0
- data/lib/v20190820/models.rb +1857 -236
- metadata +2 -2
data/lib/v20190820/models.rb
CHANGED
@@ -1884,6 +1884,131 @@ module TencentCloud
|
|
1884
1884
|
end
|
1885
1885
|
end
|
1886
1886
|
|
1887
|
+
# BindOpenBankExternalSubMerchantBankAccount请求参数结构体
|
1888
|
+
class BindOpenBankExternalSubMerchantBankAccountRequest < TencentCloud::Common::AbstractModel
|
1889
|
+
# @param ChannelMerchantId: 渠道商户ID。
|
1890
|
+
# @type ChannelMerchantId: String
|
1891
|
+
# @param ChannelSubMerchantId: 渠道子商户ID。
|
1892
|
+
# @type ChannelSubMerchantId: String
|
1893
|
+
# @param ChannelName: 渠道名称。
|
1894
|
+
# __TENPAY__: 商企付
|
1895
|
+
# __WECHAT__: 微信支付
|
1896
|
+
# __ALIPAY__: 支付宝
|
1897
|
+
# @type ChannelName: String
|
1898
|
+
# @param PaymentMethod: 支付方式。
|
1899
|
+
# __EBANK_PAYMENT__: ebank支付
|
1900
|
+
# __OPENBANK_PAYMENT__: openbank支付
|
1901
|
+
# @type PaymentMethod: String
|
1902
|
+
# @param ExternalSubMerchantBindBankAccountData: 第三方渠道子商户收款方银行卡信息, 为JSON格式字符串。详情见附录-复杂类型。
|
1903
|
+
# @type ExternalSubMerchantBindBankAccountData: String
|
1904
|
+
# @param OutApplyId: 外部申请编号。
|
1905
|
+
# @type OutApplyId: String
|
1906
|
+
# @param NotifyUrl: 通知地址。
|
1907
|
+
# @type NotifyUrl: String
|
1908
|
+
# @param Environment: 环境类型。
|
1909
|
+
# __release__:生产环境
|
1910
|
+
# __sandbox__:沙箱环境
|
1911
|
+
# _不填默认为生产环境_
|
1912
|
+
# @type Environment: String
|
1913
|
+
|
1914
|
+
attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :ChannelName, :PaymentMethod, :ExternalSubMerchantBindBankAccountData, :OutApplyId, :NotifyUrl, :Environment
|
1915
|
+
|
1916
|
+
def initialize(channelmerchantid=nil, channelsubmerchantid=nil, channelname=nil, paymentmethod=nil, externalsubmerchantbindbankaccountdata=nil, outapplyid=nil, notifyurl=nil, environment=nil)
|
1917
|
+
@ChannelMerchantId = channelmerchantid
|
1918
|
+
@ChannelSubMerchantId = channelsubmerchantid
|
1919
|
+
@ChannelName = channelname
|
1920
|
+
@PaymentMethod = paymentmethod
|
1921
|
+
@ExternalSubMerchantBindBankAccountData = externalsubmerchantbindbankaccountdata
|
1922
|
+
@OutApplyId = outapplyid
|
1923
|
+
@NotifyUrl = notifyurl
|
1924
|
+
@Environment = environment
|
1925
|
+
end
|
1926
|
+
|
1927
|
+
def deserialize(params)
|
1928
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
1929
|
+
@ChannelSubMerchantId = params['ChannelSubMerchantId']
|
1930
|
+
@ChannelName = params['ChannelName']
|
1931
|
+
@PaymentMethod = params['PaymentMethod']
|
1932
|
+
@ExternalSubMerchantBindBankAccountData = params['ExternalSubMerchantBindBankAccountData']
|
1933
|
+
@OutApplyId = params['OutApplyId']
|
1934
|
+
@NotifyUrl = params['NotifyUrl']
|
1935
|
+
@Environment = params['Environment']
|
1936
|
+
end
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
# BindOpenBankExternalSubMerchantBankAccount返回参数结构体
|
1940
|
+
class BindOpenBankExternalSubMerchantBankAccountResponse < TencentCloud::Common::AbstractModel
|
1941
|
+
# @param ErrCode: 错误码。
|
1942
|
+
# __SUCCESS__: 成功
|
1943
|
+
# __其他__: 见附录-错误码表
|
1944
|
+
# @type ErrCode: String
|
1945
|
+
# @param ErrMessage: 错误消息。
|
1946
|
+
# @type ErrMessage: String
|
1947
|
+
# @param Result: 返回结果。
|
1948
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1949
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.BindOpenBankExternalSubMerchantBankAccountResult`
|
1950
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1951
|
+
# @type RequestId: String
|
1952
|
+
|
1953
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
1954
|
+
|
1955
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
1956
|
+
@ErrCode = errcode
|
1957
|
+
@ErrMessage = errmessage
|
1958
|
+
@Result = result
|
1959
|
+
@RequestId = requestid
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
def deserialize(params)
|
1963
|
+
@ErrCode = params['ErrCode']
|
1964
|
+
@ErrMessage = params['ErrMessage']
|
1965
|
+
unless params['Result'].nil?
|
1966
|
+
@Result = BindOpenBankExternalSubMerchantBankAccountResult.new
|
1967
|
+
@Result.deserialize(params['Result'])
|
1968
|
+
end
|
1969
|
+
@RequestId = params['RequestId']
|
1970
|
+
end
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
# 第三方子商户银行卡绑定返回结果
|
1974
|
+
class BindOpenBankExternalSubMerchantBankAccountResult < TencentCloud::Common::AbstractModel
|
1975
|
+
# @param ChannelApplyId: 渠道申请编号。
|
1976
|
+
# @type ChannelApplyId: String
|
1977
|
+
# @param BindStatus: 绑定状态。
|
1978
|
+
# __SUCCESS__: 绑定成功
|
1979
|
+
# __FAILED__: 绑定失败
|
1980
|
+
# __PROCESSING__: 绑定中。
|
1981
|
+
# 注意:若返回绑定中,需要再次调用绑定结果查询接口,查询结果。
|
1982
|
+
# @type BindStatus: String
|
1983
|
+
# @param BindMessage: 绑定返回描述, 例如失败原因等。
|
1984
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1985
|
+
# @type BindMessage: String
|
1986
|
+
# @param ExternalSubMerchantBankAccountReturnData: 渠道子商户银行账户信息, 为JSON格式字符串(绑定成功状态下返回)。详情见附录-复杂类型。
|
1987
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1988
|
+
# @type ExternalSubMerchantBankAccountReturnData: String
|
1989
|
+
# @param BindSerialNo: 绑卡序列号。
|
1990
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1991
|
+
# @type BindSerialNo: String
|
1992
|
+
|
1993
|
+
attr_accessor :ChannelApplyId, :BindStatus, :BindMessage, :ExternalSubMerchantBankAccountReturnData, :BindSerialNo
|
1994
|
+
|
1995
|
+
def initialize(channelapplyid=nil, bindstatus=nil, bindmessage=nil, externalsubmerchantbankaccountreturndata=nil, bindserialno=nil)
|
1996
|
+
@ChannelApplyId = channelapplyid
|
1997
|
+
@BindStatus = bindstatus
|
1998
|
+
@BindMessage = bindmessage
|
1999
|
+
@ExternalSubMerchantBankAccountReturnData = externalsubmerchantbankaccountreturndata
|
2000
|
+
@BindSerialNo = bindserialno
|
2001
|
+
end
|
2002
|
+
|
2003
|
+
def deserialize(params)
|
2004
|
+
@ChannelApplyId = params['ChannelApplyId']
|
2005
|
+
@BindStatus = params['BindStatus']
|
2006
|
+
@BindMessage = params['BindMessage']
|
2007
|
+
@ExternalSubMerchantBankAccountReturnData = params['ExternalSubMerchantBankAccountReturnData']
|
2008
|
+
@BindSerialNo = params['BindSerialNo']
|
2009
|
+
end
|
2010
|
+
end
|
2011
|
+
|
1887
2012
|
# BindRelateAccReUnionPay请求参数结构体
|
1888
2013
|
class BindRelateAccReUnionPayRequest < TencentCloud::Common::AbstractModel
|
1889
2014
|
# @param MrchCode: String(22),商户号(签约客户号)
|
@@ -2449,6 +2574,90 @@ module TencentCloud
|
|
2449
2574
|
end
|
2450
2575
|
end
|
2451
2576
|
|
2577
|
+
# CloseOpenBankPaymentOrder请求参数结构体
|
2578
|
+
class CloseOpenBankPaymentOrderRequest < TencentCloud::Common::AbstractModel
|
2579
|
+
# @param ChannelMerchantId: 渠道商户ID,云企付平台下发给外部接入平台。
|
2580
|
+
# @type ChannelMerchantId: String
|
2581
|
+
# @param OutOrderId: 外部商户订单号,与ChannelOrderId不能同时为空
|
2582
|
+
# @type OutOrderId: String
|
2583
|
+
# @param ChannelOrderId: 云企付平台订单号,与OutOrderId不能同时为空
|
2584
|
+
# @type ChannelOrderId: String
|
2585
|
+
# @param Environment: 接入环境。沙箱环境填 sandbox。缺省默认调用生产环境
|
2586
|
+
# @type Environment: String
|
2587
|
+
|
2588
|
+
attr_accessor :ChannelMerchantId, :OutOrderId, :ChannelOrderId, :Environment
|
2589
|
+
|
2590
|
+
def initialize(channelmerchantid=nil, outorderid=nil, channelorderid=nil, environment=nil)
|
2591
|
+
@ChannelMerchantId = channelmerchantid
|
2592
|
+
@OutOrderId = outorderid
|
2593
|
+
@ChannelOrderId = channelorderid
|
2594
|
+
@Environment = environment
|
2595
|
+
end
|
2596
|
+
|
2597
|
+
def deserialize(params)
|
2598
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
2599
|
+
@OutOrderId = params['OutOrderId']
|
2600
|
+
@ChannelOrderId = params['ChannelOrderId']
|
2601
|
+
@Environment = params['Environment']
|
2602
|
+
end
|
2603
|
+
end
|
2604
|
+
|
2605
|
+
# CloseOpenBankPaymentOrder返回参数结构体
|
2606
|
+
class CloseOpenBankPaymentOrderResponse < TencentCloud::Common::AbstractModel
|
2607
|
+
# @param ErrCode: 业务系统返回码,SUCCESS表示成功,其他表示失败。
|
2608
|
+
# @type ErrCode: String
|
2609
|
+
# @param ErrMessage: 业务系统返回消息
|
2610
|
+
# @type ErrMessage: String
|
2611
|
+
# @param Result: 关单响应对象
|
2612
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2613
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.CloseOpenBankPaymentOrderResult`
|
2614
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2615
|
+
# @type RequestId: String
|
2616
|
+
|
2617
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
2618
|
+
|
2619
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
2620
|
+
@ErrCode = errcode
|
2621
|
+
@ErrMessage = errmessage
|
2622
|
+
@Result = result
|
2623
|
+
@RequestId = requestid
|
2624
|
+
end
|
2625
|
+
|
2626
|
+
def deserialize(params)
|
2627
|
+
@ErrCode = params['ErrCode']
|
2628
|
+
@ErrMessage = params['ErrMessage']
|
2629
|
+
unless params['Result'].nil?
|
2630
|
+
@Result = CloseOpenBankPaymentOrderResult.new
|
2631
|
+
@Result.deserialize(params['Result'])
|
2632
|
+
end
|
2633
|
+
@RequestId = params['RequestId']
|
2634
|
+
end
|
2635
|
+
end
|
2636
|
+
|
2637
|
+
# 云企付-关单响应
|
2638
|
+
class CloseOpenBankPaymentOrderResult < TencentCloud::Common::AbstractModel
|
2639
|
+
# @param OutOrderId: 外部商户订单号
|
2640
|
+
# @type OutOrderId: String
|
2641
|
+
# @param ChannelOrderId: 云企付平台订单号
|
2642
|
+
# @type ChannelOrderId: String
|
2643
|
+
# @param OrderStatus: 订单状态。关单成功CLOSED
|
2644
|
+
# @type OrderStatus: String
|
2645
|
+
|
2646
|
+
attr_accessor :OutOrderId, :ChannelOrderId, :OrderStatus
|
2647
|
+
|
2648
|
+
def initialize(outorderid=nil, channelorderid=nil, orderstatus=nil)
|
2649
|
+
@OutOrderId = outorderid
|
2650
|
+
@ChannelOrderId = channelorderid
|
2651
|
+
@OrderStatus = orderstatus
|
2652
|
+
end
|
2653
|
+
|
2654
|
+
def deserialize(params)
|
2655
|
+
@OutOrderId = params['OutOrderId']
|
2656
|
+
@ChannelOrderId = params['ChannelOrderId']
|
2657
|
+
@OrderStatus = params['OrderStatus']
|
2658
|
+
end
|
2659
|
+
end
|
2660
|
+
|
2452
2661
|
# CloseOrder请求参数结构体
|
2453
2662
|
class CloseOrderRequest < TencentCloud::Common::AbstractModel
|
2454
2663
|
# @param MidasAppId: 聚鑫分配的支付主MidasAppId
|
@@ -4402,144 +4611,577 @@ module TencentCloud
|
|
4402
4611
|
end
|
4403
4612
|
end
|
4404
4613
|
|
4405
|
-
#
|
4406
|
-
class
|
4407
|
-
# @param
|
4408
|
-
# @type
|
4409
|
-
# @param
|
4410
|
-
# @type
|
4411
|
-
# @param
|
4412
|
-
# @type
|
4413
|
-
# @param
|
4414
|
-
#
|
4415
|
-
#
|
4614
|
+
# CreateOpenBankExternalSubMerchantRegistration请求参数结构体
|
4615
|
+
class CreateOpenBankExternalSubMerchantRegistrationRequest < TencentCloud::Common::AbstractModel
|
4616
|
+
# @param OutRegistrationNo: 外部进件序列号。
|
4617
|
+
# @type OutRegistrationNo: String
|
4618
|
+
# @param ChannelMerchantId: 渠道商户ID。
|
4619
|
+
# @type ChannelMerchantId: String
|
4620
|
+
# @param OutSubMerchantId: 外部子商户ID,平台侧商户唯一ID。
|
4621
|
+
# @type OutSubMerchantId: String
|
4622
|
+
# @param ChannelName: 渠道名称。
|
4623
|
+
# __TENPAY__: 商企付
|
4624
|
+
# __WECHAT__: 微信支付
|
4625
|
+
# __ALIPAY__: 支付宝
|
4626
|
+
# @type ChannelName: String
|
4627
|
+
# @param PaymentMethod: 支付方式。
|
4628
|
+
# __EBANK_PAYMENT__: ebank支付
|
4629
|
+
# __OPENBANK_PAYMENT__: openbank支付
|
4630
|
+
# @type PaymentMethod: String
|
4631
|
+
# @param BusinessLicenseNumber: 社会信用代码。
|
4632
|
+
# @type BusinessLicenseNumber: String
|
4633
|
+
# @param OutSubMerchantName: 外部子商户名称。
|
4634
|
+
# @type OutSubMerchantName: String
|
4635
|
+
# @param LegalName: 法人姓名。
|
4636
|
+
# @type LegalName: String
|
4637
|
+
# @param OutSubMerchantShortName: 外部子商户简称。
|
4638
|
+
# @type OutSubMerchantShortName: String
|
4639
|
+
# @param OutSubMerchantDescription: 外部子商户描述。
|
4640
|
+
# @type OutSubMerchantDescription: String
|
4641
|
+
# @param ExternalSubMerchantRegistrationData: 第三方子商户进件信息,为JSON格式字符串。详情见附录-复杂类型。
|
4642
|
+
# @type ExternalSubMerchantRegistrationData: String
|
4643
|
+
# @param NotifyUrl: 通知地址。
|
4416
4644
|
# @type NotifyUrl: String
|
4417
|
-
# @param
|
4418
|
-
#
|
4645
|
+
# @param Environment: 环境类型。
|
4646
|
+
# __release__:生产环境
|
4647
|
+
# __sandbox__:沙箱环境
|
4648
|
+
# _不填默认为生产环境_
|
4649
|
+
# @type Environment: String
|
4419
4650
|
|
4420
|
-
attr_accessor :
|
4651
|
+
attr_accessor :OutRegistrationNo, :ChannelMerchantId, :OutSubMerchantId, :ChannelName, :PaymentMethod, :BusinessLicenseNumber, :OutSubMerchantName, :LegalName, :OutSubMerchantShortName, :OutSubMerchantDescription, :ExternalSubMerchantRegistrationData, :NotifyUrl, :Environment
|
4421
4652
|
|
4422
|
-
def initialize(
|
4423
|
-
@
|
4424
|
-
@
|
4425
|
-
@
|
4426
|
-
@
|
4653
|
+
def initialize(outregistrationno=nil, channelmerchantid=nil, outsubmerchantid=nil, channelname=nil, paymentmethod=nil, businesslicensenumber=nil, outsubmerchantname=nil, legalname=nil, outsubmerchantshortname=nil, outsubmerchantdescription=nil, externalsubmerchantregistrationdata=nil, notifyurl=nil, environment=nil)
|
4654
|
+
@OutRegistrationNo = outregistrationno
|
4655
|
+
@ChannelMerchantId = channelmerchantid
|
4656
|
+
@OutSubMerchantId = outsubmerchantid
|
4657
|
+
@ChannelName = channelname
|
4658
|
+
@PaymentMethod = paymentmethod
|
4659
|
+
@BusinessLicenseNumber = businesslicensenumber
|
4660
|
+
@OutSubMerchantName = outsubmerchantname
|
4661
|
+
@LegalName = legalname
|
4662
|
+
@OutSubMerchantShortName = outsubmerchantshortname
|
4663
|
+
@OutSubMerchantDescription = outsubmerchantdescription
|
4664
|
+
@ExternalSubMerchantRegistrationData = externalsubmerchantregistrationdata
|
4427
4665
|
@NotifyUrl = notifyurl
|
4428
|
-
@
|
4666
|
+
@Environment = environment
|
4429
4667
|
end
|
4430
4668
|
|
4431
4669
|
def deserialize(params)
|
4432
|
-
@
|
4433
|
-
@
|
4434
|
-
@
|
4435
|
-
@
|
4670
|
+
@OutRegistrationNo = params['OutRegistrationNo']
|
4671
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
4672
|
+
@OutSubMerchantId = params['OutSubMerchantId']
|
4673
|
+
@ChannelName = params['ChannelName']
|
4674
|
+
@PaymentMethod = params['PaymentMethod']
|
4675
|
+
@BusinessLicenseNumber = params['BusinessLicenseNumber']
|
4676
|
+
@OutSubMerchantName = params['OutSubMerchantName']
|
4677
|
+
@LegalName = params['LegalName']
|
4678
|
+
@OutSubMerchantShortName = params['OutSubMerchantShortName']
|
4679
|
+
@OutSubMerchantDescription = params['OutSubMerchantDescription']
|
4680
|
+
@ExternalSubMerchantRegistrationData = params['ExternalSubMerchantRegistrationData']
|
4436
4681
|
@NotifyUrl = params['NotifyUrl']
|
4437
|
-
@
|
4682
|
+
@Environment = params['Environment']
|
4438
4683
|
end
|
4439
4684
|
end
|
4440
4685
|
|
4441
|
-
#
|
4442
|
-
class
|
4443
|
-
# @param
|
4444
|
-
#
|
4445
|
-
#
|
4446
|
-
# @type
|
4447
|
-
# @param
|
4448
|
-
# @type
|
4449
|
-
# @param
|
4450
|
-
#
|
4686
|
+
# CreateOpenBankExternalSubMerchantRegistration返回参数结构体
|
4687
|
+
class CreateOpenBankExternalSubMerchantRegistrationResponse < TencentCloud::Common::AbstractModel
|
4688
|
+
# @param ErrCode: 错误码。
|
4689
|
+
# __SUCCESS__: 成功
|
4690
|
+
# __其他__: 见附录-错误码表
|
4691
|
+
# @type ErrCode: String
|
4692
|
+
# @param ErrMessage: 错误消息。
|
4693
|
+
# @type ErrMessage: String
|
4694
|
+
# @param Result: 返回结果。
|
4695
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4696
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.CreateOpenBankExternalSubMerchantRegistrationResult`
|
4451
4697
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4452
4698
|
# @type RequestId: String
|
4453
4699
|
|
4454
|
-
attr_accessor :
|
4700
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
4455
4701
|
|
4456
|
-
def initialize(
|
4457
|
-
@
|
4458
|
-
@
|
4459
|
-
@
|
4460
|
-
@PayUrl = payurl
|
4702
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
4703
|
+
@ErrCode = errcode
|
4704
|
+
@ErrMessage = errmessage
|
4705
|
+
@Result = result
|
4461
4706
|
@RequestId = requestid
|
4462
4707
|
end
|
4463
4708
|
|
4464
4709
|
def deserialize(params)
|
4465
|
-
@
|
4466
|
-
@
|
4467
|
-
|
4468
|
-
|
4710
|
+
@ErrCode = params['ErrCode']
|
4711
|
+
@ErrMessage = params['ErrMessage']
|
4712
|
+
unless params['Result'].nil?
|
4713
|
+
@Result = CreateOpenBankExternalSubMerchantRegistrationResult.new
|
4714
|
+
@Result.deserialize(params['Result'])
|
4715
|
+
end
|
4469
4716
|
@RequestId = params['RequestId']
|
4470
4717
|
end
|
4471
4718
|
end
|
4472
4719
|
|
4473
|
-
#
|
4474
|
-
class
|
4475
|
-
# @param
|
4476
|
-
#
|
4477
|
-
#
|
4478
|
-
#
|
4479
|
-
#
|
4480
|
-
#
|
4481
|
-
# @
|
4482
|
-
#
|
4483
|
-
# @type
|
4484
|
-
# @param
|
4485
|
-
# @type
|
4720
|
+
# 子商户进件返回结果
|
4721
|
+
class CreateOpenBankExternalSubMerchantRegistrationResult < TencentCloud::Common::AbstractModel
|
4722
|
+
# @param RegistrationStatus: 进件状态。
|
4723
|
+
# __SUCCESS__: 进件成功
|
4724
|
+
# __FAILED__: 进件失败
|
4725
|
+
# __PROCESSING__: 进件中
|
4726
|
+
# 注意:若返回进件中,需要再次调用进件结果查询接口,查询结果。
|
4727
|
+
# @type RegistrationStatus: String
|
4728
|
+
# @param RegistrationMessage: 进件返回描述, 例如失败原因等。
|
4729
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4730
|
+
# @type RegistrationMessage: String
|
4731
|
+
# @param ChannelRegistrationNo: 渠道进件序列号。
|
4732
|
+
# @type ChannelRegistrationNo: String
|
4733
|
+
# @param ChannelSubMerchantId: 渠道子商户ID。
|
4734
|
+
# @type ChannelSubMerchantId: String
|
4735
|
+
# @param ExternalReturnData: 第三方渠道返回信息, 为JSON格式字符串。详情见附录-复杂类型。
|
4736
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4737
|
+
# @type ExternalReturnData: String
|
4486
4738
|
|
4487
|
-
attr_accessor :
|
4739
|
+
attr_accessor :RegistrationStatus, :RegistrationMessage, :ChannelRegistrationNo, :ChannelSubMerchantId, :ExternalReturnData
|
4488
4740
|
|
4489
|
-
def initialize(
|
4490
|
-
@
|
4491
|
-
@
|
4492
|
-
@
|
4493
|
-
@
|
4494
|
-
@
|
4741
|
+
def initialize(registrationstatus=nil, registrationmessage=nil, channelregistrationno=nil, channelsubmerchantid=nil, externalreturndata=nil)
|
4742
|
+
@RegistrationStatus = registrationstatus
|
4743
|
+
@RegistrationMessage = registrationmessage
|
4744
|
+
@ChannelRegistrationNo = channelregistrationno
|
4745
|
+
@ChannelSubMerchantId = channelsubmerchantid
|
4746
|
+
@ExternalReturnData = externalreturndata
|
4495
4747
|
end
|
4496
4748
|
|
4497
4749
|
def deserialize(params)
|
4498
|
-
@
|
4499
|
-
@
|
4500
|
-
@
|
4501
|
-
@
|
4502
|
-
@
|
4750
|
+
@RegistrationStatus = params['RegistrationStatus']
|
4751
|
+
@RegistrationMessage = params['RegistrationMessage']
|
4752
|
+
@ChannelRegistrationNo = params['ChannelRegistrationNo']
|
4753
|
+
@ChannelSubMerchantId = params['ChannelSubMerchantId']
|
4754
|
+
@ExternalReturnData = params['ExternalReturnData']
|
4503
4755
|
end
|
4504
4756
|
end
|
4505
4757
|
|
4506
|
-
#
|
4507
|
-
class
|
4508
|
-
# @param
|
4509
|
-
# @type
|
4758
|
+
# CreateOpenBankMerchant请求参数结构体
|
4759
|
+
class CreateOpenBankMerchantRequest < TencentCloud::Common::AbstractModel
|
4760
|
+
# @param OutMerchantId: 外部商户ID。
|
4761
|
+
# @type OutMerchantId: String
|
4762
|
+
# @param ChannelName: 渠道名称。
|
4763
|
+
# __TENPAY__: 商企付
|
4764
|
+
# __WECHAT__: 微信支付
|
4765
|
+
# __ALIPAY__: 支付宝
|
4766
|
+
# @type ChannelName: String
|
4767
|
+
# @param OutMerchantName: 外部商户名称。
|
4768
|
+
# @type OutMerchantName: String
|
4769
|
+
# @param ExternalMerchantInfo: 第三方渠道商户信息。详情见附录-复杂类型。
|
4770
|
+
# @type ExternalMerchantInfo: String
|
4771
|
+
# @param OutMerchantShortName: 外部商户简称。
|
4772
|
+
# @type OutMerchantShortName: String
|
4773
|
+
# @param OutMerchantDescription: 外部商户描述
|
4774
|
+
# @type OutMerchantDescription: String
|
4775
|
+
# @param Environment: 环境类型。
|
4776
|
+
# __release__:生产环境
|
4777
|
+
# __sandbox__:沙箱环境
|
4778
|
+
# _不填默认为生产环境_
|
4779
|
+
# @type Environment: String
|
4780
|
+
|
4781
|
+
attr_accessor :OutMerchantId, :ChannelName, :OutMerchantName, :ExternalMerchantInfo, :OutMerchantShortName, :OutMerchantDescription, :Environment
|
4782
|
+
|
4783
|
+
def initialize(outmerchantid=nil, channelname=nil, outmerchantname=nil, externalmerchantinfo=nil, outmerchantshortname=nil, outmerchantdescription=nil, environment=nil)
|
4784
|
+
@OutMerchantId = outmerchantid
|
4785
|
+
@ChannelName = channelname
|
4786
|
+
@OutMerchantName = outmerchantname
|
4787
|
+
@ExternalMerchantInfo = externalmerchantinfo
|
4788
|
+
@OutMerchantShortName = outmerchantshortname
|
4789
|
+
@OutMerchantDescription = outmerchantdescription
|
4790
|
+
@Environment = environment
|
4791
|
+
end
|
4792
|
+
|
4793
|
+
def deserialize(params)
|
4794
|
+
@OutMerchantId = params['OutMerchantId']
|
4795
|
+
@ChannelName = params['ChannelName']
|
4796
|
+
@OutMerchantName = params['OutMerchantName']
|
4797
|
+
@ExternalMerchantInfo = params['ExternalMerchantInfo']
|
4798
|
+
@OutMerchantShortName = params['OutMerchantShortName']
|
4799
|
+
@OutMerchantDescription = params['OutMerchantDescription']
|
4800
|
+
@Environment = params['Environment']
|
4801
|
+
end
|
4802
|
+
end
|
4803
|
+
|
4804
|
+
# CreateOpenBankMerchant返回参数结构体
|
4805
|
+
class CreateOpenBankMerchantResponse < TencentCloud::Common::AbstractModel
|
4806
|
+
# @param ErrCode: 错误码。
|
4807
|
+
# __SUCCESS__: 成功
|
4808
|
+
# __其他__: 见附录-错误码表
|
4809
|
+
# @type ErrCode: String
|
4810
|
+
# @param ErrMessage: 错误消息。
|
4811
|
+
# @type ErrMessage: String
|
4812
|
+
# @param Result: 返回结果。
|
4813
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4814
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.CreateOpenBankMerchantResult`
|
4510
4815
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4511
4816
|
# @type RequestId: String
|
4512
4817
|
|
4513
|
-
attr_accessor :
|
4818
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
4514
4819
|
|
4515
|
-
def initialize(
|
4516
|
-
@
|
4820
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
4821
|
+
@ErrCode = errcode
|
4822
|
+
@ErrMessage = errmessage
|
4823
|
+
@Result = result
|
4517
4824
|
@RequestId = requestid
|
4518
4825
|
end
|
4519
4826
|
|
4520
4827
|
def deserialize(params)
|
4521
|
-
@
|
4828
|
+
@ErrCode = params['ErrCode']
|
4829
|
+
@ErrMessage = params['ErrMessage']
|
4830
|
+
unless params['Result'].nil?
|
4831
|
+
@Result = CreateOpenBankMerchantResult.new
|
4832
|
+
@Result.deserialize(params['Result'])
|
4833
|
+
end
|
4522
4834
|
@RequestId = params['RequestId']
|
4523
4835
|
end
|
4524
4836
|
end
|
4525
4837
|
|
4526
|
-
#
|
4527
|
-
class
|
4528
|
-
# @param
|
4529
|
-
# @type
|
4530
|
-
# @param CallbackUrl: 发票结果回传地址
|
4531
|
-
# @type CallbackUrl: String
|
4532
|
-
# @param OrderSn: 业务开票号
|
4533
|
-
# @type OrderSn: String
|
4534
|
-
# @param RedSerialNo: 红字信息表编码
|
4535
|
-
# @type RedSerialNo: String
|
4536
|
-
# @param StoreNo: 门店编号
|
4537
|
-
# @type StoreNo: String
|
4838
|
+
# 创建渠道商户返回结果
|
4839
|
+
class CreateOpenBankMerchantResult < TencentCloud::Common::AbstractModel
|
4840
|
+
# @param ChannelMerchantId: 渠道商户ID。
|
4841
|
+
# @type ChannelMerchantId: String
|
4538
4842
|
|
4539
|
-
attr_accessor :
|
4843
|
+
attr_accessor :ChannelMerchantId
|
4540
4844
|
|
4541
|
-
def initialize(
|
4542
|
-
@
|
4845
|
+
def initialize(channelmerchantid=nil)
|
4846
|
+
@ChannelMerchantId = channelmerchantid
|
4847
|
+
end
|
4848
|
+
|
4849
|
+
def deserialize(params)
|
4850
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
4851
|
+
end
|
4852
|
+
end
|
4853
|
+
|
4854
|
+
# 云企付-支付下单返回响应
|
4855
|
+
class CreateOpenBankOrderPaymentResult < TencentCloud::Common::AbstractModel
|
4856
|
+
# @param ChannelOrderId: 云企付平台订单号。
|
4857
|
+
# @type ChannelOrderId: String
|
4858
|
+
# @param ThirdPayOrderId: 第三方支付平台返回支付订单号。
|
4859
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4860
|
+
# @type ThirdPayOrderId: String
|
4861
|
+
# @param RedirectInfo: 小程序跳转参数
|
4862
|
+
# 渠道为TENPAY,付款方式为EBANK_PAYMENT时必选。
|
4863
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4864
|
+
# @type RedirectInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankRedirectInfo`
|
4865
|
+
# @param OutOrderId: 外部商户订单号,只能是数字、大小写字母,且在同一个接入平台下唯一。
|
4866
|
+
# @type OutOrderId: String
|
4867
|
+
|
4868
|
+
attr_accessor :ChannelOrderId, :ThirdPayOrderId, :RedirectInfo, :OutOrderId
|
4869
|
+
|
4870
|
+
def initialize(channelorderid=nil, thirdpayorderid=nil, redirectinfo=nil, outorderid=nil)
|
4871
|
+
@ChannelOrderId = channelorderid
|
4872
|
+
@ThirdPayOrderId = thirdpayorderid
|
4873
|
+
@RedirectInfo = redirectinfo
|
4874
|
+
@OutOrderId = outorderid
|
4875
|
+
end
|
4876
|
+
|
4877
|
+
def deserialize(params)
|
4878
|
+
@ChannelOrderId = params['ChannelOrderId']
|
4879
|
+
@ThirdPayOrderId = params['ThirdPayOrderId']
|
4880
|
+
unless params['RedirectInfo'].nil?
|
4881
|
+
@RedirectInfo = OpenBankRedirectInfo.new
|
4882
|
+
@RedirectInfo.deserialize(params['RedirectInfo'])
|
4883
|
+
end
|
4884
|
+
@OutOrderId = params['OutOrderId']
|
4885
|
+
end
|
4886
|
+
end
|
4887
|
+
|
4888
|
+
# CreateOpenBankPaymentOrder请求参数结构体
|
4889
|
+
class CreateOpenBankPaymentOrderRequest < TencentCloud::Common::AbstractModel
|
4890
|
+
# @param ChannelMerchantId: 云企付渠道商户号。外部接入平台入驻云企付平台后下发。
|
4891
|
+
# @type ChannelMerchantId: String
|
4892
|
+
# @param ChannelName: 渠道名称。
|
4893
|
+
# __TENPAY__: 商企付
|
4894
|
+
# __WECHAT__: 微信支付
|
4895
|
+
# __ALIPAY__: 支付宝
|
4896
|
+
# @type ChannelName: String
|
4897
|
+
# @param PaymentMethod: 付款方式。如
|
4898
|
+
# __EBANK_PAYMENT__:B2B EBank付款
|
4899
|
+
# __OPENBANK_PAYMENT__:B2C openbank付款
|
4900
|
+
# @type PaymentMethod: String
|
4901
|
+
# @param PaymentMode: 付款模式。默认直接支付,如
|
4902
|
+
# __DIRECT__:直接支付
|
4903
|
+
# __FREEZE__:担保支付
|
4904
|
+
# @type PaymentMode: String
|
4905
|
+
# @param OutOrderId: 外部订单号,只能是数字、大小写字母,且在同一个接入平台下唯一,限定长度40位。
|
4906
|
+
# @type OutOrderId: String
|
4907
|
+
# @param TotalAmount: 付款金额,单位分。
|
4908
|
+
# @type TotalAmount: Integer
|
4909
|
+
# @param Currency: 固定值CNY。
|
4910
|
+
# @type Currency: String
|
4911
|
+
# @param PayerInfo: 付款方信息。
|
4912
|
+
# @type PayerInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankPayerInfo`
|
4913
|
+
# @param PayeeInfo: 收款方信息。
|
4914
|
+
# @type PayeeInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankPayeeInfo`
|
4915
|
+
# @param NotifyUrl: 通知地址,如www.test.com。
|
4916
|
+
# @type NotifyUrl: String
|
4917
|
+
# @param ExpireTime: 订单过期时间,yyyy-MM-dd HH:mm:ss格式。
|
4918
|
+
# @type ExpireTime: String
|
4919
|
+
# @param FrontUrl: 前端成功回调URL。条件可选
|
4920
|
+
# 当付款方式PaymentMethod为EBANK_PAYMENT时必填
|
4921
|
+
# @type FrontUrl: String
|
4922
|
+
# @param RefreshUrl: 前端刷新 URL。条件可选
|
4923
|
+
# 当付款方式PaymentMethod为EBANK_PAYMENT时必填
|
4924
|
+
# @type RefreshUrl: String
|
4925
|
+
# @param SceneInfo: 设备信息,条件可选。
|
4926
|
+
# @type SceneInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankSceneInfo`
|
4927
|
+
# @param GoodsInfo: 商品信息,条件可选。
|
4928
|
+
# @type GoodsInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankGoodsInfo`
|
4929
|
+
# @param Attachment: 附加信息,查询时原样返回。
|
4930
|
+
# @type Attachment: String
|
4931
|
+
# @param ProfitShareFlag: 若不上传,即使用默认值无需分润
|
4932
|
+
# __NO_NEED_SHARE__:无需分润;
|
4933
|
+
# __SHARE_BY_INFO__:分润时指定金额,此时如果分润信息 ProfitShareInfo为空,只冻结,不分账给其他商户;需要调用解冻接口。
|
4934
|
+
# __SHARE_BY_API__:后续调用分润接口决定分润金额
|
4935
|
+
# @type ProfitShareFlag: String
|
4936
|
+
# @param ProfitShareInfoList: 分润信息,配合ProfitShareFlag使用。
|
4937
|
+
# @type ProfitShareInfoList: Array
|
4938
|
+
# @param Remark: 备注信息。
|
4939
|
+
# @type Remark: String
|
4940
|
+
# @param Environment: 环境类型
|
4941
|
+
# __release__:生产环境
|
4942
|
+
# __sandbox__:沙箱环境
|
4943
|
+
# 缺省默认为生产环境
|
4944
|
+
# @type Environment: String
|
4945
|
+
|
4946
|
+
attr_accessor :ChannelMerchantId, :ChannelName, :PaymentMethod, :PaymentMode, :OutOrderId, :TotalAmount, :Currency, :PayerInfo, :PayeeInfo, :NotifyUrl, :ExpireTime, :FrontUrl, :RefreshUrl, :SceneInfo, :GoodsInfo, :Attachment, :ProfitShareFlag, :ProfitShareInfoList, :Remark, :Environment
|
4947
|
+
|
4948
|
+
def initialize(channelmerchantid=nil, channelname=nil, paymentmethod=nil, paymentmode=nil, outorderid=nil, totalamount=nil, currency=nil, payerinfo=nil, payeeinfo=nil, notifyurl=nil, expiretime=nil, fronturl=nil, refreshurl=nil, sceneinfo=nil, goodsinfo=nil, attachment=nil, profitshareflag=nil, profitshareinfolist=nil, remark=nil, environment=nil)
|
4949
|
+
@ChannelMerchantId = channelmerchantid
|
4950
|
+
@ChannelName = channelname
|
4951
|
+
@PaymentMethod = paymentmethod
|
4952
|
+
@PaymentMode = paymentmode
|
4953
|
+
@OutOrderId = outorderid
|
4954
|
+
@TotalAmount = totalamount
|
4955
|
+
@Currency = currency
|
4956
|
+
@PayerInfo = payerinfo
|
4957
|
+
@PayeeInfo = payeeinfo
|
4958
|
+
@NotifyUrl = notifyurl
|
4959
|
+
@ExpireTime = expiretime
|
4960
|
+
@FrontUrl = fronturl
|
4961
|
+
@RefreshUrl = refreshurl
|
4962
|
+
@SceneInfo = sceneinfo
|
4963
|
+
@GoodsInfo = goodsinfo
|
4964
|
+
@Attachment = attachment
|
4965
|
+
@ProfitShareFlag = profitshareflag
|
4966
|
+
@ProfitShareInfoList = profitshareinfolist
|
4967
|
+
@Remark = remark
|
4968
|
+
@Environment = environment
|
4969
|
+
end
|
4970
|
+
|
4971
|
+
def deserialize(params)
|
4972
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
4973
|
+
@ChannelName = params['ChannelName']
|
4974
|
+
@PaymentMethod = params['PaymentMethod']
|
4975
|
+
@PaymentMode = params['PaymentMode']
|
4976
|
+
@OutOrderId = params['OutOrderId']
|
4977
|
+
@TotalAmount = params['TotalAmount']
|
4978
|
+
@Currency = params['Currency']
|
4979
|
+
unless params['PayerInfo'].nil?
|
4980
|
+
@PayerInfo = OpenBankPayerInfo.new
|
4981
|
+
@PayerInfo.deserialize(params['PayerInfo'])
|
4982
|
+
end
|
4983
|
+
unless params['PayeeInfo'].nil?
|
4984
|
+
@PayeeInfo = OpenBankPayeeInfo.new
|
4985
|
+
@PayeeInfo.deserialize(params['PayeeInfo'])
|
4986
|
+
end
|
4987
|
+
@NotifyUrl = params['NotifyUrl']
|
4988
|
+
@ExpireTime = params['ExpireTime']
|
4989
|
+
@FrontUrl = params['FrontUrl']
|
4990
|
+
@RefreshUrl = params['RefreshUrl']
|
4991
|
+
unless params['SceneInfo'].nil?
|
4992
|
+
@SceneInfo = OpenBankSceneInfo.new
|
4993
|
+
@SceneInfo.deserialize(params['SceneInfo'])
|
4994
|
+
end
|
4995
|
+
unless params['GoodsInfo'].nil?
|
4996
|
+
@GoodsInfo = OpenBankGoodsInfo.new
|
4997
|
+
@GoodsInfo.deserialize(params['GoodsInfo'])
|
4998
|
+
end
|
4999
|
+
@Attachment = params['Attachment']
|
5000
|
+
@ProfitShareFlag = params['ProfitShareFlag']
|
5001
|
+
unless params['ProfitShareInfoList'].nil?
|
5002
|
+
@ProfitShareInfoList = []
|
5003
|
+
params['ProfitShareInfoList'].each do |i|
|
5004
|
+
openbankprofitshareinfo_tmp = OpenBankProfitShareInfo.new
|
5005
|
+
openbankprofitshareinfo_tmp.deserialize(i)
|
5006
|
+
@ProfitShareInfoList << openbankprofitshareinfo_tmp
|
5007
|
+
end
|
5008
|
+
end
|
5009
|
+
@Remark = params['Remark']
|
5010
|
+
@Environment = params['Environment']
|
5011
|
+
end
|
5012
|
+
end
|
5013
|
+
|
5014
|
+
# CreateOpenBankPaymentOrder返回参数结构体
|
5015
|
+
class CreateOpenBankPaymentOrderResponse < TencentCloud::Common::AbstractModel
|
5016
|
+
# @param ErrCode: 业务系统返回码,SUCCESS表示成功,其他表示失败。
|
5017
|
+
# @type ErrCode: String
|
5018
|
+
# @param ErrMessage: 业务系统返回消息。
|
5019
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5020
|
+
# @type ErrMessage: String
|
5021
|
+
# @param Result: 统一下单响应对象。
|
5022
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5023
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.CreateOpenBankOrderPaymentResult`
|
5024
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5025
|
+
# @type RequestId: String
|
5026
|
+
|
5027
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
5028
|
+
|
5029
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
5030
|
+
@ErrCode = errcode
|
5031
|
+
@ErrMessage = errmessage
|
5032
|
+
@Result = result
|
5033
|
+
@RequestId = requestid
|
5034
|
+
end
|
5035
|
+
|
5036
|
+
def deserialize(params)
|
5037
|
+
@ErrCode = params['ErrCode']
|
5038
|
+
@ErrMessage = params['ErrMessage']
|
5039
|
+
unless params['Result'].nil?
|
5040
|
+
@Result = CreateOpenBankOrderPaymentResult.new
|
5041
|
+
@Result.deserialize(params['Result'])
|
5042
|
+
end
|
5043
|
+
@RequestId = params['RequestId']
|
5044
|
+
end
|
5045
|
+
end
|
5046
|
+
|
5047
|
+
# CreateOrder请求参数结构体
|
5048
|
+
class CreateOrderRequest < TencentCloud::Common::AbstractModel
|
5049
|
+
# @param ChannelCode: 渠道编号。ZSB2B:招商银行B2B。
|
5050
|
+
# @type ChannelCode: String
|
5051
|
+
# @param MerchantAppId: 进件成功后返给商户方的 AppId。
|
5052
|
+
# @type MerchantAppId: String
|
5053
|
+
# @param Amount: 交易金额。单位:元
|
5054
|
+
# @type Amount: String
|
5055
|
+
# @param TraceNo: 商户流水号。商户唯一订单号由字母或数字组成。
|
5056
|
+
# @type TraceNo: String
|
5057
|
+
# @param NotifyUrl: 通知地址。商户接收交易结果的通知地址。
|
5058
|
+
# @type NotifyUrl: String
|
5059
|
+
# @param ReturnUrl: 返回地址。支付成功后,页面将跳 转返回到商户的该地址。
|
5060
|
+
# @type ReturnUrl: String
|
5061
|
+
|
5062
|
+
attr_accessor :ChannelCode, :MerchantAppId, :Amount, :TraceNo, :NotifyUrl, :ReturnUrl
|
5063
|
+
|
5064
|
+
def initialize(channelcode=nil, merchantappid=nil, amount=nil, traceno=nil, notifyurl=nil, returnurl=nil)
|
5065
|
+
@ChannelCode = channelcode
|
5066
|
+
@MerchantAppId = merchantappid
|
5067
|
+
@Amount = amount
|
5068
|
+
@TraceNo = traceno
|
5069
|
+
@NotifyUrl = notifyurl
|
5070
|
+
@ReturnUrl = returnurl
|
5071
|
+
end
|
5072
|
+
|
5073
|
+
def deserialize(params)
|
5074
|
+
@ChannelCode = params['ChannelCode']
|
5075
|
+
@MerchantAppId = params['MerchantAppId']
|
5076
|
+
@Amount = params['Amount']
|
5077
|
+
@TraceNo = params['TraceNo']
|
5078
|
+
@NotifyUrl = params['NotifyUrl']
|
5079
|
+
@ReturnUrl = params['ReturnUrl']
|
5080
|
+
end
|
5081
|
+
end
|
5082
|
+
|
5083
|
+
# CreateOrder返回参数结构体
|
5084
|
+
class CreateOrderResponse < TencentCloud::Common::AbstractModel
|
5085
|
+
# @param MerchantAppId: 进件成功后返给商户方的AppId。
|
5086
|
+
# @type MerchantAppId: String
|
5087
|
+
# @param TraceNo: 商户流水号,商户唯一订单号由字母或数字组成。
|
5088
|
+
# @type TraceNo: String
|
5089
|
+
# @param OrderNo: 平台流水号,若下单成功则返回。
|
5090
|
+
# @type OrderNo: String
|
5091
|
+
# @param PayUrl: 支付页面跳转地址,若下单成功则返回。
|
5092
|
+
# @type PayUrl: String
|
5093
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5094
|
+
# @type RequestId: String
|
5095
|
+
|
5096
|
+
attr_accessor :MerchantAppId, :TraceNo, :OrderNo, :PayUrl, :RequestId
|
5097
|
+
|
5098
|
+
def initialize(merchantappid=nil, traceno=nil, orderno=nil, payurl=nil, requestid=nil)
|
5099
|
+
@MerchantAppId = merchantappid
|
5100
|
+
@TraceNo = traceno
|
5101
|
+
@OrderNo = orderno
|
5102
|
+
@PayUrl = payurl
|
5103
|
+
@RequestId = requestid
|
5104
|
+
end
|
5105
|
+
|
5106
|
+
def deserialize(params)
|
5107
|
+
@MerchantAppId = params['MerchantAppId']
|
5108
|
+
@TraceNo = params['TraceNo']
|
5109
|
+
@OrderNo = params['OrderNo']
|
5110
|
+
@PayUrl = params['PayUrl']
|
5111
|
+
@RequestId = params['RequestId']
|
5112
|
+
end
|
5113
|
+
end
|
5114
|
+
|
5115
|
+
# CreatePayMerchant请求参数结构体
|
5116
|
+
class CreatePayMerchantRequest < TencentCloud::Common::AbstractModel
|
5117
|
+
# @param PlatformCode: 平台编号
|
5118
|
+
# @type PlatformCode: String
|
5119
|
+
# @param ChannelMerchantNo: 渠道方收款商户编号,由渠道方(银行)提 供。
|
5120
|
+
# @type ChannelMerchantNo: String
|
5121
|
+
# @param ChannelCheckFlag: 是否需要向渠道进行 商户信息验证 1:验证
|
5122
|
+
# 0:不验证
|
5123
|
+
# @type ChannelCheckFlag: String
|
5124
|
+
# @param MerchantName: 收款商户名称
|
5125
|
+
# @type MerchantName: String
|
5126
|
+
# @param BusinessPayFlag: 是否开通 B2B 支付 1:开通 0:不开通 缺省:1
|
5127
|
+
# @type BusinessPayFlag: String
|
5128
|
+
|
5129
|
+
attr_accessor :PlatformCode, :ChannelMerchantNo, :ChannelCheckFlag, :MerchantName, :BusinessPayFlag
|
5130
|
+
|
5131
|
+
def initialize(platformcode=nil, channelmerchantno=nil, channelcheckflag=nil, merchantname=nil, businesspayflag=nil)
|
5132
|
+
@PlatformCode = platformcode
|
5133
|
+
@ChannelMerchantNo = channelmerchantno
|
5134
|
+
@ChannelCheckFlag = channelcheckflag
|
5135
|
+
@MerchantName = merchantname
|
5136
|
+
@BusinessPayFlag = businesspayflag
|
5137
|
+
end
|
5138
|
+
|
5139
|
+
def deserialize(params)
|
5140
|
+
@PlatformCode = params['PlatformCode']
|
5141
|
+
@ChannelMerchantNo = params['ChannelMerchantNo']
|
5142
|
+
@ChannelCheckFlag = params['ChannelCheckFlag']
|
5143
|
+
@MerchantName = params['MerchantName']
|
5144
|
+
@BusinessPayFlag = params['BusinessPayFlag']
|
5145
|
+
end
|
5146
|
+
end
|
5147
|
+
|
5148
|
+
# CreatePayMerchant返回参数结构体
|
5149
|
+
class CreatePayMerchantResponse < TencentCloud::Common::AbstractModel
|
5150
|
+
# @param MerchantAppId: 分配给商户的 AppId。该 AppId 为后续各项 交易的商户标识。
|
5151
|
+
# @type MerchantAppId: String
|
5152
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5153
|
+
# @type RequestId: String
|
5154
|
+
|
5155
|
+
attr_accessor :MerchantAppId, :RequestId
|
5156
|
+
|
5157
|
+
def initialize(merchantappid=nil, requestid=nil)
|
5158
|
+
@MerchantAppId = merchantappid
|
5159
|
+
@RequestId = requestid
|
5160
|
+
end
|
5161
|
+
|
5162
|
+
def deserialize(params)
|
5163
|
+
@MerchantAppId = params['MerchantAppId']
|
5164
|
+
@RequestId = params['RequestId']
|
5165
|
+
end
|
5166
|
+
end
|
5167
|
+
|
5168
|
+
# 创建红票明细
|
5169
|
+
class CreateRedInvoiceItem < TencentCloud::Common::AbstractModel
|
5170
|
+
# @param OrderId: 订单号
|
5171
|
+
# @type OrderId: String
|
5172
|
+
# @param CallbackUrl: 发票结果回传地址
|
5173
|
+
# @type CallbackUrl: String
|
5174
|
+
# @param OrderSn: 业务开票号
|
5175
|
+
# @type OrderSn: String
|
5176
|
+
# @param RedSerialNo: 红字信息表编码
|
5177
|
+
# @type RedSerialNo: String
|
5178
|
+
# @param StoreNo: 门店编号
|
5179
|
+
# @type StoreNo: String
|
5180
|
+
|
5181
|
+
attr_accessor :OrderId, :CallbackUrl, :OrderSn, :RedSerialNo, :StoreNo
|
5182
|
+
|
5183
|
+
def initialize(orderid=nil, callbackurl=nil, ordersn=nil, redserialno=nil, storeno=nil)
|
5184
|
+
@OrderId = orderid
|
4543
5185
|
@CallbackUrl = callbackurl
|
4544
5186
|
@OrderSn = ordersn
|
4545
5187
|
@RedSerialNo = redserialno
|
@@ -7279,43 +7921,214 @@ module TencentCloud
|
|
7279
7921
|
end
|
7280
7922
|
end
|
7281
7923
|
|
7282
|
-
#
|
7283
|
-
class
|
7284
|
-
# @param
|
7285
|
-
#
|
7286
|
-
# @
|
7287
|
-
# @
|
7288
|
-
#
|
7289
|
-
# @type
|
7290
|
-
# @param SellerName: 销方名称
|
7291
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7292
|
-
# @type SellerName: String
|
7293
|
-
# @param InvoiceType: 发票类型
|
7294
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7295
|
-
# @type InvoiceType: Integer
|
7296
|
-
# @param Name: 默认“”
|
7297
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7298
|
-
# @type Name: String
|
7299
|
-
# @param Amount: 支付金额
|
7300
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7301
|
-
# @type Amount: Float
|
7302
|
-
# @param OrderDate: 下单日期
|
7303
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7304
|
-
# @type OrderDate: String
|
7305
|
-
# @param OrderId: 订单号
|
7306
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7307
|
-
# @type OrderId: String
|
7308
|
-
# @param StoreNo: 门店号
|
7309
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7310
|
-
# @type StoreNo: String
|
7311
|
-
# @param Items: 明细
|
7312
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7313
|
-
# @type Items: Array
|
7924
|
+
# 云企付-商品信息
|
7925
|
+
class OpenBankGoodsInfo < TencentCloud::Common::AbstractModel
|
7926
|
+
# @param GoodsName: 商品名称,默认值“商品支付”
|
7927
|
+
# @type GoodsName: String
|
7928
|
+
# @param GoodsDetail: 商品详细描述(商品列表)
|
7929
|
+
# @type GoodsDetail: String
|
7930
|
+
# @param GoodsDescription: 商品简单描述。需传入应用市场上的 APP 名字-实际商品名称,例如:天天爱消除-游戏充值
|
7931
|
+
# @type GoodsDescription: String
|
7314
7932
|
|
7315
|
-
attr_accessor :
|
7933
|
+
attr_accessor :GoodsName, :GoodsDetail, :GoodsDescription
|
7316
7934
|
|
7317
|
-
def initialize(
|
7318
|
-
@
|
7935
|
+
def initialize(goodsname=nil, goodsdetail=nil, goodsdescription=nil)
|
7936
|
+
@GoodsName = goodsname
|
7937
|
+
@GoodsDetail = goodsdetail
|
7938
|
+
@GoodsDescription = goodsdescription
|
7939
|
+
end
|
7940
|
+
|
7941
|
+
def deserialize(params)
|
7942
|
+
@GoodsName = params['GoodsName']
|
7943
|
+
@GoodsDetail = params['GoodsDetail']
|
7944
|
+
@GoodsDescription = params['GoodsDescription']
|
7945
|
+
end
|
7946
|
+
end
|
7947
|
+
|
7948
|
+
# 云企付-收款人信息
|
7949
|
+
class OpenBankPayeeInfo < TencentCloud::Common::AbstractModel
|
7950
|
+
# @param PayeeId: 收款方唯一标识。当渠道为TENPAY,付款方式为EBANK_PAYMENT,必填,上送收款方入驻云企付商户ID;付款方式为OPENBANK_PAYMENT时,非必填,输入外部收款方的标识ID
|
7951
|
+
# @type PayeeId: String
|
7952
|
+
# @param PayeeName: 收款方名称。当渠道为TENPAY,付款方式为EBANK_PAYMENT时,上送收款方入驻云企付的商户名称;
|
7953
|
+
# 渠道为TENPAY,付款方式为OPENBANK_PAYMENT时必选,上送收款方账户名称
|
7954
|
+
# @type PayeeName: String
|
7955
|
+
# @param BankAccountNumber: 银行账号。渠道为TENPAY,付款方式为OPENBANK_PAYMENT时必选
|
7956
|
+
# @type BankAccountNumber: String
|
7957
|
+
# @param BankBranchName: 支行名称。
|
7958
|
+
# @type BankBranchName: String
|
7959
|
+
# @param BankBranchId: 联行号。渠道为TENPAY,付款方式为OPENBANK_PAYMENT时必选
|
7960
|
+
# @type BankBranchId: String
|
7961
|
+
|
7962
|
+
attr_accessor :PayeeId, :PayeeName, :BankAccountNumber, :BankBranchName, :BankBranchId
|
7963
|
+
|
7964
|
+
def initialize(payeeid=nil, payeename=nil, bankaccountnumber=nil, bankbranchname=nil, bankbranchid=nil)
|
7965
|
+
@PayeeId = payeeid
|
7966
|
+
@PayeeName = payeename
|
7967
|
+
@BankAccountNumber = bankaccountnumber
|
7968
|
+
@BankBranchName = bankbranchname
|
7969
|
+
@BankBranchId = bankbranchid
|
7970
|
+
end
|
7971
|
+
|
7972
|
+
def deserialize(params)
|
7973
|
+
@PayeeId = params['PayeeId']
|
7974
|
+
@PayeeName = params['PayeeName']
|
7975
|
+
@BankAccountNumber = params['BankAccountNumber']
|
7976
|
+
@BankBranchName = params['BankBranchName']
|
7977
|
+
@BankBranchId = params['BankBranchId']
|
7978
|
+
end
|
7979
|
+
end
|
7980
|
+
|
7981
|
+
# 云企付-付款人信息
|
7982
|
+
class OpenBankPayerInfo < TencentCloud::Common::AbstractModel
|
7983
|
+
# @param PayerId: 付款方唯一标识。当TENPAY时,必填上送
|
7984
|
+
# 付款方入驻云企付商户ID。
|
7985
|
+
# @type PayerId: String
|
7986
|
+
# @param PayerName: 付款方名称。当TENPAY上送付款方入驻云企付的商户名称。
|
7987
|
+
# @type PayerName: String
|
7988
|
+
# @param BindSerialNo: 付款方付款账户标识,当付款方式为OPENBANK_PAYMENT时,必输表示企业账户ID。
|
7989
|
+
# @type BindSerialNo: String
|
7990
|
+
|
7991
|
+
attr_accessor :PayerId, :PayerName, :BindSerialNo
|
7992
|
+
|
7993
|
+
def initialize(payerid=nil, payername=nil, bindserialno=nil)
|
7994
|
+
@PayerId = payerid
|
7995
|
+
@PayerName = payername
|
7996
|
+
@BindSerialNo = bindserialno
|
7997
|
+
end
|
7998
|
+
|
7999
|
+
def deserialize(params)
|
8000
|
+
@PayerId = params['PayerId']
|
8001
|
+
@PayerName = params['PayerName']
|
8002
|
+
@BindSerialNo = params['BindSerialNo']
|
8003
|
+
end
|
8004
|
+
end
|
8005
|
+
|
8006
|
+
# 云企付-分润信息
|
8007
|
+
class OpenBankProfitShareInfo < TencentCloud::Common::AbstractModel
|
8008
|
+
# @param RecvId: 分润接收方,渠道商户号ID
|
8009
|
+
# @type RecvId: String
|
8010
|
+
# @param ProfitShareFee: 分润金额,单位分
|
8011
|
+
# @type ProfitShareFee: Integer
|
8012
|
+
|
8013
|
+
attr_accessor :RecvId, :ProfitShareFee
|
8014
|
+
|
8015
|
+
def initialize(recvid=nil, profitsharefee=nil)
|
8016
|
+
@RecvId = recvid
|
8017
|
+
@ProfitShareFee = profitsharefee
|
8018
|
+
end
|
8019
|
+
|
8020
|
+
def deserialize(params)
|
8021
|
+
@RecvId = params['RecvId']
|
8022
|
+
@ProfitShareFee = params['ProfitShareFee']
|
8023
|
+
end
|
8024
|
+
end
|
8025
|
+
|
8026
|
+
# 云企付-跳转参数,用于小程序前端跳转
|
8027
|
+
class OpenBankRedirectInfo < TencentCloud::Common::AbstractModel
|
8028
|
+
# @param QRCodeUrl: 生成二维码,引导用户扫码
|
8029
|
+
# @type QRCodeUrl: String
|
8030
|
+
# @param QRCodeKey: 二维码凭证
|
8031
|
+
# @type QRCodeKey: String
|
8032
|
+
# @param Url: 跳转 URL,用于客户端跳转,订单未支付时返回该参数
|
8033
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8034
|
+
# @type Url: String
|
8035
|
+
# @param ExpireTime: 跳转凭证过期时间,yyyy-MM-dd HH:mm:ss
|
8036
|
+
# @type ExpireTime: String
|
8037
|
+
# @param MpAppId: 小程序 appid
|
8038
|
+
# @type MpAppId: String
|
8039
|
+
# @param MpPath: 小程序路径
|
8040
|
+
# @type MpPath: String
|
8041
|
+
# @param MpUserName: 小程序原始 id
|
8042
|
+
# @type MpUserName: String
|
8043
|
+
|
8044
|
+
attr_accessor :QRCodeUrl, :QRCodeKey, :Url, :ExpireTime, :MpAppId, :MpPath, :MpUserName
|
8045
|
+
|
8046
|
+
def initialize(qrcodeurl=nil, qrcodekey=nil, url=nil, expiretime=nil, mpappid=nil, mppath=nil, mpusername=nil)
|
8047
|
+
@QRCodeUrl = qrcodeurl
|
8048
|
+
@QRCodeKey = qrcodekey
|
8049
|
+
@Url = url
|
8050
|
+
@ExpireTime = expiretime
|
8051
|
+
@MpAppId = mpappid
|
8052
|
+
@MpPath = mppath
|
8053
|
+
@MpUserName = mpusername
|
8054
|
+
end
|
8055
|
+
|
8056
|
+
def deserialize(params)
|
8057
|
+
@QRCodeUrl = params['QRCodeUrl']
|
8058
|
+
@QRCodeKey = params['QRCodeKey']
|
8059
|
+
@Url = params['Url']
|
8060
|
+
@ExpireTime = params['ExpireTime']
|
8061
|
+
@MpAppId = params['MpAppId']
|
8062
|
+
@MpPath = params['MpPath']
|
8063
|
+
@MpUserName = params['MpUserName']
|
8064
|
+
end
|
8065
|
+
end
|
8066
|
+
|
8067
|
+
# 云企付-设备信息
|
8068
|
+
class OpenBankSceneInfo < TencentCloud::Common::AbstractModel
|
8069
|
+
# @param PayerClientIp: 用户端实际 ip,示例值:14.17.22.32
|
8070
|
+
# @type PayerClientIp: String
|
8071
|
+
# @param PayerUa: 浏览器 User-Agent
|
8072
|
+
# @type PayerUa: String
|
8073
|
+
# @param OrderTime: 用户下单时间,若不上送,服务端默认当前时间
|
8074
|
+
# @type OrderTime: String
|
8075
|
+
# @param DeviceId: 终端设备号(门店号或收银设备 ID),示例值:POS1:1
|
8076
|
+
# @type DeviceId: String
|
8077
|
+
|
8078
|
+
attr_accessor :PayerClientIp, :PayerUa, :OrderTime, :DeviceId
|
8079
|
+
|
8080
|
+
def initialize(payerclientip=nil, payerua=nil, ordertime=nil, deviceid=nil)
|
8081
|
+
@PayerClientIp = payerclientip
|
8082
|
+
@PayerUa = payerua
|
8083
|
+
@OrderTime = ordertime
|
8084
|
+
@DeviceId = deviceid
|
8085
|
+
end
|
8086
|
+
|
8087
|
+
def deserialize(params)
|
8088
|
+
@PayerClientIp = params['PayerClientIp']
|
8089
|
+
@PayerUa = params['PayerUa']
|
8090
|
+
@OrderTime = params['OrderTime']
|
8091
|
+
@DeviceId = params['DeviceId']
|
8092
|
+
end
|
8093
|
+
end
|
8094
|
+
|
8095
|
+
# 线下查票-订单信息
|
8096
|
+
class Order < TencentCloud::Common::AbstractModel
|
8097
|
+
# @param AmountHasTax: 含税金额
|
8098
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8099
|
+
# @type AmountHasTax: Float
|
8100
|
+
# @param Discount: 优惠金额
|
8101
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8102
|
+
# @type Discount: Float
|
8103
|
+
# @param SellerName: 销方名称
|
8104
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8105
|
+
# @type SellerName: String
|
8106
|
+
# @param InvoiceType: 发票类型
|
8107
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8108
|
+
# @type InvoiceType: Integer
|
8109
|
+
# @param Name: 默认“”
|
8110
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8111
|
+
# @type Name: String
|
8112
|
+
# @param Amount: 支付金额
|
8113
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8114
|
+
# @type Amount: Float
|
8115
|
+
# @param OrderDate: 下单日期
|
8116
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8117
|
+
# @type OrderDate: String
|
8118
|
+
# @param OrderId: 订单号
|
8119
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8120
|
+
# @type OrderId: String
|
8121
|
+
# @param StoreNo: 门店号
|
8122
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8123
|
+
# @type StoreNo: String
|
8124
|
+
# @param Items: 明细
|
8125
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8126
|
+
# @type Items: Array
|
8127
|
+
|
8128
|
+
attr_accessor :AmountHasTax, :Discount, :SellerName, :InvoiceType, :Name, :Amount, :OrderDate, :OrderId, :StoreNo, :Items
|
8129
|
+
|
8130
|
+
def initialize(amounthastax=nil, discount=nil, sellername=nil, invoicetype=nil, name=nil, amount=nil, orderdate=nil, orderid=nil, storeno=nil, items=nil)
|
8131
|
+
@AmountHasTax = amounthastax
|
7319
8132
|
@Discount = discount
|
7320
8133
|
@SellerName = sellername
|
7321
8134
|
@InvoiceType = invoicetype
|
@@ -10582,123 +11395,687 @@ module TencentCloud
|
|
10582
11395
|
end
|
10583
11396
|
|
10584
11397
|
def deserialize(params)
|
10585
|
-
@InvoicePlatformId = params['InvoicePlatformId']
|
10586
|
-
@Offset = params['Offset']
|
10587
|
-
@Limit = params['Limit']
|
10588
|
-
@Profile = params['Profile']
|
11398
|
+
@InvoicePlatformId = params['InvoicePlatformId']
|
11399
|
+
@Offset = params['Offset']
|
11400
|
+
@Limit = params['Limit']
|
11401
|
+
@Profile = params['Profile']
|
11402
|
+
end
|
11403
|
+
end
|
11404
|
+
|
11405
|
+
# QueryMerchantInfoForManagement返回参数结构体
|
11406
|
+
class QueryMerchantInfoForManagementResponse < TencentCloud::Common::AbstractModel
|
11407
|
+
# @param Result: 商户结果
|
11408
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11409
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.MerchantManagementResult`
|
11410
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11411
|
+
# @type RequestId: String
|
11412
|
+
|
11413
|
+
attr_accessor :Result, :RequestId
|
11414
|
+
|
11415
|
+
def initialize(result=nil, requestid=nil)
|
11416
|
+
@Result = result
|
11417
|
+
@RequestId = requestid
|
11418
|
+
end
|
11419
|
+
|
11420
|
+
def deserialize(params)
|
11421
|
+
unless params['Result'].nil?
|
11422
|
+
@Result = MerchantManagementResult.new
|
11423
|
+
@Result.deserialize(params['Result'])
|
11424
|
+
end
|
11425
|
+
@RequestId = params['RequestId']
|
11426
|
+
end
|
11427
|
+
end
|
11428
|
+
|
11429
|
+
# QueryMerchantOrder请求参数结构体
|
11430
|
+
class QueryMerchantOrderRequest < TencentCloud::Common::AbstractModel
|
11431
|
+
# @param MerchantAppId: 进件成功后返给商户方的AppId。
|
11432
|
+
# @type MerchantAppId: String
|
11433
|
+
# @param OrderNo: 平台流水号。平台唯一订单号。
|
11434
|
+
# @type OrderNo: String
|
11435
|
+
|
11436
|
+
attr_accessor :MerchantAppId, :OrderNo
|
11437
|
+
|
11438
|
+
def initialize(merchantappid=nil, orderno=nil)
|
11439
|
+
@MerchantAppId = merchantappid
|
11440
|
+
@OrderNo = orderno
|
11441
|
+
end
|
11442
|
+
|
11443
|
+
def deserialize(params)
|
11444
|
+
@MerchantAppId = params['MerchantAppId']
|
11445
|
+
@OrderNo = params['OrderNo']
|
11446
|
+
end
|
11447
|
+
end
|
11448
|
+
|
11449
|
+
# QueryMerchantOrder返回参数结构体
|
11450
|
+
class QueryMerchantOrderResponse < TencentCloud::Common::AbstractModel
|
11451
|
+
# @param MerchantAppId: 进件成功后返给商户方的AppId。
|
11452
|
+
# @type MerchantAppId: String
|
11453
|
+
# @param OrderNo: 平台流水号。平台唯一订单号。
|
11454
|
+
# @type OrderNo: String
|
11455
|
+
# @param Status: 订单支付状态。0-下单失败 1-下单成功未支付 2-支付成功 3-支付失败 4-退款中 5-退款成功 6-退款失败 7-待付款 8-待确认。
|
11456
|
+
# @type Status: String
|
11457
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11458
|
+
# @type RequestId: String
|
11459
|
+
|
11460
|
+
attr_accessor :MerchantAppId, :OrderNo, :Status, :RequestId
|
11461
|
+
|
11462
|
+
def initialize(merchantappid=nil, orderno=nil, status=nil, requestid=nil)
|
11463
|
+
@MerchantAppId = merchantappid
|
11464
|
+
@OrderNo = orderno
|
11465
|
+
@Status = status
|
11466
|
+
@RequestId = requestid
|
11467
|
+
end
|
11468
|
+
|
11469
|
+
def deserialize(params)
|
11470
|
+
@MerchantAppId = params['MerchantAppId']
|
11471
|
+
@OrderNo = params['OrderNo']
|
11472
|
+
@Status = params['Status']
|
11473
|
+
@RequestId = params['RequestId']
|
11474
|
+
end
|
11475
|
+
end
|
11476
|
+
|
11477
|
+
# QueryMerchantPayWayList请求参数结构体
|
11478
|
+
class QueryMerchantPayWayListRequest < TencentCloud::Common::AbstractModel
|
11479
|
+
# @param OpenId: 收单系统分配的开放ID
|
11480
|
+
# @type OpenId: String
|
11481
|
+
# @param OpenKey: 收单系统分配的密钥
|
11482
|
+
# @type OpenKey: String
|
11483
|
+
# @param PayType: 支付类型,逗号分隔。1-现金,2-主扫,3-被扫,4-JSAPI。
|
11484
|
+
# @type PayType: String
|
11485
|
+
# @param Profile: 沙箱环境填sandbox,正式环境不填
|
11486
|
+
# @type Profile: String
|
11487
|
+
|
11488
|
+
attr_accessor :OpenId, :OpenKey, :PayType, :Profile
|
11489
|
+
|
11490
|
+
def initialize(openid=nil, openkey=nil, paytype=nil, profile=nil)
|
11491
|
+
@OpenId = openid
|
11492
|
+
@OpenKey = openkey
|
11493
|
+
@PayType = paytype
|
11494
|
+
@Profile = profile
|
11495
|
+
end
|
11496
|
+
|
11497
|
+
def deserialize(params)
|
11498
|
+
@OpenId = params['OpenId']
|
11499
|
+
@OpenKey = params['OpenKey']
|
11500
|
+
@PayType = params['PayType']
|
11501
|
+
@Profile = params['Profile']
|
11502
|
+
end
|
11503
|
+
end
|
11504
|
+
|
11505
|
+
# QueryMerchantPayWayList返回参数结构体
|
11506
|
+
class QueryMerchantPayWayListResponse < TencentCloud::Common::AbstractModel
|
11507
|
+
# @param ErrCode: 业务系统返回码,0表示成功,其他表示失败。
|
11508
|
+
# @type ErrCode: String
|
11509
|
+
# @param ErrMessage: 业务系统返回消息
|
11510
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11511
|
+
# @type ErrMessage: String
|
11512
|
+
# @param Result: 查询商户支付方式列表结果
|
11513
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11514
|
+
# @type Result: Array
|
11515
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11516
|
+
# @type RequestId: String
|
11517
|
+
|
11518
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
11519
|
+
|
11520
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
11521
|
+
@ErrCode = errcode
|
11522
|
+
@ErrMessage = errmessage
|
11523
|
+
@Result = result
|
11524
|
+
@RequestId = requestid
|
11525
|
+
end
|
11526
|
+
|
11527
|
+
def deserialize(params)
|
11528
|
+
@ErrCode = params['ErrCode']
|
11529
|
+
@ErrMessage = params['ErrMessage']
|
11530
|
+
unless params['Result'].nil?
|
11531
|
+
@Result = []
|
11532
|
+
params['Result'].each do |i|
|
11533
|
+
merchantpaywaydata_tmp = MerchantPayWayData.new
|
11534
|
+
merchantpaywaydata_tmp.deserialize(i)
|
11535
|
+
@Result << merchantpaywaydata_tmp
|
11536
|
+
end
|
11537
|
+
end
|
11538
|
+
@RequestId = params['RequestId']
|
11539
|
+
end
|
11540
|
+
end
|
11541
|
+
|
11542
|
+
# QueryMerchant请求参数结构体
|
11543
|
+
class QueryMerchantRequest < TencentCloud::Common::AbstractModel
|
11544
|
+
# @param MerchantAppId: 进件成功后返给商户方的 AppId
|
11545
|
+
# @type MerchantAppId: String
|
11546
|
+
|
11547
|
+
attr_accessor :MerchantAppId
|
11548
|
+
|
11549
|
+
def initialize(merchantappid=nil)
|
11550
|
+
@MerchantAppId = merchantappid
|
11551
|
+
end
|
11552
|
+
|
11553
|
+
def deserialize(params)
|
11554
|
+
@MerchantAppId = params['MerchantAppId']
|
11555
|
+
end
|
11556
|
+
end
|
11557
|
+
|
11558
|
+
# QueryMerchant返回参数结构体
|
11559
|
+
class QueryMerchantResponse < TencentCloud::Common::AbstractModel
|
11560
|
+
# @param MerchantAppId: 分配给商户的 AppId,该 AppId 为后续各项 交易的商户标识。
|
11561
|
+
# @type MerchantAppId: String
|
11562
|
+
# @param MerchantName: 收款商户名称。
|
11563
|
+
# @type MerchantName: String
|
11564
|
+
# @param BusinessPayFlag: B2B 支付标志。是否开通 B2B 支付, 1:开通 0:不开通。
|
11565
|
+
# @type BusinessPayFlag: String
|
11566
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11567
|
+
# @type RequestId: String
|
11568
|
+
|
11569
|
+
attr_accessor :MerchantAppId, :MerchantName, :BusinessPayFlag, :RequestId
|
11570
|
+
|
11571
|
+
def initialize(merchantappid=nil, merchantname=nil, businesspayflag=nil, requestid=nil)
|
11572
|
+
@MerchantAppId = merchantappid
|
11573
|
+
@MerchantName = merchantname
|
11574
|
+
@BusinessPayFlag = businesspayflag
|
11575
|
+
@RequestId = requestid
|
11576
|
+
end
|
11577
|
+
|
11578
|
+
def deserialize(params)
|
11579
|
+
@MerchantAppId = params['MerchantAppId']
|
11580
|
+
@MerchantName = params['MerchantName']
|
11581
|
+
@BusinessPayFlag = params['BusinessPayFlag']
|
11582
|
+
@RequestId = params['RequestId']
|
11583
|
+
end
|
11584
|
+
end
|
11585
|
+
|
11586
|
+
# QueryOpenBankBindExternalSubMerchantBankAccount请求参数结构体
|
11587
|
+
class QueryOpenBankBindExternalSubMerchantBankAccountRequest < TencentCloud::Common::AbstractModel
|
11588
|
+
# @param ChannelSubMerchantId: 渠道子商户ID。
|
11589
|
+
# @type ChannelSubMerchantId: String
|
11590
|
+
# @param ChannelMerchantId: 渠道商户ID。
|
11591
|
+
# @type ChannelMerchantId: String
|
11592
|
+
# @param ChannelApplyId: 渠道申请编号,与外部申请编号二者选填其一。
|
11593
|
+
# @type ChannelApplyId: String
|
11594
|
+
# @param Environment: 环境类型。
|
11595
|
+
# __release__:生产环境
|
11596
|
+
# __sandbox__:沙箱环境
|
11597
|
+
# _不填默认为生产环境_
|
11598
|
+
# @type Environment: String
|
11599
|
+
# @param OutApplyId: 外部申请编号,与渠道申请编号二者选填其一。
|
11600
|
+
# @type OutApplyId: String
|
11601
|
+
|
11602
|
+
attr_accessor :ChannelSubMerchantId, :ChannelMerchantId, :ChannelApplyId, :Environment, :OutApplyId
|
11603
|
+
|
11604
|
+
def initialize(channelsubmerchantid=nil, channelmerchantid=nil, channelapplyid=nil, environment=nil, outapplyid=nil)
|
11605
|
+
@ChannelSubMerchantId = channelsubmerchantid
|
11606
|
+
@ChannelMerchantId = channelmerchantid
|
11607
|
+
@ChannelApplyId = channelapplyid
|
11608
|
+
@Environment = environment
|
11609
|
+
@OutApplyId = outapplyid
|
11610
|
+
end
|
11611
|
+
|
11612
|
+
def deserialize(params)
|
11613
|
+
@ChannelSubMerchantId = params['ChannelSubMerchantId']
|
11614
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
11615
|
+
@ChannelApplyId = params['ChannelApplyId']
|
11616
|
+
@Environment = params['Environment']
|
11617
|
+
@OutApplyId = params['OutApplyId']
|
11618
|
+
end
|
11619
|
+
end
|
11620
|
+
|
11621
|
+
# QueryOpenBankBindExternalSubMerchantBankAccount返回参数结构体
|
11622
|
+
class QueryOpenBankBindExternalSubMerchantBankAccountResponse < TencentCloud::Common::AbstractModel
|
11623
|
+
# @param ErrCode: 错误码。
|
11624
|
+
# __SUCCESS__: 成功
|
11625
|
+
# __其他__: 见附录-错误码表
|
11626
|
+
# @type ErrCode: String
|
11627
|
+
# @param ErrMessage: 错误消息。
|
11628
|
+
# @type ErrMessage: String
|
11629
|
+
# @param Result: 返回结果。
|
11630
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11631
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankBindExternalSubMerchantBankAccountResult`
|
11632
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11633
|
+
# @type RequestId: String
|
11634
|
+
|
11635
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
11636
|
+
|
11637
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
11638
|
+
@ErrCode = errcode
|
11639
|
+
@ErrMessage = errmessage
|
11640
|
+
@Result = result
|
11641
|
+
@RequestId = requestid
|
11642
|
+
end
|
11643
|
+
|
11644
|
+
def deserialize(params)
|
11645
|
+
@ErrCode = params['ErrCode']
|
11646
|
+
@ErrMessage = params['ErrMessage']
|
11647
|
+
unless params['Result'].nil?
|
11648
|
+
@Result = QueryOpenBankBindExternalSubMerchantBankAccountResult.new
|
11649
|
+
@Result.deserialize(params['Result'])
|
11650
|
+
end
|
11651
|
+
@RequestId = params['RequestId']
|
11652
|
+
end
|
11653
|
+
end
|
11654
|
+
|
11655
|
+
# 子商户银行卡绑定结果查询返回结果
|
11656
|
+
class QueryOpenBankBindExternalSubMerchantBankAccountResult < TencentCloud::Common::AbstractModel
|
11657
|
+
# @param ExternalSubMerchantBankAccountReturnData: 渠道子商户收款方银行卡信息, 为JSON格式字符串(绑定成功状态下返回)。详情见附录-复杂类型。
|
11658
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11659
|
+
# @type ExternalSubMerchantBankAccountReturnData: String
|
11660
|
+
# @param ChannelApplyId: 渠道申请编号。
|
11661
|
+
# @type ChannelApplyId: String
|
11662
|
+
# @param BindStatus: 绑定状态。
|
11663
|
+
# __SUCCESS__: 绑定成功
|
11664
|
+
# __FAILED__: 绑定失败
|
11665
|
+
# __PROCESSING__: 绑定中
|
11666
|
+
# @type BindStatus: String
|
11667
|
+
# @param BindMessage: 绑定返回描述, 例如失败原因等。
|
11668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11669
|
+
# @type BindMessage: String
|
11670
|
+
# @param BindSerialNo: 绑卡序列号。
|
11671
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11672
|
+
# @type BindSerialNo: String
|
11673
|
+
|
11674
|
+
attr_accessor :ExternalSubMerchantBankAccountReturnData, :ChannelApplyId, :BindStatus, :BindMessage, :BindSerialNo
|
11675
|
+
|
11676
|
+
def initialize(externalsubmerchantbankaccountreturndata=nil, channelapplyid=nil, bindstatus=nil, bindmessage=nil, bindserialno=nil)
|
11677
|
+
@ExternalSubMerchantBankAccountReturnData = externalsubmerchantbankaccountreturndata
|
11678
|
+
@ChannelApplyId = channelapplyid
|
11679
|
+
@BindStatus = bindstatus
|
11680
|
+
@BindMessage = bindmessage
|
11681
|
+
@BindSerialNo = bindserialno
|
11682
|
+
end
|
11683
|
+
|
11684
|
+
def deserialize(params)
|
11685
|
+
@ExternalSubMerchantBankAccountReturnData = params['ExternalSubMerchantBankAccountReturnData']
|
11686
|
+
@ChannelApplyId = params['ChannelApplyId']
|
11687
|
+
@BindStatus = params['BindStatus']
|
11688
|
+
@BindMessage = params['BindMessage']
|
11689
|
+
@BindSerialNo = params['BindSerialNo']
|
11690
|
+
end
|
11691
|
+
end
|
11692
|
+
|
11693
|
+
# QueryOpenBankDownLoadUrl请求参数结构体
|
11694
|
+
class QueryOpenBankDownLoadUrlRequest < TencentCloud::Common::AbstractModel
|
11695
|
+
# @param ChannelMerchantId: 渠道商户号,外部接入平台方入驻云企付平台后下发。
|
11696
|
+
# @type ChannelMerchantId: String
|
11697
|
+
# @param BillDate: 账单日期,yyyy-MM-dd。
|
11698
|
+
# @type BillDate: String
|
11699
|
+
# @param BillType: 账单类型,默认交易账单。
|
11700
|
+
# @type BillType: String
|
11701
|
+
# @param Environment: 接入环境。沙箱环境填 sandbox。缺省默认调用生产环境。
|
11702
|
+
# @type Environment: String
|
11703
|
+
|
11704
|
+
attr_accessor :ChannelMerchantId, :BillDate, :BillType, :Environment
|
11705
|
+
|
11706
|
+
def initialize(channelmerchantid=nil, billdate=nil, billtype=nil, environment=nil)
|
11707
|
+
@ChannelMerchantId = channelmerchantid
|
11708
|
+
@BillDate = billdate
|
11709
|
+
@BillType = billtype
|
11710
|
+
@Environment = environment
|
11711
|
+
end
|
11712
|
+
|
11713
|
+
def deserialize(params)
|
11714
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
11715
|
+
@BillDate = params['BillDate']
|
11716
|
+
@BillType = params['BillType']
|
11717
|
+
@Environment = params['Environment']
|
11718
|
+
end
|
11719
|
+
end
|
11720
|
+
|
11721
|
+
# QueryOpenBankDownLoadUrl返回参数结构体
|
11722
|
+
class QueryOpenBankDownLoadUrlResponse < TencentCloud::Common::AbstractModel
|
11723
|
+
# @param ErrCode: 业务系统返回码,SUCCESS表示成功,其他表示失败。
|
11724
|
+
# @type ErrCode: String
|
11725
|
+
# @param ErrMessage: 业务系统返回消息。
|
11726
|
+
# @type ErrMessage: String
|
11727
|
+
# @param Result: 查询对账文件下载响应对象。
|
11728
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankDownLoadUrlResult`
|
11729
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11730
|
+
# @type RequestId: String
|
11731
|
+
|
11732
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
11733
|
+
|
11734
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
11735
|
+
@ErrCode = errcode
|
11736
|
+
@ErrMessage = errmessage
|
11737
|
+
@Result = result
|
11738
|
+
@RequestId = requestid
|
11739
|
+
end
|
11740
|
+
|
11741
|
+
def deserialize(params)
|
11742
|
+
@ErrCode = params['ErrCode']
|
11743
|
+
@ErrMessage = params['ErrMessage']
|
11744
|
+
unless params['Result'].nil?
|
11745
|
+
@Result = QueryOpenBankDownLoadUrlResult.new
|
11746
|
+
@Result.deserialize(params['Result'])
|
11747
|
+
end
|
11748
|
+
@RequestId = params['RequestId']
|
11749
|
+
end
|
11750
|
+
end
|
11751
|
+
|
11752
|
+
# 云企付-查询对账单文件下载url
|
11753
|
+
class QueryOpenBankDownLoadUrlResult < TencentCloud::Common::AbstractModel
|
11754
|
+
# @param DownloadUrl: 供下一步请求账单文件的下载地址。
|
11755
|
+
# @type DownloadUrl: String
|
11756
|
+
# @param HashValue: 从 download_url 下载的文件的哈希值,用于校验文件的完整性。
|
11757
|
+
# @type HashValue: String
|
11758
|
+
# @param HashType: 从 download_url 下载的文件的哈希类型,用于校验文件的完整性。
|
11759
|
+
# @type HashType: String
|
11760
|
+
|
11761
|
+
attr_accessor :DownloadUrl, :HashValue, :HashType
|
11762
|
+
|
11763
|
+
def initialize(downloadurl=nil, hashvalue=nil, hashtype=nil)
|
11764
|
+
@DownloadUrl = downloadurl
|
11765
|
+
@HashValue = hashvalue
|
11766
|
+
@HashType = hashtype
|
11767
|
+
end
|
11768
|
+
|
11769
|
+
def deserialize(params)
|
11770
|
+
@DownloadUrl = params['DownloadUrl']
|
11771
|
+
@HashValue = params['HashValue']
|
11772
|
+
@HashType = params['HashType']
|
11773
|
+
end
|
11774
|
+
end
|
11775
|
+
|
11776
|
+
# 第三方子商户银行卡列表查询返回数据
|
11777
|
+
class QueryOpenBankExternalSubMerchantBankAccountData < TencentCloud::Common::AbstractModel
|
11778
|
+
# @param AccountBank: 开户银行。
|
11779
|
+
# @type AccountBank: String
|
11780
|
+
# @param BindSerialNo: 绑卡序列号。
|
11781
|
+
# @type BindSerialNo: String
|
11782
|
+
# @param AccountType: 账号类型。
|
11783
|
+
# __COLLECT_MONEY__: 收款卡
|
11784
|
+
# __PAYMENT__: 付款卡
|
11785
|
+
# @type AccountType: String
|
11786
|
+
# @param BankBranchId: 支行号。
|
11787
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11788
|
+
# @type BankBranchId: String
|
11789
|
+
# @param AccountNumberLastFour: 银行卡卡后四位。
|
11790
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11791
|
+
# @type AccountNumberLastFour: String
|
11792
|
+
|
11793
|
+
attr_accessor :AccountBank, :BindSerialNo, :AccountType, :BankBranchId, :AccountNumberLastFour
|
11794
|
+
|
11795
|
+
def initialize(accountbank=nil, bindserialno=nil, accounttype=nil, bankbranchid=nil, accountnumberlastfour=nil)
|
11796
|
+
@AccountBank = accountbank
|
11797
|
+
@BindSerialNo = bindserialno
|
11798
|
+
@AccountType = accounttype
|
11799
|
+
@BankBranchId = bankbranchid
|
11800
|
+
@AccountNumberLastFour = accountnumberlastfour
|
11801
|
+
end
|
11802
|
+
|
11803
|
+
def deserialize(params)
|
11804
|
+
@AccountBank = params['AccountBank']
|
11805
|
+
@BindSerialNo = params['BindSerialNo']
|
11806
|
+
@AccountType = params['AccountType']
|
11807
|
+
@BankBranchId = params['BankBranchId']
|
11808
|
+
@AccountNumberLastFour = params['AccountNumberLastFour']
|
11809
|
+
end
|
11810
|
+
end
|
11811
|
+
|
11812
|
+
# QueryOpenBankExternalSubMerchantBankAccount请求参数结构体
|
11813
|
+
class QueryOpenBankExternalSubMerchantBankAccountRequest < TencentCloud::Common::AbstractModel
|
11814
|
+
# @param ChannelMerchantId: 渠道商户ID。
|
11815
|
+
# @type ChannelMerchantId: String
|
11816
|
+
# @param ChannelSubMerchantId: 渠道子商户ID。
|
11817
|
+
# @type ChannelSubMerchantId: String
|
11818
|
+
# @param ChannelName: 渠道名称。
|
11819
|
+
# __TENPAY__: 商企付
|
11820
|
+
# __WECHAT__: 微信支付
|
11821
|
+
# __ALIPAY__: 支付宝
|
11822
|
+
# @type ChannelName: String
|
11823
|
+
# @param PaymentMethod: 支付方式。
|
11824
|
+
# __EBANK_PAYMENT__: ebank支付
|
11825
|
+
# __OPENBANK_PAYMENT__: openbank支付
|
11826
|
+
# @type PaymentMethod: String
|
11827
|
+
# @param Environment: 环境类型。
|
11828
|
+
# __release__:生产环境
|
11829
|
+
# __sandbox__:沙箱环境
|
11830
|
+
# _不填默认为生产环境_
|
11831
|
+
# @type Environment: String
|
11832
|
+
|
11833
|
+
attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :ChannelName, :PaymentMethod, :Environment
|
11834
|
+
|
11835
|
+
def initialize(channelmerchantid=nil, channelsubmerchantid=nil, channelname=nil, paymentmethod=nil, environment=nil)
|
11836
|
+
@ChannelMerchantId = channelmerchantid
|
11837
|
+
@ChannelSubMerchantId = channelsubmerchantid
|
11838
|
+
@ChannelName = channelname
|
11839
|
+
@PaymentMethod = paymentmethod
|
11840
|
+
@Environment = environment
|
11841
|
+
end
|
11842
|
+
|
11843
|
+
def deserialize(params)
|
11844
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
11845
|
+
@ChannelSubMerchantId = params['ChannelSubMerchantId']
|
11846
|
+
@ChannelName = params['ChannelName']
|
11847
|
+
@PaymentMethod = params['PaymentMethod']
|
11848
|
+
@Environment = params['Environment']
|
11849
|
+
end
|
11850
|
+
end
|
11851
|
+
|
11852
|
+
# QueryOpenBankExternalSubMerchantBankAccount返回参数结构体
|
11853
|
+
class QueryOpenBankExternalSubMerchantBankAccountResponse < TencentCloud::Common::AbstractModel
|
11854
|
+
# @param ErrCode: 错误码。
|
11855
|
+
# __SUCCESS__: 成功
|
11856
|
+
# __其他__: 见附录-错误码表
|
11857
|
+
# @type ErrCode: String
|
11858
|
+
# @param ErrMessage: 错误消息。
|
11859
|
+
# @type ErrMessage: String
|
11860
|
+
# @param Result: 返回结果。
|
11861
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11862
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankExternalSubMerchantBankAccountResult`
|
11863
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11864
|
+
# @type RequestId: String
|
11865
|
+
|
11866
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
11867
|
+
|
11868
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
11869
|
+
@ErrCode = errcode
|
11870
|
+
@ErrMessage = errmessage
|
11871
|
+
@Result = result
|
11872
|
+
@RequestId = requestid
|
11873
|
+
end
|
11874
|
+
|
11875
|
+
def deserialize(params)
|
11876
|
+
@ErrCode = params['ErrCode']
|
11877
|
+
@ErrMessage = params['ErrMessage']
|
11878
|
+
unless params['Result'].nil?
|
11879
|
+
@Result = QueryOpenBankExternalSubMerchantBankAccountResult.new
|
11880
|
+
@Result.deserialize(params['Result'])
|
11881
|
+
end
|
11882
|
+
@RequestId = params['RequestId']
|
11883
|
+
end
|
11884
|
+
end
|
11885
|
+
|
11886
|
+
# 第三方子商户银行卡列表查询返回结果
|
11887
|
+
class QueryOpenBankExternalSubMerchantBankAccountResult < TencentCloud::Common::AbstractModel
|
11888
|
+
# @param AccountList: 第三方渠道子商户查询银行账户返回。
|
11889
|
+
# @type AccountList: Array
|
11890
|
+
|
11891
|
+
attr_accessor :AccountList
|
11892
|
+
|
11893
|
+
def initialize(accountlist=nil)
|
11894
|
+
@AccountList = accountlist
|
11895
|
+
end
|
11896
|
+
|
11897
|
+
def deserialize(params)
|
11898
|
+
unless params['AccountList'].nil?
|
11899
|
+
@AccountList = []
|
11900
|
+
params['AccountList'].each do |i|
|
11901
|
+
queryopenbankexternalsubmerchantbankaccountdata_tmp = QueryOpenBankExternalSubMerchantBankAccountData.new
|
11902
|
+
queryopenbankexternalsubmerchantbankaccountdata_tmp.deserialize(i)
|
11903
|
+
@AccountList << queryopenbankexternalsubmerchantbankaccountdata_tmp
|
11904
|
+
end
|
11905
|
+
end
|
11906
|
+
end
|
11907
|
+
end
|
11908
|
+
|
11909
|
+
# QueryOpenBankExternalSubMerchantRegistration请求参数结构体
|
11910
|
+
class QueryOpenBankExternalSubMerchantRegistrationRequest < TencentCloud::Common::AbstractModel
|
11911
|
+
# @param ChannelMerchantId: 渠道商户号。
|
11912
|
+
# @type ChannelMerchantId: String
|
11913
|
+
# @param ChannelRegistrationNo: 渠道进件号,与外部进件号二者选填其一。
|
11914
|
+
# @type ChannelRegistrationNo: String
|
11915
|
+
# @param OutRegistrationNo: 外部进件号,与渠道进件号二者选填其一。
|
11916
|
+
# @type OutRegistrationNo: String
|
11917
|
+
# @param Environment: 环境类型
|
11918
|
+
# __release__:生产环境
|
11919
|
+
# __sandbox__:沙箱环境
|
11920
|
+
# _不填默认为生产环境_
|
11921
|
+
# @type Environment: String
|
11922
|
+
|
11923
|
+
attr_accessor :ChannelMerchantId, :ChannelRegistrationNo, :OutRegistrationNo, :Environment
|
11924
|
+
|
11925
|
+
def initialize(channelmerchantid=nil, channelregistrationno=nil, outregistrationno=nil, environment=nil)
|
11926
|
+
@ChannelMerchantId = channelmerchantid
|
11927
|
+
@ChannelRegistrationNo = channelregistrationno
|
11928
|
+
@OutRegistrationNo = outregistrationno
|
11929
|
+
@Environment = environment
|
11930
|
+
end
|
11931
|
+
|
11932
|
+
def deserialize(params)
|
11933
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
11934
|
+
@ChannelRegistrationNo = params['ChannelRegistrationNo']
|
11935
|
+
@OutRegistrationNo = params['OutRegistrationNo']
|
11936
|
+
@Environment = params['Environment']
|
10589
11937
|
end
|
10590
11938
|
end
|
10591
11939
|
|
10592
|
-
#
|
10593
|
-
class
|
10594
|
-
# @param
|
11940
|
+
# QueryOpenBankExternalSubMerchantRegistration返回参数结构体
|
11941
|
+
class QueryOpenBankExternalSubMerchantRegistrationResponse < TencentCloud::Common::AbstractModel
|
11942
|
+
# @param ErrCode: 错误码。
|
11943
|
+
# __SUCCESS__: 成功
|
11944
|
+
# __其他__: 见附录-错误码表
|
11945
|
+
# @type ErrCode: String
|
11946
|
+
# @param ErrMessage: 错误消息。
|
11947
|
+
# @type ErrMessage: String
|
11948
|
+
# @param Result: 返回结果。
|
10595
11949
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10596
|
-
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.
|
11950
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankExternalSubMerchantRegistrationResult`
|
10597
11951
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10598
11952
|
# @type RequestId: String
|
10599
11953
|
|
10600
|
-
attr_accessor :Result, :RequestId
|
11954
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
10601
11955
|
|
10602
|
-
def initialize(result=nil, requestid=nil)
|
11956
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
11957
|
+
@ErrCode = errcode
|
11958
|
+
@ErrMessage = errmessage
|
10603
11959
|
@Result = result
|
10604
11960
|
@RequestId = requestid
|
10605
11961
|
end
|
10606
11962
|
|
10607
11963
|
def deserialize(params)
|
11964
|
+
@ErrCode = params['ErrCode']
|
11965
|
+
@ErrMessage = params['ErrMessage']
|
10608
11966
|
unless params['Result'].nil?
|
10609
|
-
@Result =
|
11967
|
+
@Result = QueryOpenBankExternalSubMerchantRegistrationResult.new
|
10610
11968
|
@Result.deserialize(params['Result'])
|
10611
11969
|
end
|
10612
11970
|
@RequestId = params['RequestId']
|
10613
11971
|
end
|
10614
11972
|
end
|
10615
11973
|
|
10616
|
-
#
|
10617
|
-
class
|
10618
|
-
# @param
|
10619
|
-
#
|
10620
|
-
#
|
10621
|
-
#
|
10622
|
-
|
10623
|
-
|
10624
|
-
|
10625
|
-
|
10626
|
-
|
10627
|
-
|
10628
|
-
|
10629
|
-
|
10630
|
-
|
10631
|
-
|
10632
|
-
|
10633
|
-
|
10634
|
-
|
10635
|
-
|
10636
|
-
|
10637
|
-
|
10638
|
-
#
|
10639
|
-
# @type
|
10640
|
-
# @param
|
10641
|
-
#
|
10642
|
-
#
|
10643
|
-
#
|
10644
|
-
# @
|
10645
|
-
# @
|
11974
|
+
# 第三方子商户进件结果查询返回结果
|
11975
|
+
class QueryOpenBankExternalSubMerchantRegistrationResult < TencentCloud::Common::AbstractModel
|
11976
|
+
# @param RegistrationStatus: 进件状态。
|
11977
|
+
# __SUCCESS__: 进件成功
|
11978
|
+
# __FAILED__: 进件失败
|
11979
|
+
# __PROCESSING__: 进件中
|
11980
|
+
# @type RegistrationStatus: String
|
11981
|
+
# @param RegistrationMessage: 进件返回描述, 例如失败原因等。
|
11982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11983
|
+
# @type RegistrationMessage: String
|
11984
|
+
# @param ChannelRegistrationNo: 渠道进件号。
|
11985
|
+
# @type ChannelRegistrationNo: String
|
11986
|
+
# @param ChannelSubMerchantId: 渠道子商户ID(进件成功返回)。
|
11987
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11988
|
+
# @type ChannelSubMerchantId: String
|
11989
|
+
# @param OutSubMerchantName: 外部子商户名称(进件成功返回)。
|
11990
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11991
|
+
# @type OutSubMerchantName: String
|
11992
|
+
# @param ChannelName: 渠道名称(进件成功返回)。
|
11993
|
+
# __TENPAY__: 商企付
|
11994
|
+
# __WECHAT__: 微信支付
|
11995
|
+
# __ALIPAY__: 支付宝
|
11996
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11997
|
+
# @type ChannelName: String
|
11998
|
+
# @param PaymentMethod: 支付方式(进件成功返回)。
|
11999
|
+
# __EBANK_PAYMENT__: ebank支付
|
12000
|
+
# __OPENBANK_PAYMENT__: openbank支付
|
12001
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12002
|
+
# @type PaymentMethod: String
|
12003
|
+
# @param BusinessLicenseNumber: 社会信用代码。
|
12004
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12005
|
+
# @type BusinessLicenseNumber: String
|
12006
|
+
# @param LegalName: 法人姓名
|
12007
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12008
|
+
# @type LegalName: String
|
12009
|
+
# @param ExternalReturnData: 第三方渠道查询进件返回数据。详情见附录-复杂类型。
|
12010
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12011
|
+
# @type ExternalReturnData: String
|
10646
12012
|
|
10647
|
-
attr_accessor :
|
12013
|
+
attr_accessor :RegistrationStatus, :RegistrationMessage, :ChannelRegistrationNo, :ChannelSubMerchantId, :OutSubMerchantName, :ChannelName, :PaymentMethod, :BusinessLicenseNumber, :LegalName, :ExternalReturnData
|
10648
12014
|
|
10649
|
-
def initialize(
|
10650
|
-
@
|
10651
|
-
@
|
10652
|
-
@
|
10653
|
-
@
|
12015
|
+
def initialize(registrationstatus=nil, registrationmessage=nil, channelregistrationno=nil, channelsubmerchantid=nil, outsubmerchantname=nil, channelname=nil, paymentmethod=nil, businesslicensenumber=nil, legalname=nil, externalreturndata=nil)
|
12016
|
+
@RegistrationStatus = registrationstatus
|
12017
|
+
@RegistrationMessage = registrationmessage
|
12018
|
+
@ChannelRegistrationNo = channelregistrationno
|
12019
|
+
@ChannelSubMerchantId = channelsubmerchantid
|
12020
|
+
@OutSubMerchantName = outsubmerchantname
|
12021
|
+
@ChannelName = channelname
|
12022
|
+
@PaymentMethod = paymentmethod
|
12023
|
+
@BusinessLicenseNumber = businesslicensenumber
|
12024
|
+
@LegalName = legalname
|
12025
|
+
@ExternalReturnData = externalreturndata
|
10654
12026
|
end
|
10655
12027
|
|
10656
12028
|
def deserialize(params)
|
10657
|
-
@
|
10658
|
-
@
|
10659
|
-
@
|
10660
|
-
@
|
12029
|
+
@RegistrationStatus = params['RegistrationStatus']
|
12030
|
+
@RegistrationMessage = params['RegistrationMessage']
|
12031
|
+
@ChannelRegistrationNo = params['ChannelRegistrationNo']
|
12032
|
+
@ChannelSubMerchantId = params['ChannelSubMerchantId']
|
12033
|
+
@OutSubMerchantName = params['OutSubMerchantName']
|
12034
|
+
@ChannelName = params['ChannelName']
|
12035
|
+
@PaymentMethod = params['PaymentMethod']
|
12036
|
+
@BusinessLicenseNumber = params['BusinessLicenseNumber']
|
12037
|
+
@LegalName = params['LegalName']
|
12038
|
+
@ExternalReturnData = params['ExternalReturnData']
|
10661
12039
|
end
|
10662
12040
|
end
|
10663
12041
|
|
10664
|
-
#
|
10665
|
-
class
|
10666
|
-
# @param
|
10667
|
-
# @type
|
10668
|
-
# @param
|
10669
|
-
# @type
|
10670
|
-
# @param
|
10671
|
-
# @type
|
10672
|
-
# @param
|
10673
|
-
# @type
|
12042
|
+
# QueryOpenBankPaymentOrder请求参数结构体
|
12043
|
+
class QueryOpenBankPaymentOrderRequest < TencentCloud::Common::AbstractModel
|
12044
|
+
# @param ChannelMerchantId: 渠道商户号。外部接入平台入驻云企付平台下发。
|
12045
|
+
# @type ChannelMerchantId: String
|
12046
|
+
# @param OutOrderId: 外部商户订单号。与ChannelOrderId不能同时为空字符串。
|
12047
|
+
# @type OutOrderId: String
|
12048
|
+
# @param ChannelOrderId: 云平台订单号。与OutOrderId不能同时为空字符串。
|
12049
|
+
# @type ChannelOrderId: String
|
12050
|
+
# @param Environment: 接入环境。沙箱环境填 sandbox。缺省默认调用生产环境。
|
12051
|
+
# @type Environment: String
|
10674
12052
|
|
10675
|
-
attr_accessor :
|
12053
|
+
attr_accessor :ChannelMerchantId, :OutOrderId, :ChannelOrderId, :Environment
|
10676
12054
|
|
10677
|
-
def initialize(
|
10678
|
-
@
|
10679
|
-
@
|
10680
|
-
@
|
10681
|
-
@
|
12055
|
+
def initialize(channelmerchantid=nil, outorderid=nil, channelorderid=nil, environment=nil)
|
12056
|
+
@ChannelMerchantId = channelmerchantid
|
12057
|
+
@OutOrderId = outorderid
|
12058
|
+
@ChannelOrderId = channelorderid
|
12059
|
+
@Environment = environment
|
10682
12060
|
end
|
10683
12061
|
|
10684
12062
|
def deserialize(params)
|
10685
|
-
@
|
10686
|
-
@
|
10687
|
-
@
|
10688
|
-
@
|
12063
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
12064
|
+
@OutOrderId = params['OutOrderId']
|
12065
|
+
@ChannelOrderId = params['ChannelOrderId']
|
12066
|
+
@Environment = params['Environment']
|
10689
12067
|
end
|
10690
12068
|
end
|
10691
12069
|
|
10692
|
-
#
|
10693
|
-
class
|
10694
|
-
# @param ErrCode: 业务系统返回码,
|
12070
|
+
# QueryOpenBankPaymentOrder返回参数结构体
|
12071
|
+
class QueryOpenBankPaymentOrderResponse < TencentCloud::Common::AbstractModel
|
12072
|
+
# @param ErrCode: 业务系统返回码,SUCCESS表示成功,其他表示失败。
|
10695
12073
|
# @type ErrCode: String
|
10696
|
-
# @param ErrMessage:
|
10697
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
12074
|
+
# @param ErrMessage: 业务系统返回消息。
|
10698
12075
|
# @type ErrMessage: String
|
10699
|
-
# @param Result:
|
12076
|
+
# @param Result: 查询支付结果响应对象。
|
10700
12077
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10701
|
-
# @type Result:
|
12078
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankPaymentOrderResult`
|
10702
12079
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10703
12080
|
# @type RequestId: String
|
10704
12081
|
|
@@ -10715,61 +12092,190 @@ module TencentCloud
|
|
10715
12092
|
@ErrCode = params['ErrCode']
|
10716
12093
|
@ErrMessage = params['ErrMessage']
|
10717
12094
|
unless params['Result'].nil?
|
10718
|
-
@Result =
|
10719
|
-
params['Result']
|
10720
|
-
merchantpaywaydata_tmp = MerchantPayWayData.new
|
10721
|
-
merchantpaywaydata_tmp.deserialize(i)
|
10722
|
-
@Result << merchantpaywaydata_tmp
|
10723
|
-
end
|
12095
|
+
@Result = QueryOpenBankPaymentOrderResult.new
|
12096
|
+
@Result.deserialize(params['Result'])
|
10724
12097
|
end
|
10725
12098
|
@RequestId = params['RequestId']
|
10726
12099
|
end
|
10727
12100
|
end
|
10728
12101
|
|
10729
|
-
#
|
10730
|
-
class
|
10731
|
-
# @param
|
10732
|
-
# @type
|
12102
|
+
# 云企付-查询订单支付结果
|
12103
|
+
class QueryOpenBankPaymentOrderResult < TencentCloud::Common::AbstractModel
|
12104
|
+
# @param ChannelMerchantId: 渠道商户号。外部接入平台入驻云企付平台下发
|
12105
|
+
# @type ChannelMerchantId: String
|
12106
|
+
# @param OutOrderId: 外部商户订单号
|
12107
|
+
# @type OutOrderId: String
|
12108
|
+
# @param ChannelOrderId: 云企付平台订单号
|
12109
|
+
# @type ChannelOrderId: String
|
12110
|
+
# @param ThirdPayOrderId: 第三方支付平台订单号
|
12111
|
+
# @type ThirdPayOrderId: String
|
12112
|
+
# @param OrderStatus: INIT:初始化
|
12113
|
+
# PAYING:支付中
|
12114
|
+
# DEDUCTED:扣款成功
|
12115
|
+
# ACCEPTED:支付受理成功
|
12116
|
+
# SUCCESS:支付成功
|
12117
|
+
# CLOSED:关单
|
12118
|
+
# PAY_FAIL:支付失败
|
12119
|
+
# REVOKE:退票
|
12120
|
+
# @type OrderStatus: String
|
12121
|
+
# @param ChannelName: 支付渠道名称,如TENPAY
|
12122
|
+
# @type ChannelName: String
|
12123
|
+
# @param PaymentMethod: 付款方式。如EBANK_PAYMENT
|
12124
|
+
# OPENBANK_PAYMENT
|
12125
|
+
# @type PaymentMethod: String
|
12126
|
+
# @param TotalAmount: 订单金额。单位分
|
12127
|
+
# @type TotalAmount: Integer
|
12128
|
+
# @param PayAmount: 实际支付金额。单位分,支付成功时返回
|
12129
|
+
# @type PayAmount: Integer
|
12130
|
+
# @param FailReason: 失败原因,若失败的返回
|
12131
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12132
|
+
# @type FailReason: String
|
12133
|
+
# @param Attachment: 附加信息,查询时原样透传
|
12134
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12135
|
+
# @type Attachment: String
|
12136
|
+
# @param RedirectInfo: 重定向参数,用于客户端跳转,订单未支付时返回该参数
|
12137
|
+
# 渠道为TENPAY,付款方式为EBANK_PAYMENT时返回
|
12138
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12139
|
+
# @type RedirectInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankRedirectInfo`
|
12140
|
+
# @param ExternalReturnData: 第三方渠道返回信息,见渠道特殊说明
|
12141
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12142
|
+
# @type ExternalReturnData: String
|
10733
12143
|
|
10734
|
-
attr_accessor :
|
12144
|
+
attr_accessor :ChannelMerchantId, :OutOrderId, :ChannelOrderId, :ThirdPayOrderId, :OrderStatus, :ChannelName, :PaymentMethod, :TotalAmount, :PayAmount, :FailReason, :Attachment, :RedirectInfo, :ExternalReturnData
|
10735
12145
|
|
10736
|
-
def initialize(
|
10737
|
-
@
|
12146
|
+
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)
|
12147
|
+
@ChannelMerchantId = channelmerchantid
|
12148
|
+
@OutOrderId = outorderid
|
12149
|
+
@ChannelOrderId = channelorderid
|
12150
|
+
@ThirdPayOrderId = thirdpayorderid
|
12151
|
+
@OrderStatus = orderstatus
|
12152
|
+
@ChannelName = channelname
|
12153
|
+
@PaymentMethod = paymentmethod
|
12154
|
+
@TotalAmount = totalamount
|
12155
|
+
@PayAmount = payamount
|
12156
|
+
@FailReason = failreason
|
12157
|
+
@Attachment = attachment
|
12158
|
+
@RedirectInfo = redirectinfo
|
12159
|
+
@ExternalReturnData = externalreturndata
|
10738
12160
|
end
|
10739
12161
|
|
10740
12162
|
def deserialize(params)
|
10741
|
-
@
|
12163
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
12164
|
+
@OutOrderId = params['OutOrderId']
|
12165
|
+
@ChannelOrderId = params['ChannelOrderId']
|
12166
|
+
@ThirdPayOrderId = params['ThirdPayOrderId']
|
12167
|
+
@OrderStatus = params['OrderStatus']
|
12168
|
+
@ChannelName = params['ChannelName']
|
12169
|
+
@PaymentMethod = params['PaymentMethod']
|
12170
|
+
@TotalAmount = params['TotalAmount']
|
12171
|
+
@PayAmount = params['PayAmount']
|
12172
|
+
@FailReason = params['FailReason']
|
12173
|
+
@Attachment = params['Attachment']
|
12174
|
+
unless params['RedirectInfo'].nil?
|
12175
|
+
@RedirectInfo = OpenBankRedirectInfo.new
|
12176
|
+
@RedirectInfo.deserialize(params['RedirectInfo'])
|
12177
|
+
end
|
12178
|
+
@ExternalReturnData = params['ExternalReturnData']
|
10742
12179
|
end
|
10743
12180
|
end
|
10744
12181
|
|
10745
|
-
#
|
10746
|
-
class
|
10747
|
-
# @param
|
10748
|
-
# @type
|
10749
|
-
# @param
|
10750
|
-
# @type
|
10751
|
-
# @param
|
10752
|
-
# @type
|
12182
|
+
# QueryOpenBankUnbindExternalSubMerchantBankAccount请求参数结构体
|
12183
|
+
class QueryOpenBankUnbindExternalSubMerchantBankAccountRequest < TencentCloud::Common::AbstractModel
|
12184
|
+
# @param ChannelSubMerchantId: 渠道子商户ID。
|
12185
|
+
# @type ChannelSubMerchantId: String
|
12186
|
+
# @param ChannelMerchantId: 渠道商户ID。
|
12187
|
+
# @type ChannelMerchantId: String
|
12188
|
+
# @param ChannelApplyId: 渠道申请编号,与外部申请编号二者选填其一。
|
12189
|
+
# @type ChannelApplyId: String
|
12190
|
+
# @param Environment: 环境类型。
|
12191
|
+
# __release__:生产环境
|
12192
|
+
# __sandbox__:沙箱环境
|
12193
|
+
# _不填默认为生产环境_
|
12194
|
+
# @type Environment: String
|
12195
|
+
# @param OutApplyId: 外部申请编号,与渠道申请编号二者选填其一。
|
12196
|
+
# @type OutApplyId: String
|
12197
|
+
|
12198
|
+
attr_accessor :ChannelSubMerchantId, :ChannelMerchantId, :ChannelApplyId, :Environment, :OutApplyId
|
12199
|
+
|
12200
|
+
def initialize(channelsubmerchantid=nil, channelmerchantid=nil, channelapplyid=nil, environment=nil, outapplyid=nil)
|
12201
|
+
@ChannelSubMerchantId = channelsubmerchantid
|
12202
|
+
@ChannelMerchantId = channelmerchantid
|
12203
|
+
@ChannelApplyId = channelapplyid
|
12204
|
+
@Environment = environment
|
12205
|
+
@OutApplyId = outapplyid
|
12206
|
+
end
|
12207
|
+
|
12208
|
+
def deserialize(params)
|
12209
|
+
@ChannelSubMerchantId = params['ChannelSubMerchantId']
|
12210
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
12211
|
+
@ChannelApplyId = params['ChannelApplyId']
|
12212
|
+
@Environment = params['Environment']
|
12213
|
+
@OutApplyId = params['OutApplyId']
|
12214
|
+
end
|
12215
|
+
end
|
12216
|
+
|
12217
|
+
# QueryOpenBankUnbindExternalSubMerchantBankAccount返回参数结构体
|
12218
|
+
class QueryOpenBankUnbindExternalSubMerchantBankAccountResponse < TencentCloud::Common::AbstractModel
|
12219
|
+
# @param ErrCode: 错误码。
|
12220
|
+
# __SUCCESS__: 成功
|
12221
|
+
# __其他__: 见附录-错误码表
|
12222
|
+
# @type ErrCode: String
|
12223
|
+
# @param ErrMessage: 错误消息。
|
12224
|
+
# @type ErrMessage: String
|
12225
|
+
# @param Result: 返回结果。
|
12226
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12227
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankUnbindExternalSubMerchantBankAccountResult`
|
10753
12228
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10754
12229
|
# @type RequestId: String
|
10755
12230
|
|
10756
|
-
attr_accessor :
|
12231
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
10757
12232
|
|
10758
|
-
def initialize(
|
10759
|
-
@
|
10760
|
-
@
|
10761
|
-
@
|
12233
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
12234
|
+
@ErrCode = errcode
|
12235
|
+
@ErrMessage = errmessage
|
12236
|
+
@Result = result
|
10762
12237
|
@RequestId = requestid
|
10763
12238
|
end
|
10764
12239
|
|
10765
12240
|
def deserialize(params)
|
10766
|
-
@
|
10767
|
-
@
|
10768
|
-
|
12241
|
+
@ErrCode = params['ErrCode']
|
12242
|
+
@ErrMessage = params['ErrMessage']
|
12243
|
+
unless params['Result'].nil?
|
12244
|
+
@Result = QueryOpenBankUnbindExternalSubMerchantBankAccountResult.new
|
12245
|
+
@Result.deserialize(params['Result'])
|
12246
|
+
end
|
10769
12247
|
@RequestId = params['RequestId']
|
10770
12248
|
end
|
10771
12249
|
end
|
10772
12250
|
|
12251
|
+
# 第三方子商户银行卡解绑结果查询返回结果
|
12252
|
+
class QueryOpenBankUnbindExternalSubMerchantBankAccountResult < TencentCloud::Common::AbstractModel
|
12253
|
+
# @param ChannelApplyId: 渠道申请编号。
|
12254
|
+
# @type ChannelApplyId: String
|
12255
|
+
# @param UnbindStatus: 解绑状态。
|
12256
|
+
# __SUCCESS__: 解绑成功
|
12257
|
+
# __FAILED__: 解绑失败
|
12258
|
+
# __PROCESSING__: 解绑中
|
12259
|
+
# @type UnbindStatus: String
|
12260
|
+
# @param UnbindMessage: 解绑返回描述, 例如失败原因等。
|
12261
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12262
|
+
# @type UnbindMessage: String
|
12263
|
+
|
12264
|
+
attr_accessor :ChannelApplyId, :UnbindStatus, :UnbindMessage
|
12265
|
+
|
12266
|
+
def initialize(channelapplyid=nil, unbindstatus=nil, unbindmessage=nil)
|
12267
|
+
@ChannelApplyId = channelapplyid
|
12268
|
+
@UnbindStatus = unbindstatus
|
12269
|
+
@UnbindMessage = unbindmessage
|
12270
|
+
end
|
12271
|
+
|
12272
|
+
def deserialize(params)
|
12273
|
+
@ChannelApplyId = params['ChannelApplyId']
|
12274
|
+
@UnbindStatus = params['UnbindStatus']
|
12275
|
+
@UnbindMessage = params['UnbindMessage']
|
12276
|
+
end
|
12277
|
+
end
|
12278
|
+
|
10773
12279
|
# 查询订单接口的出参,订单列表
|
10774
12280
|
class QueryOrderOutOrderList < TencentCloud::Common::AbstractModel
|
10775
12281
|
# @param MidasAppId: 聚鑫分配的支付主MidasAppId
|
@@ -15143,6 +16649,121 @@ module TencentCloud
|
|
15143
16649
|
end
|
15144
16650
|
end
|
15145
16651
|
|
16652
|
+
# UnbindOpenBankExternalSubMerchantBankAccount请求参数结构体
|
16653
|
+
class UnbindOpenBankExternalSubMerchantBankAccountRequest < TencentCloud::Common::AbstractModel
|
16654
|
+
# @param ChannelMerchantId: 渠道商户ID。
|
16655
|
+
# @type ChannelMerchantId: String
|
16656
|
+
# @param ChannelSubMerchantId: 渠道子商户ID。
|
16657
|
+
# @type ChannelSubMerchantId: String
|
16658
|
+
# @param ChannelName: 渠道名称。
|
16659
|
+
# __TENPAY__: 商企付
|
16660
|
+
# __WECHAT__: 微信支付
|
16661
|
+
# __ALIPAY__: 支付宝
|
16662
|
+
# @type ChannelName: String
|
16663
|
+
# @param PaymentMethod: 支付方式。
|
16664
|
+
# __EBANK_PAYMENT__: ebank支付
|
16665
|
+
# __OPENBANK_PAYMENT__: openbank支付
|
16666
|
+
# @type PaymentMethod: String
|
16667
|
+
# @param BindSerialNo: 绑卡序列号。
|
16668
|
+
# @type BindSerialNo: String
|
16669
|
+
# @param OutApplyId: 外部申请编号。
|
16670
|
+
# @type OutApplyId: String
|
16671
|
+
# @param NotifyUrl: 通知地址。
|
16672
|
+
# @type NotifyUrl: String
|
16673
|
+
# @param Environment: 环境类型。
|
16674
|
+
# __release__:生产环境
|
16675
|
+
# __sandbox__:沙箱环境
|
16676
|
+
# _不填默认为生产环境_
|
16677
|
+
# @type Environment: String
|
16678
|
+
|
16679
|
+
attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :ChannelName, :PaymentMethod, :BindSerialNo, :OutApplyId, :NotifyUrl, :Environment
|
16680
|
+
|
16681
|
+
def initialize(channelmerchantid=nil, channelsubmerchantid=nil, channelname=nil, paymentmethod=nil, bindserialno=nil, outapplyid=nil, notifyurl=nil, environment=nil)
|
16682
|
+
@ChannelMerchantId = channelmerchantid
|
16683
|
+
@ChannelSubMerchantId = channelsubmerchantid
|
16684
|
+
@ChannelName = channelname
|
16685
|
+
@PaymentMethod = paymentmethod
|
16686
|
+
@BindSerialNo = bindserialno
|
16687
|
+
@OutApplyId = outapplyid
|
16688
|
+
@NotifyUrl = notifyurl
|
16689
|
+
@Environment = environment
|
16690
|
+
end
|
16691
|
+
|
16692
|
+
def deserialize(params)
|
16693
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
16694
|
+
@ChannelSubMerchantId = params['ChannelSubMerchantId']
|
16695
|
+
@ChannelName = params['ChannelName']
|
16696
|
+
@PaymentMethod = params['PaymentMethod']
|
16697
|
+
@BindSerialNo = params['BindSerialNo']
|
16698
|
+
@OutApplyId = params['OutApplyId']
|
16699
|
+
@NotifyUrl = params['NotifyUrl']
|
16700
|
+
@Environment = params['Environment']
|
16701
|
+
end
|
16702
|
+
end
|
16703
|
+
|
16704
|
+
# UnbindOpenBankExternalSubMerchantBankAccount返回参数结构体
|
16705
|
+
class UnbindOpenBankExternalSubMerchantBankAccountResponse < TencentCloud::Common::AbstractModel
|
16706
|
+
# @param ErrCode: 错误码。
|
16707
|
+
# __SUCCESS__: 成功
|
16708
|
+
# __其他__: 见附录-错误码表
|
16709
|
+
# @type ErrCode: String
|
16710
|
+
# @param ErrMessage: 错误消息。
|
16711
|
+
# @type ErrMessage: String
|
16712
|
+
# @param Result: 返回结果。
|
16713
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
16714
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.UnbindOpenBankExternalSubMerchantBankAccountResult`
|
16715
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
16716
|
+
# @type RequestId: String
|
16717
|
+
|
16718
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
16719
|
+
|
16720
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
16721
|
+
@ErrCode = errcode
|
16722
|
+
@ErrMessage = errmessage
|
16723
|
+
@Result = result
|
16724
|
+
@RequestId = requestid
|
16725
|
+
end
|
16726
|
+
|
16727
|
+
def deserialize(params)
|
16728
|
+
@ErrCode = params['ErrCode']
|
16729
|
+
@ErrMessage = params['ErrMessage']
|
16730
|
+
unless params['Result'].nil?
|
16731
|
+
@Result = UnbindOpenBankExternalSubMerchantBankAccountResult.new
|
16732
|
+
@Result.deserialize(params['Result'])
|
16733
|
+
end
|
16734
|
+
@RequestId = params['RequestId']
|
16735
|
+
end
|
16736
|
+
end
|
16737
|
+
|
16738
|
+
# 第三方子商户银行卡解绑返回结果
|
16739
|
+
class UnbindOpenBankExternalSubMerchantBankAccountResult < TencentCloud::Common::AbstractModel
|
16740
|
+
# @param ChannelApplyId: 渠道申请编号。
|
16741
|
+
# @type ChannelApplyId: String
|
16742
|
+
# @param UnbindStatus: 解绑状态。
|
16743
|
+
# __SUCCESS__: 解绑成功
|
16744
|
+
# __FAILED__: 解绑失败
|
16745
|
+
# __PROCESSING__: 解绑中
|
16746
|
+
# 注意:若返回解绑中,需要再次调用解绑结果查询接口查询结果。
|
16747
|
+
# @type UnbindStatus: String
|
16748
|
+
# @param UnbindMessage: 解绑返回描述, 例如失败原因等。
|
16749
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
16750
|
+
# @type UnbindMessage: String
|
16751
|
+
|
16752
|
+
attr_accessor :ChannelApplyId, :UnbindStatus, :UnbindMessage
|
16753
|
+
|
16754
|
+
def initialize(channelapplyid=nil, unbindstatus=nil, unbindmessage=nil)
|
16755
|
+
@ChannelApplyId = channelapplyid
|
16756
|
+
@UnbindStatus = unbindstatus
|
16757
|
+
@UnbindMessage = unbindmessage
|
16758
|
+
end
|
16759
|
+
|
16760
|
+
def deserialize(params)
|
16761
|
+
@ChannelApplyId = params['ChannelApplyId']
|
16762
|
+
@UnbindStatus = params['UnbindStatus']
|
16763
|
+
@UnbindMessage = params['UnbindMessage']
|
16764
|
+
end
|
16765
|
+
end
|
16766
|
+
|
15146
16767
|
# UnbindRelateAcct请求参数结构体
|
15147
16768
|
class UnbindRelateAcctRequest < TencentCloud::Common::AbstractModel
|
15148
16769
|
# @param MrchCode: String(22),商户号(签约客户号)
|