tencentcloud-sdk-cpdp 1.0.315 → 1.0.316

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0fb2a94795e0da9e41606390f5e358b6996f94b
4
- data.tar.gz: 9a8cb4e3e22d9ea198bfc31de60620761bbdb274
3
+ metadata.gz: 49ccd91fcd1e56375dc3dc0b15575c270b918aa9
4
+ data.tar.gz: f02f5f156d63414e6b5f7256d314bc72bfa5e7ab
5
5
  SHA512:
6
- metadata.gz: 86fcef35c702771986154a9ee2f62ad2e6128b6ba91412de3fb3d510b245619718c2963926a3be4b846e349b5713ccb6fafdfe3effe450b81fc54683762519fc
7
- data.tar.gz: 229b2a48730ea80792f7c9208f0749651200856db45aabe06256578300890757126cc180716a2eb54d8bdd6d310edeb3482965ff9843f310e3019fb14de9a2ad
6
+ metadata.gz: 405389be69bb6fbd7127ef708591d05d8c346d4025e6114365eabfb39e8c2337ae8ce9c5f50a198e69e74a7527fe426a5cc967a924bbe3bfdb150e3511688d94
7
+ data.tar.gz: df35f50b234909b767dc6b789711c48be2edbca7c2a14a27442fb5aefee54fbdd196af2180ff377828bf2112a7cf6f88390f29aacdb9ded9b8577a957680ffb8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.315
1
+ 1.0.316
@@ -1021,6 +1021,78 @@ module TencentCloud
1021
1021
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1022
1022
  end
1023
1023
 
1024
+ # 务工卡-核身预下单
1025
+
1026
+ # @param request: Request instance for CreatePayRollPreOrder.
1027
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::CreatePayRollPreOrderRequest`
1028
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::CreatePayRollPreOrderResponse`
1029
+ def CreatePayRollPreOrder(request)
1030
+ body = send_request('CreatePayRollPreOrder', request.serialize)
1031
+ response = JSON.parse(body)
1032
+ if response['Response'].key?('Error') == false
1033
+ model = CreatePayRollPreOrderResponse.new
1034
+ model.deserialize(response['Response'])
1035
+ model
1036
+ else
1037
+ code = response['Response']['Error']['Code']
1038
+ message = response['Response']['Error']['Message']
1039
+ reqid = response['Response']['RequestId']
1040
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1041
+ end
1042
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1043
+ raise e
1044
+ rescue StandardError => e
1045
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1046
+ end
1047
+
1048
+ # 务工卡-核身预下单带授权
1049
+
1050
+ # @param request: Request instance for CreatePayRollPreOrderWithAuth.
1051
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::CreatePayRollPreOrderWithAuthRequest`
1052
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::CreatePayRollPreOrderWithAuthResponse`
1053
+ def CreatePayRollPreOrderWithAuth(request)
1054
+ body = send_request('CreatePayRollPreOrderWithAuth', request.serialize)
1055
+ response = JSON.parse(body)
1056
+ if response['Response'].key?('Error') == false
1057
+ model = CreatePayRollPreOrderWithAuthResponse.new
1058
+ model.deserialize(response['Response'])
1059
+ model
1060
+ else
1061
+ code = response['Response']['Error']['Code']
1062
+ message = response['Response']['Error']['Message']
1063
+ reqid = response['Response']['RequestId']
1064
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1065
+ end
1066
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1067
+ raise e
1068
+ rescue StandardError => e
1069
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1070
+ end
1071
+
1072
+ # 务工卡-生成授权令牌
1073
+
1074
+ # @param request: Request instance for CreatePayRollToken.
1075
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::CreatePayRollTokenRequest`
1076
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::CreatePayRollTokenResponse`
1077
+ def CreatePayRollToken(request)
1078
+ body = send_request('CreatePayRollToken', request.serialize)
1079
+ response = JSON.parse(body)
1080
+ if response['Response'].key?('Error') == false
1081
+ model = CreatePayRollTokenResponse.new
1082
+ model.deserialize(response['Response'])
1083
+ model
1084
+ else
1085
+ code = response['Response']['Error']['Code']
1086
+ message = response['Response']['Error']['Message']
1087
+ reqid = response['Response']['RequestId']
1088
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1089
+ end
1090
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1091
+ raise e
1092
+ rescue StandardError => e
1093
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1094
+ end
1095
+
1024
1096
  # 智慧零售-发票红冲
1025
1097
 
1026
1098
  # @param request: Request instance for CreateRedInvoice.
@@ -1599,6 +1671,78 @@ module TencentCloud
1599
1671
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1600
1672
  end
1601
1673
 
