@yunzhanghu/sdk-nodejs 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/example/calculatelabor.js +58 -0
- package/example/realName.js +149 -0
- package/package.json +1 -1
- package/src/services/calculatelabor/index.ts +161 -76
- package/src/services/dataservice/index.ts +608 -431
- package/src/services/payment/index.ts +494 -388
- package/src/services/realname/index.ts +123 -0
- package/yzh/services/calculatelabor/index.d.ts +91 -46
- package/yzh/services/calculatelabor/index.js +8 -0
- package/yzh/services/dataservice/index.d.ts +453 -318
- package/yzh/services/index.d.ts +1 -0
- package/yzh/services/index.js +4 -1
- package/yzh/services/payment/index.d.ts +269 -242
- package/yzh/services/realname/index.d.ts +123 -0
- package/yzh/services/realname/index.js +20 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import YZHclient from '../../common/client';
|
|
2
|
+
|
|
2
3
|
/** CreateBankpayOrderRequest 银行卡实时支付请求 */
|
|
3
4
|
interface CreateBankpayOrderRequest {
|
|
4
5
|
/** 平台企业订单号 */
|
|
@@ -33,12 +34,12 @@ interface CreateBankpayOrderRequest {
|
|
|
33
34
|
|
|
34
35
|
/** CreateBankpayOrderResponse 银行卡实时支付返回 */
|
|
35
36
|
interface CreateBankpayOrderResponse {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
/** 平台企业订单号 */
|
|
38
|
+
order_id: string;
|
|
39
|
+
/** 综合服务平台流水号 */
|
|
40
|
+
ref: string;
|
|
41
|
+
/** 订单金额 */
|
|
42
|
+
pay: string;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
/** CreateAlipayOrderRequest 支付宝实时支付请求 */
|
|
@@ -77,12 +78,12 @@ interface CreateAlipayOrderRequest {
|
|
|
77
78
|
|
|
78
79
|
/** CreateAlipayOrderResponse 支付宝实时支付返回 */
|
|
79
80
|
interface CreateAlipayOrderResponse {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
/** 平台企业订单号 */
|
|
82
|
+
order_id: string;
|
|
83
|
+
/** 综合服务平台流水号 */
|
|
84
|
+
ref: string;
|
|
85
|
+
/** 订单金额 */
|
|
86
|
+
pay: string;
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
/** CreateWxpayOrderRequest 微信实时支付请求 */
|
|
@@ -125,22 +126,22 @@ interface CreateWxpayOrderRequest {
|
|
|
125
126
|
|
|
126
127
|
/** CreateWxpayOrderResponse 微信实时支付返回 */
|
|
127
128
|
interface CreateWxpayOrderResponse {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
129
|
+
/** 平台企业订单号 */
|
|
130
|
+
order_id: string;
|
|
131
|
+
/** 综合服务平台流水号,唯一 */
|
|
132
|
+
ref: string;
|
|
133
|
+
/** 订单金额 */
|
|
134
|
+
pay: string;
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
/** GetOrderRequest 查询单笔订单信息请求 */
|
|
137
138
|
interface GetOrderRequest {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
139
|
+
/** 平台企业订单号 */
|
|
140
|
+
order_id: string;
|
|
141
|
+
/** 支付路径名,银行卡(默认)、支付宝、微信 */
|
|
142
|
+
channel: string;
|
|
143
|
+
/** 数据类型,如果为 encryption,则对返回的 data 进行加密 */
|
|
144
|
+
data_type: string;
|
|
144
145
|
}
|
|
145
146
|
|
|
146
147
|
/** GetOrderResponse 查询单笔订单信息返回 */
|
|
@@ -227,136 +228,142 @@ interface GetOrderResponse {
|
|
|
227
228
|
dealer_user_nickname: string;
|
|
228
229
|
/** 用户唯一标识码 */
|
|
229
230
|
dealer_user_id: string;
|
|
231
|
+
/** 用户实收金额(追缴前) */
|
|
232
|
+
user_real_excluding_vat_amount: string;
|
|
233
|
+
/** 已追缴增附税(本笔订单) */
|
|
234
|
+
user_recover_tax_amount: string;
|
|
230
235
|
}
|
|
231
236
|
|
|
232
237
|
/** GetDealerVARechargeAccountRequest 查询平台企业汇款信息请求 */
|
|
233
238
|
interface GetDealerVARechargeAccountRequest {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
239
|
+
/** 综合服务主体 ID */
|
|
240
|
+
broker_id: string;
|
|
241
|
+
/** 平台企业 ID */
|
|
242
|
+
dealer_id: string;
|
|
238
243
|
}
|
|
239
244
|
|
|
240
245
|
/** GetDealerVARechargeAccountResponse 查询平台企业汇款信息返回 */
|
|
241
246
|
interface GetDealerVARechargeAccountResponse {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
247
|
+
/** 账户名称 */
|
|
248
|
+
acct_name: string;
|
|
249
|
+
/** 专属账户 */
|
|
250
|
+
acct_no: string;
|
|
251
|
+
/** 银行名称 */
|
|
252
|
+
bank_name: string;
|
|
253
|
+
/** 付款账户 */
|
|
254
|
+
dealer_acct_name: string;
|
|
250
255
|
}
|
|
251
256
|
|
|
252
257
|
/** CancelOrderRequest 取消待支付订单请求 */
|
|
253
258
|
interface CancelOrderRequest {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
259
|
+
/** 平台企业 ID */
|
|
260
|
+
dealer_id: string;
|
|
261
|
+
/** 平台企业订单号 */
|
|
262
|
+
order_id: string;
|
|
263
|
+
/** 综合服务平台流水号 */
|
|
264
|
+
ref: string;
|
|
265
|
+
/** 支付路径名,银行卡(默认)、支付宝、微信 */
|
|
266
|
+
channel: string;
|
|
262
267
|
}
|
|
263
268
|
|
|
264
269
|
/** CancelOrderResponse 取消待支付订单返回 */
|
|
265
270
|
interface CancelOrderResponse {
|
|
266
|
-
|
|
271
|
+
|
|
272
|
+
ok: string;
|
|
267
273
|
}
|
|
268
274
|
|
|
269
275
|
/** RetryOrderRequest 重试挂起状态订单请求 */
|
|
270
276
|
interface RetryOrderRequest {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
/** 平台企业 ID */
|
|
278
|
+
dealer_id: string;
|
|
279
|
+
/** 平台企业订单号 */
|
|
280
|
+
order_id: string;
|
|
281
|
+
/** 综合服务平台流水号 */
|
|
282
|
+
ref: string;
|
|
283
|
+
/** 支付路径名 */
|
|
284
|
+
channel: string;
|
|
279
285
|
}
|
|
280
286
|
|
|
281
287
|
/** RetryOrderResponse 重试挂起状态订单返回 */
|
|
282
288
|
interface RetryOrderResponse {
|
|
283
|
-
|
|
284
|
-
|
|
289
|
+
/** 请求标识 */
|
|
290
|
+
ok: string;
|
|
285
291
|
}
|
|
286
292
|
|
|
287
293
|
/** ListAccountRequest 查询平台企业余额请求 */
|
|
288
294
|
interface ListAccountRequest {
|
|
289
|
-
|
|
290
|
-
|
|
295
|
+
/** 平台企业 ID */
|
|
296
|
+
dealer_id: string;
|
|
291
297
|
}
|
|
292
298
|
|
|
293
299
|
/** ListAccountResponse 查询平台企业余额返回 */
|
|
294
300
|
interface ListAccountResponse {
|
|
295
|
-
|
|
301
|
+
|
|
302
|
+
dealer_infos: AccountInfo[];
|
|
296
303
|
}
|
|
297
304
|
|
|
298
305
|
/** AccountInfo 账户信息 */
|
|
299
306
|
interface AccountInfo {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
307
|
+
/** 综合服务主体 ID */
|
|
308
|
+
broker_id: string;
|
|
309
|
+
/** 银行卡余额 */
|
|
310
|
+
bank_card_balance: string;
|
|
311
|
+
/** 是否开通银行卡支付路径 */
|
|
312
|
+
is_bank_card: boolean;
|
|
313
|
+
/** 支付宝余额 */
|
|
314
|
+
alipay_balance: string;
|
|
315
|
+
/** 是否开通支付宝支付路径 */
|
|
316
|
+
is_alipay: boolean;
|
|
317
|
+
/** 微信余额 */
|
|
318
|
+
wxpay_balance: string;
|
|
319
|
+
/** 是否开通微信支付路径 */
|
|
320
|
+
is_wxpay: boolean;
|
|
321
|
+
/** 加成服务费返点余额 */
|
|
322
|
+
rebate_fee_balance: string;
|
|
323
|
+
/** 业务服务费余额 */
|
|
324
|
+
acct_balance: string;
|
|
325
|
+
/** 总余额 */
|
|
326
|
+
total_balance: string;
|
|
320
327
|
}
|
|
321
328
|
|
|
322
329
|
/** GetEleReceiptFileRequest 查询电子回单请求 */
|
|
323
330
|
interface GetEleReceiptFileRequest {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
331
|
+
/** 平台企业订单号 */
|
|
332
|
+
order_id: string;
|
|
333
|
+
/** 综合服务平台流水号 */
|
|
334
|
+
ref: string;
|
|
328
335
|
}
|
|
329
336
|
|
|
330
337
|
/** GetEleReceiptFileResponse 查询电子回单返回 */
|
|
331
338
|
interface GetEleReceiptFileResponse {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
339
|
+
/** 链接失效时间 */
|
|
340
|
+
expire_time: string;
|
|
341
|
+
/** 回单名 */
|
|
342
|
+
file_name: string;
|
|
343
|
+
/** 下载链接 */
|
|
344
|
+
url: string;
|
|
338
345
|
}
|
|
339
346
|
|
|
340
347
|
/** CreateBatchOrderRequest 批次下单请求 */
|
|
341
348
|
interface CreateBatchOrderRequest {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
349
|
+
/** 平台企业批次号 */
|
|
350
|
+
batch_id: string;
|
|
351
|
+
/** 平台企业 ID */
|
|
352
|
+
dealer_id: string;
|
|
353
|
+
/** 综合服务主体 ID */
|
|
354
|
+
broker_id: string;
|
|
355
|
+
/** 支付路径 */
|
|
356
|
+
channel: string;
|
|
357
|
+
/** 平台企业的微信 AppID */
|
|
358
|
+
wx_app_id: string;
|
|
359
|
+
/** 订单总金额 */
|
|
360
|
+
total_pay: string;
|
|
361
|
+
/** 总笔数 */
|
|
362
|
+
total_count: string;
|
|
363
|
+
/** 支付模式 */
|
|
364
|
+
mode: string;
|
|
365
|
+
/** 订单列表 */
|
|
366
|
+
order_list: BatchOrderInfo[];
|
|
360
367
|
}
|
|
361
368
|
|
|
362
369
|
/** BatchOrderInfo 批次下单订单信息 */
|
|
@@ -391,186 +398,198 @@ interface BatchOrderInfo {
|
|
|
391
398
|
|
|
392
399
|
/** CreateBatchOrderResponse 批次下单返回 */
|
|
393
400
|
interface CreateBatchOrderResponse {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
401
|
+
/** 平台企业批次号 */
|
|
402
|
+
batch_id: string;
|
|
403
|
+
/** 订单结果列表 */
|
|
404
|
+
result_list: BatchOrderResult[];
|
|
398
405
|
}
|
|
399
406
|
|
|
400
407
|
/** BatchOrderResult 批次下单返回订单信息 */
|
|
401
408
|
interface BatchOrderResult {
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
409
|
+
/** 平台企业订单号 */
|
|
410
|
+
order_id: string;
|
|
411
|
+
/** 综合服务平台流水号 */
|
|
412
|
+
ref: string;
|
|
413
|
+
/** 订单金额 */
|
|
414
|
+
pay: string;
|
|
415
|
+
/** 下单状态 */
|
|
416
|
+
status: string;
|
|
417
|
+
/** 下单失败原因 */
|
|
418
|
+
error_reasons: BatchOrderErrorReasons[];
|
|
412
419
|
}
|
|
413
420
|
|
|
414
421
|
/** BatchOrderErrorReasons 下单失败原因信息 */
|
|
415
422
|
interface BatchOrderErrorReasons {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
423
|
+
/** 不允许下单原因码 */
|
|
424
|
+
error_code: string;
|
|
425
|
+
/** 不允许下单原因描述 */
|
|
426
|
+
error_message: string;
|
|
420
427
|
}
|
|
421
428
|
|
|
422
429
|
/** ConfirmBatchOrderRequest 批次确认请求 */
|
|
423
430
|
interface ConfirmBatchOrderRequest {
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
431
|
+
/** 平台企业批次号 */
|
|
432
|
+
batch_id: string;
|
|
433
|
+
/** 平台企业 ID */
|
|
434
|
+
dealer_id: string;
|
|
435
|
+
/** 综合服务主体 ID */
|
|
436
|
+
broker_id: string;
|
|
437
|
+
/** 支付路径 */
|
|
438
|
+
channel: string;
|
|
432
439
|
}
|
|
433
440
|
|
|
434
441
|
/** ConfirmBatchOrderResponse 批次确认返回 */
|
|
435
|
-
interface ConfirmBatchOrderResponse {
|
|
442
|
+
interface ConfirmBatchOrderResponse {
|
|
443
|
+
}
|
|
436
444
|
|
|
437
445
|
/** QueryBatchOrderRequest 查询批次订单信息请求 */
|
|
438
446
|
interface QueryBatchOrderRequest {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
447
|
+
/** 平台企业批次号 */
|
|
448
|
+
batch_id: string;
|
|
449
|
+
/** 平台企业 ID */
|
|
450
|
+
dealer_id: string;
|
|
443
451
|
}
|
|
444
452
|
|
|
445
453
|
/** QueryBatchOrderResponse 查询批次订单信息返回 */
|
|
446
454
|
interface QueryBatchOrderResponse {
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
455
|
+
/** 综合服务主体 ID */
|
|
456
|
+
broker_id: string;
|
|
457
|
+
/** 平台企业 ID */
|
|
458
|
+
dealer_id: string;
|
|
459
|
+
/** 平台企业批次号 */
|
|
460
|
+
batch_id: string;
|
|
461
|
+
/** 总笔数 */
|
|
462
|
+
total_count: string;
|
|
463
|
+
/** 订单总金额 */
|
|
464
|
+
total_pay: string;
|
|
465
|
+
/** 支付路径 */
|
|
466
|
+
channel: string;
|
|
467
|
+
/** 批次状态码 */
|
|
468
|
+
batch_status: string;
|
|
469
|
+
/** 批次状态码描述 */
|
|
470
|
+
batch_status_message: string;
|
|
471
|
+
/** 批次接收时间 */
|
|
472
|
+
batch_received_time: string;
|
|
473
|
+
/** 批次订单列表 */
|
|
474
|
+
order_list: QueryBatchOrderInfo[];
|
|
467
475
|
}
|
|
468
476
|
|
|
469
477
|
/** QueryBatchOrderInfo 查询批次订单信息订单详情 */
|
|
470
478
|
interface QueryBatchOrderInfo {
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
479
|
+
/** 平台企业订单号 */
|
|
480
|
+
order_id: string;
|
|
481
|
+
/** 订单金额 */
|
|
482
|
+
pay: string;
|
|
483
|
+
/** 综合服务主体 ID */
|
|
484
|
+
broker_id: string;
|
|
485
|
+
/** 平台企业 ID */
|
|
486
|
+
dealer_id: string;
|
|
487
|
+
/** 姓名 */
|
|
488
|
+
real_name: string;
|
|
489
|
+
/** 收款人账号 */
|
|
490
|
+
card_no: string;
|
|
491
|
+
/** 身份证号码 */
|
|
492
|
+
id_card: string;
|
|
493
|
+
/** 手机号 */
|
|
494
|
+
phone_no: string;
|
|
495
|
+
/** 订单状态码 */
|
|
496
|
+
status: string;
|
|
497
|
+
/** 订单详情状态码 */
|
|
498
|
+
status_detail: string;
|
|
499
|
+
/** 订单状态码描述 */
|
|
500
|
+
status_message: string;
|
|
501
|
+
/** 订单详情状态码描述 */
|
|
502
|
+
status_detail_message: string;
|
|
503
|
+
/** 订单状态补充信息 */
|
|
504
|
+
supplemental_detail_message: string;
|
|
505
|
+
/** 综合服务主体支付金额 */
|
|
506
|
+
broker_amount: string;
|
|
507
|
+
/** 综合服务平台流水号 */
|
|
508
|
+
ref: string;
|
|
509
|
+
/** 支付交易流水号 */
|
|
510
|
+
broker_bank_bill: string;
|
|
511
|
+
/** 支付路径 */
|
|
512
|
+
withdraw_platform: string;
|
|
513
|
+
/** 订单接收时间 */
|
|
514
|
+
created_at: string;
|
|
515
|
+
/** 订单完成时间 */
|
|
516
|
+
finished_time: string;
|
|
517
|
+
/** 应收综合服务主体加成服务费金额 */
|
|
518
|
+
broker_fee: string;
|
|
519
|
+
/** 应收余额账户支出加成服务费金额 */
|
|
520
|
+
broker_real_fee: string;
|
|
521
|
+
/** 应收加成服务费抵扣金额 */
|
|
522
|
+
broker_deduct_fee: string;
|
|
523
|
+
/** 应收用户加成服务费金额 */
|
|
524
|
+
user_fee: string;
|
|
525
|
+
/** 实收综合服务主体加成服务费金额 */
|
|
526
|
+
received_broker_fee: string;
|
|
527
|
+
/** 实收余额账户支出加成服务费金额 */
|
|
528
|
+
received_broker_real_fee: string;
|
|
529
|
+
/** 实收加成服务费抵扣金额 */
|
|
530
|
+
received_broker_deduct_fee: string;
|
|
531
|
+
/** 实收用户加成服务费金额 */
|
|
532
|
+
received_user_fee: string;
|
|
533
|
+
/** 订单备注 */
|
|
534
|
+
pay_remark: string;
|
|
535
|
+
/** 银行名称 */
|
|
536
|
+
bank_name: string;
|
|
537
|
+
/** 业务线标识 */
|
|
538
|
+
project_id: string;
|
|
539
|
+
/** 互联网平台名称 */
|
|
540
|
+
dealer_platform_name: string;
|
|
541
|
+
/** 用户名称/昵称 */
|
|
542
|
+
dealer_user_nickname: string;
|
|
543
|
+
/** 用户唯一标识码 */
|
|
544
|
+
dealer_user_id: string;
|
|
545
|
+
/** 预扣个税税率 */
|
|
546
|
+
personal_tax_rate: string;
|
|
547
|
+
/** 预扣个税速算扣除数 */
|
|
548
|
+
deduct_tax: string;
|
|
531
549
|
}
|
|
532
550
|
|
|
533
551
|
/** CancelBatchOrderRequest 批次撤销请求 */
|
|
534
552
|
interface CancelBatchOrderRequest {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
553
|
+
/** 平台企业批次号 */
|
|
554
|
+
batch_id: string;
|
|
555
|
+
/** 平台企业 ID */
|
|
556
|
+
dealer_id: string;
|
|
557
|
+
/** 综合服务主体 ID */
|
|
558
|
+
broker_id: string;
|
|
541
559
|
}
|
|
542
560
|
|
|
543
561
|
/** CancelBatchOrderResponse 批次撤销返回 */
|
|
544
|
-
interface CancelBatchOrderResponse {
|
|
562
|
+
interface CancelBatchOrderResponse {
|
|
563
|
+
}
|
|
545
564
|
|
|
546
565
|
/** CheckUserAmountRequest 用户结算金额校验请求 */
|
|
547
566
|
interface CheckUserAmountRequest {
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
567
|
+
/** 综合服务主体 ID */
|
|
568
|
+
broker_id: string;
|
|
569
|
+
/** 姓名 */
|
|
570
|
+
real_name: string;
|
|
571
|
+
/** 身份证号码 */
|
|
572
|
+
id_card: string;
|
|
573
|
+
/** 校验金额 */
|
|
574
|
+
amount: string;
|
|
556
575
|
}
|
|
557
576
|
|
|
558
577
|
/** CheckUserAmountResponse 用户结算金额校验返回 */
|
|
559
578
|
interface CheckUserAmountResponse {
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
579
|
+
/** 是否超过月限额 */
|
|
580
|
+
is_over_whole_user_month_quota: boolean;
|
|
581
|
+
/** 是否超过年限额 */
|
|
582
|
+
is_over_whole_user_year_quota: boolean;
|
|
564
583
|
}
|
|
565
584
|
|
|
566
585
|
/** GetOrderLxlwRequest 查询劳务模式单笔订单信息请求 */
|
|
567
586
|
interface GetOrderLxlwRequest {
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
587
|
+
/** 平台企业订单号 */
|
|
588
|
+
order_id: string;
|
|
589
|
+
/** 支付路径 */
|
|
590
|
+
channel: string;
|
|
591
|
+
/** 数据类型 */
|
|
592
|
+
data_type: string;
|
|
574
593
|
}
|
|
575
594
|
|
|
576
595
|
/** GetOrderLxlwResponse 查询劳务模式单笔订单信息返回 */
|
|
@@ -657,6 +676,10 @@ interface GetOrderLxlwResponse {
|
|
|
657
676
|
dealer_user_nickname: string;
|
|
658
677
|
/** 用户唯一标识码 */
|
|
659
678
|
dealer_user_id: string;
|
|
679
|
+
/** 用户实收金额(追缴前) */
|
|
680
|
+
user_real_excluding_vat_amount: string;
|
|
681
|
+
/** 已追缴增附税(本笔订单) */
|
|
682
|
+
user_recover_tax_amount: string;
|
|
660
683
|
}
|
|
661
684
|
|
|
662
685
|
/** TaxDetail 缴税明细 */
|
|
@@ -697,6 +720,10 @@ interface TaxDetail {
|
|
|
697
720
|
user_received_additional_tax: string;
|
|
698
721
|
/** 平台企业实缴附加税费 */
|
|
699
722
|
dealer_received_additional_tax: string;
|
|
723
|
+
/** 预扣个税税率 */
|
|
724
|
+
personal_tax_rate: string;
|
|
725
|
+
/** 预扣个税速算扣除数 */
|
|
726
|
+
deduct_tax: string;
|
|
700
727
|
}
|
|
701
728
|
|
|
702
729
|
export declare class PaymentClient extends YZHclient {
|