1674
+ # 务工卡-查询授权关系
1675
+
1676
+ # @param request: Request instance for GetPayRollAuth.
1677
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::GetPayRollAuthRequest`
1678
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::GetPayRollAuthResponse`
1679
+ def GetPayRollAuth(request)
1680
+ body = send_request('GetPayRollAuth', request.serialize)
1681
+ response = JSON.parse(body)
1682
+ if response['Response'].key?('Error') == false
1683
+ model = GetPayRollAuthResponse.new
1684
+ model.deserialize(response['Response'])
1685
+ model
1686
+ else
1687
+ code = response['Response']['Error']['Code']
1688
+ message = response['Response']['Error']['Message']
1689
+ reqid = response['Response']['RequestId']
1690
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1691
+ end
1692
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1693
+ raise e
1694
+ rescue StandardError => e
1695
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1696
+ end
1697
+
1698
+ # 务工卡-查询核身记录
1699
+
1700
+ # @param request: Request instance for GetPayRollAuthList.
1701
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::GetPayRollAuthListRequest`
1702
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::GetPayRollAuthListResponse`
1703
+ def GetPayRollAuthList(request)
1704
+ body = send_request('GetPayRollAuthList', request.serialize)
1705
+ response = JSON.parse(body)
1706
+ if response['Response'].key?('Error') == false
1707
+ model = GetPayRollAuthListResponse.new
1708
+ model.deserialize(response['Response'])
1709
+ model
1710
+ else
1711
+ code = response['Response']['Error']['Code']
1712
+ message = response['Response']['Error']['Message']
1713
+ reqid = response['Response']['RequestId']
1714
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1715
+ end
1716
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1717
+ raise e
1718
+ rescue StandardError => e
1719
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1720
+ end
1721
+
1722
+ # 务工卡-获取核身结果
1723
+
1724
+ # @param request: Request instance for GetPayRollAuthResult.
1725
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::GetPayRollAuthResultRequest`
1726
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::GetPayRollAuthResultResponse`
1727
+ def GetPayRollAuthResult(request)
1728
+ body = send_request('GetPayRollAuthResult', request.serialize)
1729
+ response = JSON.parse(body)
1730
+ if response['Response'].key?('Error') == false
1731
+ model = GetPayRollAuthResultResponse.new
1732
+ model.deserialize(response['Response'])
1733
+ model
1734
+ else
1735
+ code = response['Response']['Error']['Code']
1736
+ message = response['Response']['Error']['Message']
1737
+ reqid = response['Response']['RequestId']
1738
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1739
+ end
1740
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1741
+ raise e
1742
+ rescue StandardError => e
1743
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1744
+ end
1745
+
1602
1746
  # 山姆聚合支付项目-存量订单退款接口。可以通过本接口将支付款全部或部分退还给付款方,在收到用户退款请求并且验证成功之后,按照退款规则将支付款按原路退回到支付帐号。
1603
1747
 
1604
1748
  # @param request: Request instance for MigrateOrderRefund.
@@ -6442,6 +6442,266 @@ module TencentCloud
6442
6442
  end
6443
6443
  end
6444
6444
 
6445
+ # CreatePayRollPreOrder请求参数结构体
6446
+ class CreatePayRollPreOrderRequest < TencentCloud::Common::AbstractModel
6447
+ # @param OpenId: 用户在商户对应appid下的唯一标识
6448
+ # @type OpenId: String
6449
+ # @param SubMerchantId: 微信服务商下特约商户的商户号,由微信支付生成并下发
6450
+ # @type SubMerchantId: String
6451
+ # @param AuthNumber: 商户系统内部的商家核身单号,要求此参数只能由数字、大小写字母组成,在服务商内部唯一
6452
+ # @type AuthNumber: String
6453
+ # @param ProjectName: 该劳务活动的项目名称
6454
+ # @type ProjectName: String
6455
+ # @param CompanyName: 该工人所属的用工企业
6456
+ # @type CompanyName: String
6457
+ # @param WechatAppId: 是服务商在微信申请公众号/小程序或移动应用成功后分配的账号ID(与服务商主体一致)
6458
+ # 当输入服务商Appid时,会校验其与服务商商户号的绑定关系。服务商APPID和与特约商户APPID至少输入一个,且必须要有拉起领薪卡小程序时使用的APPID
6459
+ # @type WechatAppId: String
6460
+ # @param WechatSubAppId: 特约商户在微信申请公众号/小程序或移动应用成功后分配的账号ID(与特约商户主体一致)
6461
+ # 当输入特约商户Appid时,会校验其与特约商户号的绑定关系。服务商APPID和与特约商户APPID至少输入一个,且必须要有拉起领薪卡小程序时使用的APPID
6462
+ # @type WechatSubAppId: String
6463
+
6464
+ attr_accessor :OpenId, :SubMerchantId, :AuthNumber, :ProjectName, :CompanyName, :WechatAppId, :WechatSubAppId
6465
+
6466
+ def initialize(openid=nil, submerchantid=nil, authnumber=nil, projectname=nil, companyname=nil, wechatappid=nil, wechatsubappid=nil)
6467
+ @OpenId = openid
6468
+ @SubMerchantId = submerchantid
6469
+ @AuthNumber = authnumber
6470
+ @ProjectName = projectname
6471
+ @CompanyName = companyname
6472
+ @WechatAppId = wechatappid
6473
+ @WechatSubAppId = wechatsubappid
6474
+ end
6475
+
6476
+ def deserialize(params)
6477
+ @OpenId = params['OpenId']
6478
+ @SubMerchantId = params['SubMerchantId']
6479
+ @AuthNumber = params['AuthNumber']
6480
+ @ProjectName = params['ProjectName']
6481
+ @CompanyName = params['CompanyName']
6482
+ @WechatAppId = params['WechatAppId']
6483
+ @WechatSubAppId = params['WechatSubAppId']
6484
+ end
6485
+ end
6486
+
6487
+ # CreatePayRollPreOrder返回参数结构体
6488
+ class CreatePayRollPreOrderResponse < TencentCloud::Common::AbstractModel
6489
+ # @param AuthNumber: 商户系统内部的商家核身单号,要求此参数只能由数字、大小写字母组成,在服务商内部唯一
6490
+ # @type AuthNumber: String
6491
+ # @param ExpireTime: Token有效时间,单位秒
6492
+ # @type ExpireTime: Integer
6493
+ # @param MerchantId: 微信服务商商户的商户号,由微信支付生成并下发
6494
+ # @type MerchantId: String
6495
+ # @param OpenId: 用户在商户对应appid下的唯一标识
6496
+ # @type OpenId: String
6497
+ # @param SubMerchantId: 微信服务商下特约商户的商户号,由微信支付生成并下发
6498
+ # @type SubMerchantId: String
6499
+ # @param Token: Token值
6500
+ # @type Token: String
6501
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6502
+ # @type RequestId: String
6503
+
6504
+ attr_accessor :AuthNumber, :ExpireTime, :MerchantId, :OpenId, :SubMerchantId, :Token, :RequestId
6505
+
6506
+ def initialize(authnumber=nil, expiretime=nil, merchantid=nil, openid=nil, submerchantid=nil, token=nil, requestid=nil)
6507
+ @AuthNumber = authnumber
6508
+ @ExpireTime = expiretime
6509
+ @MerchantId = merchantid
6510
+ @OpenId = openid
6511
+ @SubMerchantId = submerchantid
6512
+ @Token = token
6513
+ @RequestId = requestid
6514
+ end
6515
+
6516
+ def deserialize(params)
6517
+ @AuthNumber = params['AuthNumber']
6518
+ @ExpireTime = params['ExpireTime']
6519
+ @MerchantId = params['MerchantId']
6520
+ @OpenId = params['OpenId']
6521
+ @SubMerchantId = params['SubMerchantId']
6522
+ @Token = params['Token']
6523
+ @RequestId = params['RequestId']
6524
+ end
6525
+ end
6526
+
6527
+ # CreatePayRollPreOrderWithAuth请求参数结构体
6528
+ class CreatePayRollPreOrderWithAuthRequest < TencentCloud::Common::AbstractModel
6529
+ # @param OpenId: 用户在商户对应appid下的唯一标识
6530
+ # @type OpenId: String
6531
+ # @param SubMerchantId: 微信服务商下特约商户的商户号,由微信支付生成并下发
6532
+ # @type SubMerchantId: String
6533
+ # @param AuthNumber: 商户系统内部的商家核身单号,要求此参数只能由数字、大小写字母组成,在服务商内部唯一
6534
+ # @type AuthNumber: String
6535
+ # @param ProjectName: 该劳务活动的项目名称
6536
+ # @type ProjectName: String
6537
+ # @param CompanyName: 该工人所属的用工企业
6538
+ # @type CompanyName: String
6539
+ # @param UserName: 用户实名信息,该字段需进行加密处理,加密方法详见[敏感信息加密说明](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_3.shtml)
6540
+ # @type UserName: String
6541
+ # @param IdNo: 用户证件号,该字段需进行加密处理,加密方法详见[敏感信息加密说明](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_3.shtml)
6542
+ # @type IdNo: String
6543
+ # @param EmploymentType: 微工卡服务仅支持用于与商户有用工关系的用户,需明确用工类型;参考值:
6544
+ # LONG_TERM_EMPLOYMENT:长期用工,
6545
+ # SHORT_TERM_EMPLOYMENT: 短期用工,
6546
+ # COOPERATION_EMPLOYMENT:合作关系
6547
+ # @type EmploymentType: String
6548
+ # @param WechatAppId: 是服务商在微信申请公众号/小程序或移动应用成功后分配的账号ID(与服务商主体一致)
6549
+ # 当输入服务商Appid时,会校验其与服务商商户号的绑定关系。服务商APPID和与特约商户APPID至少输入一个,且必须要有拉起领薪卡小程序时使用的APPID
6550
+ # @type WechatAppId: String
6551
+ # @param WechatSubAppId: 特约商户在微信申请公众号/小程序或移动应用成功后分配的账号ID(与特约商户主体一致)
6552
+ # 当输入特约商户Appid时,会校验其与特约商户号的绑定关系。服务商APPID和与特约商户APPID至少输入一个,且必须要有拉起领薪卡小程序时使用的APPID
6553
+ # @type WechatSubAppId: String
6554
+
6555
+ attr_accessor :OpenId, :SubMerchantId, :AuthNumber, :ProjectName, :CompanyName, :UserName, :IdNo, :EmploymentType, :WechatAppId, :WechatSubAppId
6556
+
6557
+ def initialize(openid=nil, submerchantid=nil, authnumber=nil, projectname=nil, companyname=nil, username=nil, idno=nil, employmenttype=nil, wechatappid=nil, wechatsubappid=nil)
6558
+ @OpenId = openid
6559
+ @SubMerchantId = submerchantid
6560
+ @AuthNumber = authnumber
6561
+ @ProjectName = projectname
6562
+ @CompanyName = companyname
6563
+ @UserName = username
6564
+ @IdNo = idno
6565
+ @EmploymentType = employmenttype
6566
+ @WechatAppId = wechatappid
6567
+ @WechatSubAppId = wechatsubappid
6568
+ end
6569
+
6570
+ def deserialize(params)
6571
+ @OpenId = params['OpenId']
6572
+ @SubMerchantId = params['SubMerchantId']
6573
+ @AuthNumber = params['AuthNumber']
6574
+ @ProjectName = params['ProjectName']
6575
+ @CompanyName = params['CompanyName']
6576
+ @UserName = params['UserName']
6577
+ @IdNo = params['IdNo']
6578
+ @EmploymentType = params['EmploymentType']
6579
+ @WechatAppId = params['WechatAppId']
6580
+ @WechatSubAppId = params['WechatSubAppId']
6581
+ end
6582
+ end
6583
+
6584
+ # CreatePayRollPreOrderWithAuth返回参数结构体
6585
+ class CreatePayRollPreOrderWithAuthResponse < TencentCloud::Common::AbstractModel
6586
+ # @param AuthNumber: 商户系统内部的商家核身单号,要求此参数只能由数字、大小写字母组成,在服务商内部唯一
6587
+ # @type AuthNumber: String
6588
+ # @param ExpireTime: Token有效时间,单位秒
6589
+ # @type ExpireTime: Integer
6590
+ # @param MerchantId: 微信服务商商户的商户号,由微信支付生成并下发
6591
+ # @type MerchantId: String
6592
+ # @param OpenId: 用户在商户对应appid下的唯一标识
6593
+ # @type OpenId: String
6594
+ # @param SubMerchantId: 微信服务商下特约商户的商户号,由微信支付生成并下发
6595
+ # @type SubMerchantId: String
6596
+ # @param Token: Token值
6597
+ # @type Token: String
6598
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6599
+ # @type RequestId: String
6600
+
6601
+ attr_accessor :AuthNumber, :ExpireTime, :MerchantId, :OpenId, :SubMerchantId, :Token, :RequestId
6602
+
6603
+ def initialize(authnumber=nil, expiretime=nil, merchantid=nil, openid=nil, submerchantid=nil, token=nil, requestid=nil)
6604
+ @AuthNumber = authnumber
6605
+ @ExpireTime = expiretime
6606
+ @MerchantId = merchantid
6607
+ @OpenId = openid
6608
+ @SubMerchantId = submerchantid
6609
+ @Token = token
6610
+ @RequestId = requestid
6611
+ end
6612
+
6613
+ def deserialize(params)
6614
+ @AuthNumber = params['AuthNumber']
6615
+ @ExpireTime = params['ExpireTime']
6616
+ @MerchantId = params['MerchantId']
6617
+ @OpenId = params['OpenId']
6618
+ @SubMerchantId = params['SubMerchantId']
6619
+ @Token = params['Token']
6620
+ @RequestId = params['RequestId']
6621
+ end
6622
+ end
6623
+
6624
+ # CreatePayRollToken请求参数结构体
6625
+ class CreatePayRollTokenRequest < TencentCloud::Common::AbstractModel
6626
+ # @param OpenId: 用户在商户对应appid下的唯一标识
6627
+ # @type OpenId: String
6628
+ # @param SubMerchantId: 微信服务商下特约商户的商户号,由微信支付生成并下发
6629
+ # @type SubMerchantId: String
6630
+ # @param UserName: 用户实名信息,该字段需进行加密处理,加密方法详见[敏感信息加密说明](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_3.shtml)
6631
+ # @type UserName: String
6632
+ # @param IdNo: 用户证件号,该字段需进行加密处理,加密方法详见[敏感信息加密说明](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_3.shtml)
6633
+ # @type IdNo: String
6634
+ # @param EmploymentType: 微工卡服务仅支持用于与商户有用工关系的用户,需明确用工类型;参考值:
6635
+ # LONG_TERM_EMPLOYMENT:长期用工,
6636
+ # SHORT_TERM_EMPLOYMENT: 短期用工,
6637
+ # COOPERATION_EMPLOYMENT:合作关系
6638
+ # @type EmploymentType: String
6639
+ # @param WechatAppId: 是服务商在微信申请公众号/小程序或移动应用成功后分配的账号ID(与服务商主体一致)
6640
+ # 当输入服务商Appid时,会校验其与服务商商户号的绑定关系。服务商APPID和与特约商户APPID至少输入一个,且必须要有拉起领薪卡小程序时使用的APPID
6641
+ # @type WechatAppId: String
6642
+ # @param WechatSubAppId: 特约商户在微信申请公众号/小程序或移动应用成功后分配的账号ID(与特约商户主体一致)
6643
+ # 当输入特约商户Appid时,会校验其与特约商户号的绑定关系。服务商APPID和与特约商户APPID至少输入一个,且必须要有拉起领薪卡小程序时使用的APPID
6644
+ # @type WechatSubAppId: String
6645
+
6646
+ attr_accessor :OpenId, :SubMerchantId, :UserName, :IdNo, :EmploymentType, :WechatAppId, :WechatSubAppId
6647
+
6648
+ def initialize(openid=nil, submerchantid=nil, username=nil, idno=nil, employmenttype=nil, wechatappid=nil, wechatsubappid=nil)
6649
+ @OpenId = openid
6650
+ @SubMerchantId = submerchantid
6651
+ @UserName = username
6652
+ @IdNo = idno
6653
+ @EmploymentType = employmenttype
6654
+ @WechatAppId = wechatappid
6655
+ @WechatSubAppId = wechatsubappid
6656
+ end
6657
+
6658
+ def deserialize(params)
6659
+ @OpenId = params['OpenId']
6660
+ @SubMerchantId = params['SubMerchantId']
6661
+ @UserName = params['UserName']
6662
+ @IdNo = params['IdNo']
6663
+ @EmploymentType = params['EmploymentType']
6664
+ @WechatAppId = params['WechatAppId']
6665
+ @WechatSubAppId = params['WechatSubAppId']
6666
+ end
6667
+ end
6668
+
6669
+ # CreatePayRollToken返回参数结构体
6670
+ class CreatePayRollTokenResponse < TencentCloud::Common::AbstractModel
6671
+ # @param ExpireTime: Token有效时间,单位秒
6672
+ # @type ExpireTime: Integer
6673
+ # @param MerchantId: 微信服务商商户的商户号,由微信支付生成并下发
6674
+ # @type MerchantId: String
6675
+ # @param OpenId: 用户在商户对应appid下的唯一标识
6676
+ # @type OpenId: String
6677
+ # @param SubMerchantId: 微信服务商下特约商户的商户号,由微信支付生成并下发
6678
+ # @type SubMerchantId: String
6679
+ # @param Token: Token值
6680
+ # @type Token: String
6681
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6682
+ # @type RequestId: String
6683
+
6684
+ attr_accessor :ExpireTime, :MerchantId, :OpenId, :SubMerchantId, :Token, :RequestId
6685
+
6686
+ def initialize(expiretime=nil, merchantid=nil, openid=nil, submerchantid=nil, token=nil, requestid=nil)
6687
+ @ExpireTime = expiretime
6688
+ @MerchantId = merchantid
6689
+ @OpenId = openid
6690
+ @SubMerchantId = submerchantid
6691
+ @Token = token
6692
+ @RequestId = requestid
6693
+ end
6694
+
6695
+ def deserialize(params)
6696
+ @ExpireTime = params['ExpireTime']
6697
+ @MerchantId = params['MerchantId']
6698
+ @OpenId = params['OpenId']
6699
+ @SubMerchantId = params['SubMerchantId']
6700
+ @Token = params['Token']
6701
+ @RequestId = params['RequestId']
6702
+ end
6703
+ end
6704
+
6445
6705
  # 创建红票明细
6446
6706
  class CreateRedInvoiceItem < TencentCloud::Common::AbstractModel
6447
6707
  # @param OrderId: 订单号
@@ -8775,6 +9035,210 @@ module TencentCloud
8775
9035
  end
8776
9036
  end
8777
9037
 
9038
+ # GetPayRollAuthList请求参数结构体
9039
+ class GetPayRollAuthListRequest < TencentCloud::Common::AbstractModel
9040
+ # @param OpenId: 用户在商户对应appid下的唯一标识
9041
+ # @type OpenId: String
9042
+ # @param SubMerchantId: 微信服务商下特约商户的商户号,由微信支付生成并下发
9043
+ # @type SubMerchantId: String
9044
+ # @param AuthDate: 核身日期,一次只能查询一天,最久可查询90天内的记录,格式为YYYY-MM-DD
9045
+ # @type AuthDate: String
9046
+ # @param Offset: 非负整数,表示该次请求资源的起始位置,从0开始计数
9047
+ # @type Offset: Integer
9048
+ # @param Limit: 非0非负的整数,该次请求可返回的最大资源条数,默认值为10,最大支持10条
9049
+ # @type Limit: Integer
9050
+ # @param WechatAppId: 是服务商在微信申请公众号/小程序或移动应用成功后分配的账号ID(与服务商主体一致)
9051
+ # 当输入服务商Appid时,会校验其与服务商商户号的绑定关系。服务商APPID和与特约商户APPID至少输入一个,且必须要有拉起领薪卡小程序时使用的APPID
9052
+ # @type WechatAppId: String
9053
+ # @param WechatSubAppId: 特约商户在微信申请公众号/小程序或移动应用成功后分配的账号ID(与特约商户主体一致)
9054
+ # 当输入特约商户Appid时,会校验其与特约商户号的绑定关系。服务商APPID和与特约商户APPID至少输入一个,且必须要有拉起领薪卡小程序时使用的APPID
9055
+ # @type WechatSubAppId: String
9056
+ # @param AuthStatus: 核身状态,列表查询仅提供成功状态的核身记录查询,故此字段固定AUTHENTICATE_SUCCESS即可
9057
+ # @type AuthStatus: String
9058
+
9059
+ attr_accessor :OpenId, :SubMerchantId, :AuthDate, :Offset, :Limit, :WechatAppId, :WechatSubAppId, :AuthStatus
9060
+
9061
+ def initialize(openid=nil, submerchantid=nil, authdate=nil, offset=nil, limit=nil, wechatappid=nil, wechatsubappid=nil, authstatus=nil)
9062
+ @OpenId = openid
9063
+ @SubMerchantId = submerchantid
9064
+ @AuthDate = authdate
9065
+ @Offset = offset
9066
+ @Limit = limit
9067
+ @WechatAppId = wechatappid
9068
+ @WechatSubAppId = wechatsubappid
9069
+ @AuthStatus = authstatus
9070
+ end
9071
+
9072
+ def deserialize(params)
9073
+ @OpenId = params['OpenId']
9074
+ @SubMerchantId = params['SubMerchantId']
9075
+ @AuthDate = params['AuthDate']
9076
+ @Offset = params['Offset']
9077
+ @Limit = params['Limit']
9078
+ @WechatAppId = params['WechatAppId']
9079
+ @WechatSubAppId = params['WechatSubAppId']
9080
+ @AuthStatus = params['AuthStatus']
9081
+ end
9082
+ end
9083
+
9084
+ # GetPayRollAuthList返回参数结构体
9085
+ class GetPayRollAuthListResponse < TencentCloud::Common::AbstractModel
9086
+ # @param Results: 核身结果列表
9087
+ # 注意:此字段可能返回 null,表示取不到有效值。
9088
+ # @type Results: Array
9089
+ # @param Total: 总记录条数
9090
+ # @type Total: Integer
9091
+ # @param Offset: 记录起始位置,该次请求资源的起始位置,请求中包含偏移量时应答消息返回相同偏移量,否则返回默认值0
9092
+ # @type Offset: Integer
9093
+ # @param Limit: 本次返回条数
9094
+ # @type Limit: Integer
9095
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9096
+ # @type RequestId: String
9097
+
9098
+ attr_accessor :Results, :Total, :Offset, :Limit, :RequestId
9099
+
9100
+ def initialize(results=nil, total=nil, offset=nil, limit=nil, requestid=nil)
9101
+ @Results = results
9102
+ @Total = total
9103
+ @Offset = offset
9104
+ @Limit = limit
9105
+ @RequestId = requestid
9106
+ end
9107
+
9108
+ def deserialize(params)
9109
+ unless params['Results'].nil?
9110
+ @Results = []
9111
+ params['Results'].each do |i|
9112
+ payrollauthresult_tmp = PayRollAuthResult.new
9113
+ payrollauthresult_tmp.deserialize(i)
9114
+ @Results << payrollauthresult_tmp
9115
+ end
9116
+ end
9117
+ @Total = params['Total']
9118
+ @Offset = params['Offset']
9119
+ @Limit = params['Limit']
9120
+ @RequestId = params['RequestId']
9121
+ end
9122
+ end
9123
+
9124
+ # GetPayRollAuth请求参数结构体
9125
+ class GetPayRollAuthRequest < TencentCloud::Common::AbstractModel
9126
+ # @param OpenId: 用户在商户对应appid下的唯一标识
9127
+ # @type OpenId: String
9128
+ # @param SubMerchantId: 微信服务商下特约商户的商户号,由微信支付生成并下发
9129
+ # @type SubMerchantId: String
9130
+ # @param WechatAppId: 是服务商在微信申请公众号/小程序或移动应用成功后分配的账号ID(与服务商主体一致)
9131
+ # 当输入服务商Appid时,会校验其与服务商商户号的绑定关系。服务商APPID和与特约商户APPID至少输入一个,且必须要有拉起领薪卡小程序时使用的APPID
9132
+ # @type WechatAppId: String
9133
+ # @param WechatSubAppId: 特约商户在微信申请公众号/小程序或移动应用成功后分配的账号ID(与特约商户主体一致)
9134
+ # 当输入特约商户Appid时,会校验其与特约商户号的绑定关系。服务商APPID和与特约商户APPID至少输入一个,且必须要有拉起领薪卡小程序时使用的APPID
9135
+ # @type WechatSubAppId: String
9136
+
9137
+ attr_accessor :OpenId, :SubMerchantId, :WechatAppId, :WechatSubAppId
9138
+
9139
+ def initialize(openid=nil, submerchantid=nil, wechatappid=nil, wechatsubappid=nil)
9140
+ @OpenId = openid
9141
+ @SubMerchantId = submerchantid
9142
+ @WechatAppId = wechatappid
9143
+ @WechatSubAppId = wechatsubappid
9144
+ end
9145
+
9146
+ def deserialize(params)
9147
+ @OpenId = params['OpenId']
9148
+ @SubMerchantId = params['SubMerchantId']
9149
+ @WechatAppId = params['WechatAppId']
9150
+ @WechatSubAppId = params['WechatSubAppId']
9151
+ end
9152
+ end
9153
+
9154
+ # GetPayRollAuth返回参数结构体
9155
+ class GetPayRollAuthResponse < TencentCloud::Common::AbstractModel
9156
+ # @param AuthStatus: 授权状态:
9157
+ # UNAUTHORIZED:未授权
9158
+ # AUTHORIZED:已授权
9159
+ # DEAUTHORIZED:已取消授权
9160
+ # @type AuthStatus: String
9161
+ # @param AuthTime: 授权时间,遵循[rfc3339](https://datatracker.ietf.org/doc/html/rfc3339)标准格式,格式为YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE,空字符串等同null
9162
+ # 注意:此字段可能返回 null,表示取不到有效值。
9163
+ # @type AuthTime: String
9164
+ # @param CancelAuthTime: 授权时间,遵循[rfc3339](https://datatracker.ietf.org/doc/html/rfc3339)标准格式,格式为YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE,空字符串等同null
9165
+ # 注意:此字段可能返回 null,表示取不到有效值。
9166
+ # @type CancelAuthTime: String
9167
+ # @param MerchantId: 微信服务商商户的商户号,由微信支付生成并下发
9168
+ # @type MerchantId: String
9169
+ # @param OpenId: 用户在商户对应appid下的唯一标识
9170
+ # @type OpenId: String
9171
+ # @param SubMerchantId: 微信服务商下特约商户的商户号,由微信支付生成并下发
9172
+ # @type SubMerchantId: String
9173
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9174
+ # @type RequestId: String
9175
+
9176
+ attr_accessor :AuthStatus, :AuthTime, :CancelAuthTime, :MerchantId, :OpenId, :SubMerchantId, :RequestId
9177
+
9178
+ def initialize(authstatus=nil, authtime=nil, cancelauthtime=nil, merchantid=nil, openid=nil, submerchantid=nil, requestid=nil)
9179
+ @AuthStatus = authstatus
9180
+ @AuthTime = authtime
9181
+ @CancelAuthTime = cancelauthtime
9182
+ @MerchantId = merchantid
9183
+ @OpenId = openid
9184
+ @SubMerchantId = submerchantid
9185
+ @RequestId = requestid
9186
+ end
9187
+
9188
+ def deserialize(params)
9189
+ @AuthStatus = params['AuthStatus']
9190
+ @AuthTime = params['AuthTime']
9191
+ @CancelAuthTime = params['CancelAuthTime']
9192
+ @MerchantId = params['MerchantId']
9193
+ @OpenId = params['OpenId']
9194
+ @SubMerchantId = params['SubMerchantId']
9195
+ @RequestId = params['RequestId']
9196
+ end
9197
+ end
9198
+
9199
+ # GetPayRollAuthResult请求参数结构体
9200
+ class GetPayRollAuthResultRequest < TencentCloud::Common::AbstractModel
9201
+ # @param AuthNumber: 商户系统内部的商家核身单号,要求此参数只能由数字、大小写字母组成,在服务商内部唯一
9202
+ # @type AuthNumber: String
9203
+ # @param SubMerchantId: 微信服务商下特约商户的商户号,由微信支付生成并下发
9204
+ # @type SubMerchantId: String
9205
+
9206
+ attr_accessor :AuthNumber, :SubMerchantId
9207
+
9208
+ def initialize(authnumber=nil, submerchantid=nil)
9209
+ @AuthNumber = authnumber
9210
+ @SubMerchantId = submerchantid
9211
+ end
9212
+
9213
+ def deserialize(params)
9214
+ @AuthNumber = params['AuthNumber']
9215
+ @SubMerchantId = params['SubMerchantId']
9216
+ end
9217
+ end
9218
+
9219
+ # GetPayRollAuthResult返回参数结构体
9220
+ class GetPayRollAuthResultResponse < TencentCloud::Common::AbstractModel
9221
+ # @param Result: 核身结果
9222
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.PayRollAuthResult`
9223
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9224
+ # @type RequestId: String
9225
+
9226
+ attr_accessor :Result, :RequestId
9227
+
9228
+ def initialize(result=nil, requestid=nil)
9229
+ @Result = result
9230
+ @RequestId = requestid
9231
+ end
9232
+
9233
+ def deserialize(params)
9234
+ unless params['Result'].nil?
9235
+ @Result = PayRollAuthResult.new
9236
+ @Result.deserialize(params['Result'])
9237
+ end
9238
+ @RequestId = params['RequestId']
9239
+ end
9240
+ end
9241
+
8778
9242
  # 会员间交易明细信息
8779
9243
  class MemberTransactionItem < TencentCloud::Common::AbstractModel
8780
9244
  # @param TransType: 交易类型。
@@ -10143,6 +10607,68 @@ module TencentCloud
10143
10607
  end
10144
10608
  end
10145
10609
 
10610
+ # 微工卡核身结果
10611
+ class PayRollAuthResult < TencentCloud::Common::AbstractModel
10612
+ # @param AuthFailedReason: 结果为核身失败时的原因描述,仅在失败记录返回,空字符串等同null
10613
+ # 注意:此字段可能返回 null,表示取不到有效值。
10614
+ # @type AuthFailedReason: String
10615
+ # @param AuthNumber: 商户系统内部的商家核身单号,要求此参数只能由数字、大小写字母组成,在服务商内部唯一
10616
+ # @type AuthNumber: String
10617
+ # @param AuthScene: 核身渠道,发起核身时的来源渠道,如通过小程序,硬件设备等
10618
+ # FROM_MINI_APP:来自小程序方式核身
10619
+ # FROM_HARDWARE:来自硬件设备方式核身
10620
+ # @type AuthScene: String
10621
+ # @param AuthSource: 核身渠道标识,用于定位渠道具体来源,如果是扫码打卡渠道标识就是具体的小程序appid,若是硬件设备,则是设备的序列号等
10622
+ # @type AuthSource: String
10623
+ # @param AuthStatus: 核身状态
10624
+ # AUTHENTICATE_PROCESSING:核身中
10625
+ # AUTHENTICATE_SUCCESS:核身成功
10626
+ # AUTHENTICATE_FAILED:核身失败
10627
+ # @type AuthStatus: String
10628
+ # @param AuthTime: 核身时间,遵循[rfc3339](https://datatracker.ietf.org/doc/html/rfc3339)标准格式,格式为YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE
10629
+ # @type AuthTime: String
10630
+ # @param CompanyName: 该用户所属的单位名称
10631
+ # @type CompanyName: String
10632
+ # @param MerchantId: 微信服务商商户的商户号,由微信支付生成并下发
10633
+ # @type MerchantId: String
10634
+ # @param OpenId: 用户在商户对应appid下的唯一标识
10635
+ # @type OpenId: String
10636
+ # @param ProjectName: 该项目的名称
10637
+ # @type ProjectName: String
10638
+ # @param SubMerchantId: 微信服务商下特约商户的商户号,由微信支付生成并下发
10639
+ # @type SubMerchantId: String
10640
+
10641
+ attr_accessor :AuthFailedReason, :AuthNumber, :AuthScene, :AuthSource, :AuthStatus, :AuthTime, :CompanyName, :MerchantId, :OpenId, :ProjectName, :SubMerchantId
10642
+
10643
+ def initialize(authfailedreason=nil, authnumber=nil, authscene=nil, authsource=nil, authstatus=nil, authtime=nil, companyname=nil, merchantid=nil, openid=nil, projectname=nil, submerchantid=nil)
10644
+ @AuthFailedReason = authfailedreason
10645
+ @AuthNumber = authnumber
10646
+ @AuthScene = authscene
10647
+ @AuthSource = authsource
10648
+ @AuthStatus = authstatus
10649
+ @AuthTime = authtime
10650
+ @CompanyName = companyname
10651
+ @MerchantId = merchantid
10652
+ @OpenId = openid
10653
+ @ProjectName = projectname
10654
+ @SubMerchantId = submerchantid
10655
+ end
10656
+
10657
+ def deserialize(params)
10658
+ @AuthFailedReason = params['AuthFailedReason']
10659
+ @AuthNumber = params['AuthNumber']
10660
+ @AuthScene = params['AuthScene']
10661
+ @AuthSource = params['AuthSource']
10662
+ @AuthStatus = params['AuthStatus']
10663
+ @AuthTime = params['AuthTime']
10664
+ @CompanyName = params['CompanyName']
10665
+ @MerchantId = params['MerchantId']
10666
+ @OpenId = params['OpenId']
10667
+ @ProjectName = params['ProjectName']
10668
+ @SubMerchantId = params['SubMerchantId']
10669
+ end
10670
+ end
10671
+
10146
10672
  # QueryAcctBinding请求参数结构体
10147
10673
  class QueryAcctBindingRequest < TencentCloud::Common::AbstractModel
10148
10674
  # @param MidasAppId: 聚鑫分配的支付主MidasAppId
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cpdp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.315
4
+ version: 1.0.316
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud