@alipay/ams-checkout 0.0.1779094014-dev.2 → 0.0.1779094014-dev.21

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.
Files changed (47) hide show
  1. package/ams-checkout.js +3 -3
  2. package/dist/ams-checkout.min.js +1 -1
  3. package/dist/ams-checkout.min.js.map +1 -1
  4. package/esm/component/popupWindow.style.js +2 -1
  5. package/esm/config/index.d.ts +7 -0
  6. package/esm/config/index.js +2 -2
  7. package/esm/constant/index.d.ts +1 -0
  8. package/esm/constant/index.js +1 -0
  9. package/esm/core/component/element/elementContainerService/containerService.js +3 -2
  10. package/esm/core/component/element/elementProcessor/paymentProcessor.js +42 -4
  11. package/esm/core/component/element/index.d.ts +3 -0
  12. package/esm/core/component/element/index.js +13 -8
  13. package/esm/core/component/element/modernElementController/adapter.d.ts +5 -5
  14. package/esm/core/component/element/modernElementController/adapter.js +23 -19
  15. package/esm/core/component/element/modernElementController/index.d.ts +43 -13
  16. package/esm/core/component/element/modernElementController/index.js +585 -263
  17. package/esm/core/component/element/type.d.ts +6 -18
  18. package/esm/foundation/service/container/utils.js +3 -1
  19. package/esm/modern/global.d.ts +3 -0
  20. package/esm/modern/index.d.ts +5 -1
  21. package/esm/modern/index.js +1 -51
  22. package/esm/modern/tools.js +1 -0
  23. package/esm/plugin/component/channel.d.ts +4 -1
  24. package/esm/plugin/component/channel.js +6 -2
  25. package/esm/plugin/component/index.js +7 -6
  26. package/esm/tsdoc-metadata.json +1 -1
  27. package/esm/types/index.d.ts +1 -0
  28. package/esm/util/logger.js +1 -2
  29. package/package.json +23 -10
  30. package/types.d.ts +896 -71
  31. package/types.untrimmed.d.ts +1203 -113
  32. package/esm/modern/oneapi/iexpfront/PaymentSessionService.d.ts +0 -23
  33. package/esm/modern/oneapi/iexpfront/PaymentSessionService.js +0 -55
  34. package/esm/modern/oneapi/iexpfront/definitions.d.ts +0 -3656
  35. package/esm/modern/oneapi/iexpfront/definitions.js +0 -1
  36. package/esm/modern/tools/AntomSDKError.d.ts +0 -47
  37. package/esm/modern/tools/AntomSDKError.js +0 -47
  38. package/esm/modern/tools/buildPageUrl.d.ts +0 -4
  39. package/esm/modern/tools/buildPageUrl.js +0 -19
  40. package/esm/modern/tools/getDevReqConfig.d.ts +0 -2
  41. package/esm/modern/tools/getDevReqConfig.js +0 -16
  42. package/esm/modern/tools/getLocaleFromRenderData.d.ts +0 -6
  43. package/esm/modern/tools/getLocaleFromRenderData.js +0 -20
  44. package/esm/modern/tools/getMetaData.d.ts +0 -102
  45. package/esm/modern/tools/getMetaData.js +0 -7
  46. package/esm/modern/tools/openModal.d.ts +0 -20
  47. package/esm/modern/tools/openModal.js +0 -221
@@ -1,3656 +0,0 @@
1
- export interface CashierSdkActionQueryRequest {
2
- /**
3
- * @description Scalable parameters
4
- */
5
- extParams?: Record<string, string | boolean>;
6
- /**
7
- * @description Environment information of user's app client
8
- */
9
- envInfo?: MobileEnvInfo;
10
- /**
11
- * @description ipay用户id
12
- */
13
- customerId?: string;
14
- /**
15
- * @description 支付session id
16
- */
17
- paymentSessionId?: string;
18
- /**
19
- * @description 支付会话数据
20
- */
21
- paymentSessionData?: string;
22
- /**
23
- * @description 支付会话设置
24
- */
25
- paymentSessionConfig?: PaymentSessionConfig;
26
- /**
27
- * @description 支付请求ID
28
- */
29
- paymentRequestId?: string;
30
- /**
31
- * @description vaulting会话数据
32
- */
33
- vaultingSessionData?: string;
34
- /**
35
- * @description 是否跳转默认页面,默认false,会进行页面跳转
36
- */
37
- notRedirectAfterComplete?: boolean;
38
- /**
39
- * @description 验卡请求id
40
- */
41
- vaultingRequestId?: string;
42
- /**
43
- * @description 客户端id
44
- */
45
- clientId?: string;
46
- /**
47
- * @description 商户id
48
- */
49
- merchantId?: string;
50
- /**
51
- * @description 集成模式SDKorAPI,前端传递
52
- */
53
- integrationType?: string;
54
- /**
55
- * @description 前端版本,SDK场景前端会传递SDK版本信息给到后端
56
- */
57
- sdkVersion?: string;
58
- /**
59
- * @description payByLink信息
60
- */
61
- payByLinkInfo?: PayByLinkInfo;
62
- /**
63
- * @description 支付方式
64
- */
65
- paymentMethodType?: string;
66
- /**
67
- * @description 外部渠道登陆Id
68
- *
69
- * <p>手机号、邮箱等
70
- */
71
- userLoginId?: string;
72
- /**
73
- * @description 商户指定的参数(如在某些场景指定收集某些支付要素等)
74
- */
75
- merchantAppointParam?: Record<string, string>;
76
- /**
77
- * @description 用户账号确认页面选择是否开通免密行为; 用于判断是否需要给风控传递token信息, esp2.0,hk、gcash会在sdkaction.query阶段调用pay接口请求风控;
78
- */
79
- signAgreement?: boolean;
80
- /**
81
- * @description Getter method for property <tt>sharePayQuery</tt>.
82
- */
83
- sharePayQuery?: boolean;
84
- /**
85
- * @description ESP 2.0 API getSessionData 字段
86
- */
87
- actionType?: string;
88
- }
89
- export interface CashierSdkActionQueryResult {
90
- /**
91
- * @description 是否业务处理成功
92
- */
93
- success?: boolean;
94
- /**
95
- * @description 错误上下文
96
- */
97
- errorContext?: ErrorContext;
98
- /**
99
- * @description 返回结果码
100
- */
101
- resultCode?: string;
102
- /**
103
- * @description 返回结果信息
104
- */
105
- resultMessage?: string;
106
- /**
107
- * @description error actions
108
- */
109
- errorActions?: Record<string, string>;
110
- /**
111
- * @description error code
112
- */
113
- errorCode?: string;
114
- /**
115
- * @description error status
116
- */
117
- errorStatus?: string;
118
- /**
119
- * @description error message
120
- */
121
- errorMessage?: string;
122
- /**
123
- * @description extend info
124
- */
125
- extendInfo?: Record<string, string>;
126
- /**
127
- * @description payByLinkInfo信息
128
- */
129
- payByLinkInfo?: PayByLinkInfo;
130
- /**
131
- * @description 亲密付分享页展示信息
132
- */
133
- sharePayInfo?: SharePayInfo;
134
- /**
135
- * @description 支付会话数据
136
- */
137
- paymentSessionData?: string;
138
- /**
139
- * @description 机房决策appId
140
- */
141
- appId?: string;
142
- /**
143
- * @description payment method view
144
- */
145
- paymentMethodView?: PaymentMethodView;
146
- /**
147
- * @description action form
148
- */
149
- actionForm?: ActionForm;
150
- /**
151
- * @description 是否需要查询补充支付要素
152
- */
153
- needOtherElements?: boolean;
154
- /**
155
- * @description 商户是否开启卡分期能力
156
- */
157
- needInstallmentAbility?: boolean;
158
- /**
159
- * @description 是否不支持同session重试支付 true-不支持 false-支持 注意当前只有ELEMENT的急速架构链路会消费该字段,其他链路
160
- */
161
- notSupportRetryPayForSameSession?: boolean;
162
- /**
163
- * @description page style
164
- */
165
- pageStyle?: Record<string, string>;
166
- /**
167
- * @description merchant logo
168
- */
169
- merchantLogo?: string;
170
- /**
171
- * @description 支持的语言列表
172
- */
173
- supportedLanguages?: Language[];
174
- /**
175
- * @description 订单描述
176
- */
177
- orderDescription?: string;
178
- /**
179
- * @description 订单金额
180
- */
181
- orderAmount?: MobileMoneyView;
182
- /**
183
- * @description 标标准格式的订单金额, 仅用于展示
184
- */
185
- orderAmountView?: PaymentView;
186
- /**
187
- * @description 标标准格式的订单优惠金额, 仅用于展示
188
- */
189
- orderDiscountAmount?: MobileMoneyView;
190
- /**
191
- * @description 标标准格式的订单优惠金额, 仅用于展示
192
- */
193
- orderDiscountAmountView?: PaymentView;
194
- /**
195
- * @description 标准格式的订单金额, 仅用于展示
196
- */
197
- subTotalOrderAmount?: MobileMoneyView;
198
- /**
199
- * @description 标标准格式的订单金额, 仅用于展示
200
- */
201
- subTotalOrderAmountView?: PaymentView;
202
- /**
203
- * @description 商户号
204
- */
205
- merchantId?: string;
206
- /**
207
- * @description 支付完成后回跳URL
208
- */
209
- redirectUrl?: string;
210
- /**
211
- * @description 是否需要大额
212
- */
213
- amountConfirmRequired?: boolean;
214
- /**
215
- * @description 是否是带token的支付
216
- */
217
- autoDebitWithToken?: boolean;
218
- /**
219
- * @description 是否开启免密支付按钮
220
- */
221
- enableSignAgreementButton?: boolean;
222
- /**
223
- * @description schemeUrl
224
- */
225
- schemeUrl?: string;
226
- /**
227
- * @description applinkUrl
228
- */
229
- applinkUrl?: string;
230
- /**
231
- * @description normalUrl
232
- */
233
- normalUrl?: string;
234
- /**
235
- * @description authUrl
236
- */
237
- authUrl?: string;
238
- /**
239
- * @description appIdentifier
240
- */
241
- appIdentifier?: string;
242
- /**
243
- * @description clientId
244
- */
245
- clientId?: string;
246
- /**
247
- * @description paymentStatus
248
- */
249
- paymentStatus?: string;
250
- /**
251
- * @description paymentResultCode
252
- */
253
- paymentResultCode?: string;
254
- /**
255
- * @description paymentResultMessage
256
- */
257
- paymentResultMessage?: string;
258
- /**
259
- * @description serverTime
260
- */
261
- serverTime?: string;
262
- /**
263
- * @description paymentAmount
264
- */
265
- paymentAmount?: MobileMoneyView;
266
- /**
267
- * @description 标准格式的支付金额, 仅用于展示
268
- */
269
- paymentAmountView?: PaymentView;
270
- /**
271
- * @description rateInfo
272
- */
273
- rateInfo?: RateInfo;
274
- /**
275
- * @description codeFormViews
276
- */
277
- codeFormViews?: CodeFormView[];
278
- /**
279
- * @description paymentRequestId
280
- */
281
- paymentRequestId?: string;
282
- /**
283
- * @description 商品信息
284
- */
285
- goods?: Goods[];
286
- /**
287
- * @description 协议信息:例如隐私协议、条款协议
288
- */
289
- links?: Record<string, string>;
290
- /**
291
- * @description 账号信息
292
- */
293
- accountInfo?: OneAccountInfo;
294
- /**
295
- * @description 支付方式列表
296
- */
297
- paymentMethods?: PaymentMethodView[];
298
- /**
299
- * @description 端上的各种行为配置
300
- */
301
- mobileActionSetting?: MobileActionSetting;
302
- /**
303
- * @description 支付后支付引导页的页面要素
304
- */
305
- instructionGuideView?: InstructionGuideView;
306
- /**
307
- * @description 支付方式类别
308
- */
309
- paymentMethodType?: string;
310
- policyInfo?: PolicyInfo;
311
- /**
312
- * @description Getter method for property <tt>cardNoRuleInfos</tt>.
313
- */
314
- cardNoRuleInfos?: CardNoRuleInfo[];
315
- /**
316
- * @description 优惠券信息
317
- */
318
- promotionCode?: string;
319
- /**
320
- * @description 优惠券名称 / ESP marketing promotion name
321
- */
322
- promotionName?: string;
323
- /**
324
- * @description ESP marketing promotion description
325
- */
326
- promotionDescription?: string[];
327
- /**
328
- * @description ESP marketing promotion banner name
329
- */
330
- promotionBannerName?: string;
331
- /**
332
- * @description ESP marketing promotion banner image url
333
- */
334
- promotionBannerUrl?: string;
335
- /**
336
- * @description ESP marketing promotion banner image urls (multiple urls)
337
- */
338
- promotionBannerUrls?: string;
339
- /**
340
- * @description 用户计费信息
341
- */
342
- paymentFeeChargeInfo?: ChargeInfo;
343
- /**
344
- * @description 订单原始金额(订单金额进行汇率转换后的金额)
345
- */
346
- paymentExchangeAmount?: MobileMoneyView;
347
- /**
348
- * @description 订单原始金额(订单金额进行汇率转换后的金额),用作展示
349
- */
350
- paymentExchangeAmountView?: PaymentView;
351
- /**
352
- * @description 是否支持pop支付重试能力 Y/N
353
- */
354
- supportPopPaymentRetryAbility?: string;
355
- /**
356
- * @description 是否开启pop支付重试能力 Y/N
357
- */
358
- openPopPaymentRetryAbility?: string;
359
- /**
360
- * @description 商户集成类型
361
- */
362
- merchantIntegrationType?: string;
363
- /**
364
- * @description 出现异常时的跳转链接
365
- */
366
- faultLink?: string;
367
- /**
368
- * @description connect产品参数
369
- */
370
- connectFactor?: ConnectFactor;
371
- /**
372
- * @description C2P流程参数
373
- */
374
- c2pFactor?: C2PFactor;
375
- /**
376
- * @description ESP产品整合降级策略
377
- */
378
- degradeStrategy?: string;
379
- /**
380
- * @description sdk action信息
381
- */
382
- action?: PaymentSessionAction;
383
- /**
384
- * @description 支付方式展示信息
385
- */
386
- paymentMethodInfoView?: PaymentMethodInfoView;
387
- /**
388
- * @description session config
389
- */
390
- paymentSessionConfig?: ComIpayIexpprodServiceFacadeCommonPaymentSessionConfig;
391
- /**
392
- * @description 金额展示信息
393
- */
394
- paymentView?: PaymentView;
395
- /**
396
- * @description 风控安全的配置
397
- */
398
- securityConfig?: SessionSecurityConfig;
399
- /**
400
- * @description ESP marketing tag
401
- */
402
- eligibleEasyPayMarketing?: boolean;
403
- /**
404
- * @description 小屏优化,返回多种尺寸的banner图地址
405
- */
406
- bannerNormalView?: string;
407
- /**
408
- * @description Customization information required for the subscription payment intermediary page
409
- */
410
- subscriptionInfo?: SubscriptionInfo;
411
- /**
412
- * @description product scenario
413
- */
414
- productScenario?: string;
415
- /**
416
- * @description 商户类型,表示属于哪个收单机构的商户 1 2c2p商户 -有值(2C2P) 2 antom商户 -无值(null)
417
- */
418
- merchantType?: string;
419
- /**
420
- * @description Flag for activating FE logic to handle several payment methods during the pre‑quote stage.
421
- */
422
- enableCurrencyMergeForPreQuote?: boolean;
423
- /**
424
- * @description payment quote info for user pre-quote
425
- */
426
- paymentQuote?: PaymentQuoteInfo;
427
- /**
428
- * @description enable switching currency if merchant doesn't pass payment quote to create payment request
429
- */
430
- currencySwitchEnabled?: boolean;
431
- /**
432
- * @description currency info for front end to display
433
- */
434
- paymentCurrencyMap?: Record<string, CurrencyInfo>;
435
- /**
436
- * @description webView中支付重定向页地址(高德项目引入,mid维度白名单)
437
- */
438
- paymentRedirectUrlInWebView?: string;
439
- /**
440
- * @description 物流信息, 包含物流地址和物流费
441
- */
442
- shippingInfo?: ShippingInfo;
443
- /**
444
- * @description 用户已绑资产信息
445
- */
446
- savedPaymentMethods?: PaymentMethodView[];
447
- /**
448
- * @description paymentOptions
449
- */
450
- paymentOptions?: PaymentOption[];
451
- }
452
- /**
453
- * @description Environment information of APP client
454
- */
455
- export interface MobileEnvInfo {
456
- /**
457
- * @description App Client deviceId
458
- */
459
- deviceId?: string;
460
- /**
461
- * @description manufacturer
462
- */
463
- manufacturer?: string;
464
- /**
465
- * @description APP client fingerprint ID
466
- */
467
- tokenId?: string;
468
- /**
469
- * @description H5 JS fingerprint ID
470
- */
471
- umidToken?: string;
472
- /**
473
- * @description service location of H5 JS fingerprint ID
474
- */
475
- serviceLocation?: string;
476
- /**
477
- * @description IP address of APP client
478
- */
479
- clientIp?: string;
480
- /**
481
- * @description Type of APP client
482
- * 1. PC(web)
483
- * 2. APP(mobile)
484
- */
485
- terminalType?: string;
486
- /**
487
- * @description Type of APP sourcePlatForm, for terminalType extension
488
- * <p>
489
- * eg.
490
- * 1、dana
491
- * 2、bbm
492
- */
493
- sourcePlatform?: string;
494
- /**
495
- * @description orderTerminalType
496
- */
497
- orderTerminalType?: string;
498
- /**
499
- * @description OS type of APP client
500
- */
501
- osType?: string;
502
- /**
503
- * @description Version of OS
504
- */
505
- osVersion?: string;
506
- /**
507
- * @description The Sdk version.
508
- */
509
- sdkVersion?: string;
510
- /**
511
- * @description The mini program version.
512
- */
513
- miniProgramVersion?: string;
514
- /**
515
- * @description Version of cashier SDK
516
- */
517
- cashierSdkVersion?: string;
518
- /**
519
- * @description Version of APP client
520
- */
521
- appVersion?: string;
522
- /**
523
- * @description locale
524
- */
525
- locale?: string;
526
- /**
527
- * @description Client unique ID
528
- */
529
- clientKey?: string;
530
- /**
531
- * @description browser version
532
- */
533
- browserVersion?: string;
534
- /**
535
- * @description browser type
536
- */
537
- browserType?: string;
538
- /**
539
- * @description web site language
540
- */
541
- webSiteLanguage?: string;
542
- /**
543
- * @description merchant app version
544
- */
545
- merchantAppVersion?: string;
546
- /**
547
- * @description merchant web host information
548
- */
549
- merchantHost?: string;
550
- /**
551
- * @description web site user agent
552
- */
553
- userAgent?: string;
554
- /**
555
- * @description longitude
556
- */
557
- longitude?: string;
558
- /**
559
- * @description latitude
560
- */
561
- latitude?: string;
562
- /**
563
- * @description lbs location
564
- */
565
- locationInfo?: MobileEnvLocationInfo;
566
- /**
567
- * @description browser info
568
- */
569
- browserInfo?: MobileBrowserInfo;
570
- /**
571
- * @description timezone offset
572
- */
573
- timeZoneOffset?: string;
574
- /**
575
- * @description Device screen pixel width value
576
- */
577
- screenWidth?: string;
578
- /**
579
- * @description Device screen pixel height value
580
- */
581
- screenHeight?: string;
582
- /**
583
- * @description device brand, like apple huawei
584
- */
585
- deviceBrand?: string;
586
- /**
587
- * @description device model, like iphone13,iphone14
588
- */
589
- deviceModel?: string;
590
- /**
591
- * @description deviceLanguage
592
- */
593
- deviceLanguage?: string;
594
- /**
595
- * @description securityCode 大安全SDK收集的设备指纹
596
- */
597
- securityCode?: string;
598
- /**
599
- * @description 安卓设备的google 广告id
600
- */
601
- gaid?: string;
602
- /**
603
- * @description Scalable parameter
604
- */
605
- extendInfo?: Record<string, string>;
606
- }
607
- /**
608
- * @description 支付会话中决策的拉起sdk的配置
609
- */
610
- export interface PaymentSessionConfig {
611
- /**
612
- * @description sdk类型
613
- */
614
- productScene?: string;
615
- /**
616
- * @description 二级支付方式,不等于paymentMethodType
617
- */
618
- paymentMethodCategoryType?: string;
619
- /**
620
- * @description 场景版本
621
- */
622
- productSceneVersion?: string;
623
- }
624
- export interface PayByLinkInfo {
625
- /**
626
- * @description Getter method for property <tt>linkId</tt>.
627
- */
628
- linkId?: string;
629
- /**
630
- * @description Getter method for property <tt>userCustomizeInfo</tt>.
631
- */
632
- userCustomizeInfo?: string;
633
- /**
634
- * @description Getter method for property <tt>linkType</tt>.
635
- */
636
- linkType?: string;
637
- /**
638
- * @description Getter method for property <tt>linkVersion</tt>.
639
- */
640
- linkVersion?: number;
641
- }
642
- /**
643
- * @description 错误上下文对象。参考主站<code>ErrorContext</code>实现。
644
- *
645
- * <p>错误上下文对象包含标准错误对象的堆栈,和第三方错误信息。
646
- */
647
- export interface ErrorContext {
648
- /**
649
- * @description 错误堆栈集合
650
- */
651
- errorStack?: ResultCode[];
652
- /**
653
- * @description 第三方错误原始信息
654
- */
655
- thirdPartyError?: string;
656
- }
657
- export interface SharePayInfo {
658
- /**
659
- * @description Getter method for property <tt>checkoutShortUrl</tt>.
660
- */
661
- checkoutShortUrl?: string;
662
- /**
663
- * @description Getter method for property <tt>paymentSessionExpiryTime</tt>.
664
- */
665
- paymentSessionExpiryTime?: string;
666
- /**
667
- * @description Getter method for property <tt>appList</tt>.
668
- */
669
- appList?: ShareAppInfo[];
670
- /**
671
- * @description Getter method for property <tt>sharerIcon</tt>.
672
- */
673
- sharerIcon?: string;
674
- /**
675
- * @description Getter method for property <tt>tipsText</tt>.
676
- */
677
- tipsText?: string;
678
- /**
679
- * @description 支付会话过期时间戳,单位毫秒
680
- */
681
- paymentSessionExpiryTimestamp?: number;
682
- /**
683
- * @description 安全文案
684
- */
685
- securityText?: string;
686
- }
687
- export interface PaymentMethodView {
688
- /**
689
- * @description 对客支付方式名称
690
- */
691
- paymentMethod?: string;
692
- /**
693
- * @description icon
694
- */
695
- icon?: string;
696
- /**
697
- * @description icon对应的名称
698
- */
699
- iconName?: string;
700
- /**
701
- * @description 支付方式描述
702
- */
703
- description?: string;
704
- /**
705
- * @description category
706
- */
707
- category?: string;
708
- /**
709
- * @description Getter method for property <tt>logoList</tt>.
710
- */
711
- logoList?: CardLogoModel[];
712
- /**
713
- * @description Getter method for property <tt>antomPage</tt>.
714
- * @default paymentMetaPage
715
- */
716
- antomPage?: string;
717
- /**
718
- * @description payment element
719
- */
720
- paymentElements?: PaymentElementView[];
721
- /**
722
- * @description Getter method for property <tt>redirectUrl</tt>.
723
- */
724
- redirectUrl?: string;
725
- /**
726
- * @description 表示级联关系
727
- */
728
- links?: Link[];
729
- /**
730
- * @description 字典集合
731
- */
732
- dicts?: Record<string, any[]>;
733
- /**
734
- * @description 渠道账号信息:脱敏
735
- */
736
- userLoginId?: string;
737
- /**
738
- * @description 支付方式类型,通用字段
739
- */
740
- paymentMethodType?: string;
741
- /**
742
- * @description 支付方式名称
743
- */
744
- paymentMethodName?: string;
745
- /**
746
- * @description 已存卡token
747
- */
748
- paymentMethodId?: string;
749
- /**
750
- * @description 支付方式详情信息
751
- */
752
- paymentMethodDetail?: ComIpayIexpfrontCommonServiceFacadeModelPaymentMethodDetail;
753
- /**
754
- * @description 子级支付方式列表
755
- */
756
- subPaymentMethodView?: PaymentMethodView[];
757
- /**
758
- * @description 支持的银行列表
759
- */
760
- bankInfoList?: BankInfo[];
761
- /**
762
- * @description 渠道web终端跳转类型
763
- */
764
- webRedirectType?: string;
765
- /**
766
- * @description 本次请求的卡品牌
767
- */
768
- currentCardBrand?: string;
769
- /**
770
- * @description 交互模式@see com.ipay.iexpprod.service.facade.enums.InteractionTypeEnum
771
- */
772
- interActionType?: string;
773
- /**
774
- * @description 支付币种列表
775
- */
776
- paymentCurrencyList?: string[];
777
- /**
778
- * @description 实际支付金额
779
- */
780
- paymentAmount?: MobileMoneyView;
781
- /**
782
- * @description 实际支付金额
783
- */
784
- paymentAmountView?: PaymentView;
785
- /**
786
- * @description 外汇报价汇率
787
- */
788
- paymentQuoteId?: string;
789
- /**
790
- * @description 支付方式携带的营销信息
791
- */
792
- promotionModel?: PromotionModel;
793
- /**
794
- * @description 是否急速支付的支付方式 false - 否, true - 是
795
- */
796
- expressCheckout?: boolean;
797
- /**
798
- * @description 是否为推荐的支付方式 false - 否, true - 是
799
- */
800
- recommend?: boolean;
801
- /**
802
- * @description CustomerId
803
- */
804
- customerId?: string;
805
- /**
806
- * @description 退款是否保价 false - 否, true - 是
807
- */
808
- refundNonInsured?: boolean;
809
- /**
810
- * @description A map of currency support configuration by each currency. Currently stored in compara with
811
- * model AbaMerchantSupportCurrencyConfig
812
- */
813
- currencySupportConfiguration?: Record<string, CurrencySupportConfiguration>;
814
- /**
815
- * @description 绑定资产来源
816
- */
817
- bindingSource?: string;
818
- /**
819
- * @description 是否加载cybsSdk true:加载cybsSdk false:不加载cybsSdk
820
- */
821
- cybsSdk?: boolean;
822
- /**
823
- * @description cybs sdk的orgid
824
- */
825
- cybsOrganizationId?: string;
826
- /**
827
- * @description cybs sdk的merchantid
828
- */
829
- cybsMerchantId?: string;
830
- /**
831
- * @description 随机生成的, 不重复id,cybs sdk的sessionId
832
- */
833
- cybsSessionId?: string;
834
- /**
835
- * @description 账单地址收集模式
836
- */
837
- billingAddressCollectionMode?: string;
838
- }
839
- export interface ActionForm {
840
- /**
841
- * @description action form type
842
- */
843
- actionFormType?: string;
844
- }
845
- /**
846
- * @description 前端语言模型
847
- */
848
- export interface Language {
849
- /**
850
- * @description locale, 例:en_US, zh_CN
851
- */
852
- locale?: string;
853
- /**
854
- * @description title: 简体中文,英文
855
- */
856
- title?: string;
857
- /**
858
- * @description 当前优先语言
859
- */
860
- preferred?: boolean;
861
- /**
862
- * @description Getter method for property <tt>country</tt>.
863
- */
864
- country?: string;
865
- }
866
- /**
867
- * @description Mobile Money View
868
- * <p>
869
- * 无线 Money 类视图模型对象,用于把MultiCurrencyMoney转成对前端/客户端友好的模型
870
- */
871
- export interface MobileMoneyView {
872
- /**
873
- * @description money fields that follow GN standards
874
- */
875
- money?: Money;
876
- /**
877
- * @description A positive integer representing how much to charge in the smallest currency unit
878
- * e.g. 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency
879
- */
880
- value?: string;
881
- /**
882
- * @description 3-letter currencyCode, follow ISO 4217
883
- * e.g. USD
884
- */
885
- currency?: string;
886
- /**
887
- * @description raw money amount.
888
- * e.g. 10000.00
889
- */
890
- amount?: string;
891
- /**
892
- * @description formatted money amount,
893
- * e.g. 1,000.00
894
- */
895
- formattedAmount?: string;
896
- /**
897
- * @description formatted amount with currency
898
- * e.g. US $1,000.00
899
- */
900
- formattedAmountWithCurrency?: string;
901
- /**
902
- * @description currency label,, follow ISO 4217
903
- * e.g. $
904
- */
905
- currencyLabel?: string;
906
- }
907
- export interface PaymentView {
908
- /**
909
- * @description 金额,以元为单位的金额
910
- */
911
- value?: string;
912
- /**
913
- * @description 金额,指定币种的最小单位金额
914
- */
915
- minorUnitValue?: string;
916
- /**
917
- * @description 币种, 例:USD
918
- */
919
- currency?: string;
920
- /**
921
- * @description 格式化金额(元为单位)
922
- */
923
- formattedValue?: string;
924
- /**
925
- * @description 币种标签
926
- */
927
- currencyLabel?: string;
928
- /**
929
- * @description 金额和币种符号间的分隔符,如:“ ”
930
- */
931
- currencyDivider?: string;
932
- /**
933
- * @description 币种符号相对金额的位置,如:“L”、“R”
934
- */
935
- currencySymbolPosition?: string;
936
- }
937
- export interface RateInfo {
938
- /**
939
- * @description rate id
940
- */
941
- rateId?: string;
942
- /**
943
- * @description effective time of rate
944
- */
945
- effectiveTime?: string;
946
- /**
947
- * @description expire time of rate
948
- */
949
- expireTime?: string;
950
- /**
951
- * @description exchange rate detail info
952
- */
953
- rate?: Rate;
954
- }
955
- export interface CodeFormView {
956
- /**
957
- * @description title
958
- */
959
- title?: string;
960
- /**
961
- * @description code
962
- */
963
- code?: string;
964
- /**
965
- * @description priority
966
- */
967
- priority?: string;
968
- /**
969
- * @description display type
970
- */
971
- displayType?: string;
972
- /**
973
- * @description qrCodeIcon
974
- */
975
- qrCodeIcon?: string;
976
- /**
977
- * @description label
978
- */
979
- label?: string;
980
- /**
981
- * @description 提醒事项
982
- */
983
- reminders?: string;
984
- /**
985
- * @description 描述类型
986
- */
987
- instructionType?: string;
988
- /**
989
- * @description instructions
990
- */
991
- instructions?: InstructionView[];
992
- /**
993
- * @description 码过期时间
994
- */
995
- codeExpireTime?: string;
996
- }
997
- export interface Goods {
998
- /**
999
- * @description 商品名称
1000
- */
1001
- goodsName?: string;
1002
- /**
1003
- * @description 商品描述
1004
- */
1005
- goodsDescription?: string;
1006
- /**
1007
- * @description 商品图片地址
1008
- */
1009
- goodsImageUrl?: string;
1010
- /**
1011
- * @description 商品数量
1012
- */
1013
- goodsQuantity?: string;
1014
- /**
1015
- * @description 商品单价
1016
- */
1017
- goodsUnitAmount?: MobileMoneyView;
1018
- /**
1019
- * @description 标准格式的商品单价, 仅用于展示
1020
- */
1021
- goodsUnitAmountView?: PaymentView;
1022
- /**
1023
- * @description 商品总金额
1024
- */
1025
- goodsTotalAmount?: MobileMoneyView;
1026
- /**
1027
- * @description 标准格式的商品总价, 仅用于展示
1028
- */
1029
- goodsTotalAmountView?: PaymentView;
1030
- /**
1031
- * @description 价格id, 与商品详情信息不同时存在
1032
- */
1033
- priceId?: string;
1034
- /**
1035
- * @description 商品可调整数量
1036
- */
1037
- adjustableQuantity?: AdjustableQuantity;
1038
- /**
1039
- * @description 交叉售卖商品信息
1040
- */
1041
- crossSell?: Goods;
1042
- /**
1043
- * @description referenceGoodsId 商品唯一标志
1044
- */
1045
- referenceGoodsId?: string;
1046
- /**
1047
- * @description 商品优惠金额
1048
- */
1049
- goodsDiscountAmount?: MobileMoneyView;
1050
- /**
1051
- * @description 商品优惠金额(用于前端展示)
1052
- */
1053
- goodsDiscountAmountView?: PaymentView;
1054
- /**
1055
- * @description 商品总额最小金额
1056
- */
1057
- goodsMinimumAmount?: MobileMoneyView;
1058
- /**
1059
- * @description 商品总额最小金额(用于前端展示)
1060
- */
1061
- goodsMinimumAmountView?: PaymentView;
1062
- /**
1063
- * @description 商品总额最大金额
1064
- */
1065
- goodsMaximumAmount?: MobileMoneyView;
1066
- /**
1067
- * @description 商品总额最大金额(用于前端展示)
1068
- */
1069
- goodsMaximumAmountView?: PaymentView;
1070
- /**
1071
- * @description 商品类别
1072
- */
1073
- goodsCategory?: string;
1074
- /**
1075
- * @description 商品品牌
1076
- */
1077
- goodsBrand?: string;
1078
- /**
1079
- * @description 商品sku名称
1080
- */
1081
- goodsSkuName?: string;
1082
- /**
1083
- * @description 商品链接
1084
- */
1085
- goodsUrl?: string;
1086
- /**
1087
- * @description 商品运输方式
1088
- */
1089
- deliveryMethodType?: string;
1090
- /**
1091
- * @description 服务类商品截止的最迟日期,如线上课程、美容配套等
1092
- */
1093
- goodsEndsOnTime?: string;
1094
- }
1095
- export interface OneAccountInfo {
1096
- /**
1097
- * @description accountId
1098
- */
1099
- oneAccountId?: string;
1100
- /**
1101
- * @description 邮箱
1102
- */
1103
- email?: string;
1104
- /**
1105
- * @description 账号状态
1106
- */
1107
- accountStatus?: string;
1108
- }
1109
- /**
1110
- * @description 端上的行为设定 @Author yanhong
1111
- */
1112
- export interface MobileActionSetting {
1113
- /**
1114
- * @description 端上轮询支付结果的设定
1115
- */
1116
- inquiryResultPollingSetting?: PollingSetting;
1117
- }
1118
- /**
1119
- * @description 支付后的操作指引页面,向用户说明如何操作完成之后,如OVO前端在输入邮箱后的操作引导页面
1120
- * 详见https://yuque.antfin.com/yanhong.yan/ltmd53/yywlq9mgmf2v5cxp?singleDoc#
1121
- * 《SDK支持全量APM架构文档》 @Author yanhong
1122
- */
1123
- export interface InstructionGuideView {
1124
- /**
1125
- * @description 支付方式名称
1126
- */
1127
- paymentMethodType?: string;
1128
- /**
1129
- * @description 支付指引的内容
1130
- */
1131
- instructionGuideContent?: string;
1132
- /**
1133
- * @description BIZUM项目新增
1134
- */
1135
- instructionGuideContentList?: any[];
1136
- /**
1137
- * @description 支付方式的URL
1138
- */
1139
- logoUrl?: string;
1140
- /**
1141
- * @description 页面上需要显示倒计时的时间
1142
- */
1143
- expireCountDown?: string;
1144
- /**
1145
- * @description 页面上提示的图标
1146
- */
1147
- instructionGuideUrl?: string;
1148
- }
1149
- /**
1150
- * @description 政策信息,例如隐私链接,免责声明等
1151
- */
1152
- export interface PolicyInfo {
1153
- /**
1154
- * @description 说明指示
1155
- */
1156
- instructions?: string;
1157
- /**
1158
- * @description 政策链接
1159
- */
1160
- policyLinks?: PolicyLink[];
1161
- }
1162
- export interface CardNoRuleInfo {
1163
- /**
1164
- * @description Getter method for property <tt>cardBrandName</tt>.
1165
- */
1166
- cardBrandName?: string;
1167
- /**
1168
- * @description Getter method for property <tt>cardRuleList</tt>.
1169
- */
1170
- cardRuleList?: CardRule[];
1171
- }
1172
- /**
1173
- * @description 计费信息
1174
- */
1175
- export interface ChargeInfo {
1176
- /**
1177
- * @description 计收费no
1178
- */
1179
- preChargeNo?: string;
1180
- /**
1181
- * @description 下单币种金额
1182
- */
1183
- chargeAmount?: MobileMoneyView;
1184
- /**
1185
- * @description 下单币种金额
1186
- */
1187
- chargeAmountView?: PaymentView;
1188
- /**
1189
- * @description 真实收费金额 chargeActualAmount
1190
- */
1191
- chargeActualAmountView?: PaymentView;
1192
- }
1193
- /**
1194
- * @description Connect流程参数
1195
- */
1196
- export interface ConnectFactor {
1197
- enableConnect?: boolean;
1198
- }
1199
- /**
1200
- * @description C2P标识
1201
- */
1202
- export interface C2PFactor {
1203
- enableC2p?: boolean;
1204
- /**
1205
- * @description dpa Id
1206
- */
1207
- srcDpaId?: string;
1208
- /**
1209
- * @description dpa 名称
1210
- */
1211
- dpaName?: string;
1212
- /**
1213
- * @description dpa 展示名称
1214
- */
1215
- dpaPresentationName?: string;
1216
- }
1217
- /**
1218
- * @description payment session action
1219
- */
1220
- export interface PaymentSessionAction {
1221
- /**
1222
- * @description 是否是带token支付, 首次=false, 二次=true
1223
- */
1224
- autoDebitWithToken?: boolean;
1225
- /**
1226
- * @description WEB
1227
- * {@link com.ipay.iexpprod.service.facade.enums.TerminalType}
1228
- */
1229
- web?: TerminalTypeAction;
1230
- /**
1231
- * @description WAP
1232
- * {@link com.ipay.iexpprod.service.facade.enums.TerminalType}
1233
- */
1234
- wap?: TerminalTypeAction;
1235
- /**
1236
- * @description APP
1237
- * {@link com.ipay.iexpprod.service.facade.enums.TerminalType}
1238
- */
1239
- app?: TerminalTypeAction;
1240
- /**
1241
- * @description 是否显示免密按钮
1242
- */
1243
- signAgreementButtonDisplay?: boolean;
1244
- /**
1245
- * @description 免密默认值
1246
- */
1247
- enableSignAgreement?: boolean;
1248
- /**
1249
- * @description 支持的账户类型
1250
- * {@link UserLoginIdTypeEnum}
1251
- */
1252
- userLoginIdType?: string;
1253
- /**
1254
- * @description 跳转类型
1255
- * {@link com.ipay.iexpprod.service.facade.enums.RedirectTypeEnum}
1256
- */
1257
- redirectType?: string;
1258
- /**
1259
- * @description 是否跳过sdk查询
1260
- * @default false
1261
- */
1262
- skipSdkQuery?: boolean;
1263
- /**
1264
- * @description 是否需要核身并推进支付
1265
- * @default false
1266
- */
1267
- needVerifyAndResume?: boolean;
1268
- /**
1269
- * @description 是否需要大额确认
1270
- */
1271
- amountConfirmRequired?: boolean;
1272
- /**
1273
- * @description 用户登录标识是否必填
1274
- */
1275
- requireUserLoginId?: boolean;
1276
- /**
1277
- * @description isFastSDK
1278
- */
1279
- requireFastSdk?: boolean;
1280
- /**
1281
- * @description 是否显示免密开关
1282
- * (因为需要兼容新老版本逻辑,替换signAgreementButtonDisplay字段)
1283
- * https://yuque.antfin-inc.com/gsa111/crlpdk/qv00k9e1ruxmysar
1284
- */
1285
- signAgreementButtonDisplayV2?: boolean;
1286
- /**
1287
- * @description 隐私合规切流标识
1288
- * https://yuque.antfin-inc.com/gsa111/crlpdk/cggudff78c7leceh
1289
- */
1290
- nonCompliant?: boolean;
1291
- /**
1292
- * @description 隐私合规-是否需要初始化安全SDK
1293
- * https://yuque.antfin-inc.com/gsa111/crlpdk/cggudff78c7leceh
1294
- */
1295
- nonInitSecuritySDK?: boolean;
1296
- /**
1297
- * @description 商户是否展示免密支付按钮
1298
- */
1299
- signButtonDisplay?: boolean;
1300
- /**
1301
- * @description 用户在商户测免密支付按钮的开启状态
1302
- */
1303
- userSignAgreement?: boolean;
1304
- }
1305
- export interface PaymentMethodInfoView {
1306
- /**
1307
- * @description 支付方式
1308
- */
1309
- paymentMethodType?: string;
1310
- /**
1311
- * @description 支付方式名
1312
- */
1313
- paymentMethodName?: string;
1314
- /**
1315
- * @description 图标
1316
- */
1317
- icon?: string;
1318
- /**
1319
- * @description 外部登录id
1320
- */
1321
- userLoginId?: string;
1322
- /**
1323
- * @description termsLink
1324
- */
1325
- termsLink?: string;
1326
- /**
1327
- * @description privacyLink
1328
- */
1329
- privacyLink?: string;
1330
- /**
1331
- * @description tandCLink
1332
- */
1333
- termsAndConditionLink?: string;
1334
- /**
1335
- * @description easy pay 2.0手机号登录格式配置列表
1336
- */
1337
- mobileLoginConfigs?: MobileLoginConfig[];
1338
- }
1339
- export interface ComIpayIexpprodServiceFacadeCommonPaymentSessionConfig {
1340
- /**
1341
- * @description 产品场景
1342
- */
1343
- productScene?: string;
1344
- /**
1345
- * @description 产品方式策略
1346
- */
1347
- paymentMethodCategoryType?: string;
1348
- /**
1349
- * @description 产品场景版本
1350
- */
1351
- productSceneVersion?: string;
1352
- }
1353
- /**
1354
- * @description SDK payment session risk config
1355
- *
1356
- * <p>
1357
- * 写死的值:<a href="https://yuque.antfin.com/alipayplus-f2e/ivls6k/or7aaw5skpool3gf#GE40Z">前端集成方案</a>
1358
- * </p>
1359
- */
1360
- export interface SessionSecurityConfig {
1361
- /**
1362
- * @description 写死值
1363
- */
1364
- appName?: string;
1365
- /**
1366
- * @description 写死值
1367
- */
1368
- bizToken?: string;
1369
- /**
1370
- * @description 写死值
1371
- */
1372
- gateway?: string;
1373
- /**
1374
- * @description 写死值
1375
- */
1376
- workSpaceId?: string;
1377
- /**
1378
- * @description 写死值
1379
- */
1380
- appId?: string;
1381
- h5gateway?: string;
1382
- tokenCollectTime?: string;
1383
- }
1384
- export interface SubscriptionInfo {
1385
- /**
1386
- * @description Used to indicate whether the scenario is SUBSCRIPTION or RECURRENCE
1387
- */
1388
- subscriptionScene?: string;
1389
- /**
1390
- * @description Intermediate page rendering text
1391
- */
1392
- subscriptionText?: string;
1393
- /**
1394
- * @description Intermediate page submission text
1395
- */
1396
- subscriptionSubmitionButton?: string;
1397
- /**
1398
- * @description QR code page title text
1399
- */
1400
- subscriptionCodePageTitleText?: string;
1401
- /**
1402
- * @description QR Code Page Behavior Text
1403
- */
1404
- subscriptionCodePageActionText?: string;
1405
- /**
1406
- * @description Getter method for property <tt>subscriptionId</tt>.
1407
- */
1408
- subscriptionId?: string;
1409
- /**
1410
- * @description next subscription payment date
1411
- */
1412
- nextSubscriptionPaymentDate?: string;
1413
- /**
1414
- * @description next subscription payment amount view for mobile
1415
- */
1416
- nextSubscriptionPaymentAmount?: MobileMoneyView;
1417
- /**
1418
- * @description next subscription payment amount view
1419
- */
1420
- nextSubscriptionPaymentAmountView?: PaymentView;
1421
- /**
1422
- * @description trial free days how many days for free till next subscription payment date
1423
- */
1424
- trialFreeDays?: number;
1425
- /**
1426
- * @description first phase subscription detail
1427
- */
1428
- firstPhaseSubscriptionDetail?: FirstPhaseSubscriptionDetail;
1429
- /**
1430
- * @description 订阅描述信息
1431
- */
1432
- subscriptionDescription?: string;
1433
- /**
1434
- * @description 订阅重定向url
1435
- */
1436
- subscriptionRedirectUrl?: string;
1437
- /**
1438
- * @description 订阅开始时间
1439
- */
1440
- subscriptionStartTime?: string;
1441
- /**
1442
- * @description 订阅结束时间
1443
- */
1444
- subscriptionEndTime?: string;
1445
- /**
1446
- * @description 订阅创建过期时间
1447
- */
1448
- subscriptionExpiryTime?: string;
1449
- /**
1450
- * @description 订阅周期规则
1451
- */
1452
- periodRule?: PeriodRule;
1453
- /**
1454
- * @description 订阅通知url
1455
- */
1456
- subscriptionNotifyUrl?: string;
1457
- /**
1458
- * @description 订阅计划
1459
- */
1460
- trials?: Trial[];
1461
- /**
1462
- * @description subscription price plans
1463
- */
1464
- subscriptionPricePlans?: SubscriptionPricePlan[];
1465
- }
1466
- export interface PaymentQuoteInfo {
1467
- /**
1468
- * @description payment quote id
1469
- */
1470
- paymentQuoteId?: string;
1471
- /**
1472
- * @description payment amount
1473
- */
1474
- paymentAmount?: MobileMoneyView;
1475
- /**
1476
- * @description payment amount view
1477
- */
1478
- paymentAmountView?: PaymentView;
1479
- }
1480
- export interface CurrencyInfo {
1481
- /**
1482
- * @description Getter method for property <tt>currencyCode</tt>.
1483
- */
1484
- currencyCode?: string;
1485
- /**
1486
- * @description Getter method for property <tt>flagUrl</tt>.
1487
- */
1488
- flagUrl?: string;
1489
- }
1490
- export interface ShippingInfo {
1491
- /**
1492
- * @description The unique ID to identify the shipping info
1493
- */
1494
- shippingId?: string;
1495
- /**
1496
- * @description The unique ID to identify the shipping belongs to.
1497
- */
1498
- userId?: string;
1499
- /**
1500
- * @description 收货人电话
1501
- */
1502
- shippingPhoneNo?: string;
1503
- /**
1504
- * @description The email address where virtual goods are sent.
1505
- */
1506
- shipToEmail?: string;
1507
- /**
1508
- * @description The prefer option after user config
1509
- */
1510
- prefer?: string;
1511
- /**
1512
- * @description 收货人姓名
1513
- */
1514
- shippingName?: UserName;
1515
- /**
1516
- * @description 收货地址
1517
- */
1518
- shippingAddress?: Address;
1519
- /**
1520
- * @description notes
1521
- */
1522
- notes?: string;
1523
- /**
1524
- * @description action flag (ShippingActionFlagEnum)
1525
- */
1526
- actionFlag?: string;
1527
- /**
1528
- * @description 三方地址shipping id
1529
- */
1530
- referenceShippingId?: string;
1531
- /**
1532
- * @description 物流费
1533
- */
1534
- shippingFee?: MobileMoneyView;
1535
- /**
1536
- * @description 标准格式的物流费, 仅用于展示
1537
- */
1538
- shippingFeeView?: PaymentView;
1539
- /**
1540
- * @description 物流费id(门户维护)
1541
- */
1542
- shippingFeeId?: string;
1543
- /**
1544
- * @description 物流服务描述(创建支付会话传入或门户维护)
1545
- */
1546
- shippingDescription?: string;
1547
- /**
1548
- * @description 发货时效
1549
- */
1550
- deliveryEstimate?: DeliveryEstimate;
1551
- }
1552
- export interface PaymentOption {
1553
- /**
1554
- * @description paymentMethodType Payment method type
1555
- */
1556
- paymentMethodType: string;
1557
- /**
1558
- * @description paymentMethodCategory PaymentMethod category
1559
- */
1560
- paymentMethodCategory: string;
1561
- /**
1562
- * @description 交互类型
1563
- */
1564
- interactionType?: string;
1565
- /**
1566
- * @description enabled 是否可用
1567
- */
1568
- enabled?: boolean;
1569
- /**
1570
- * @description 上次支付是否成功
1571
- */
1572
- preferred?: boolean;
1573
- /**
1574
- * @description disableReason The reason why something is disabled eg.
1575
- * <p>
1576
- * PAYMENT_ACCOUNT_NOT_AVAILABLE
1577
- * <p>
1578
- * EXCEED_CHANNEL_LIMIT_RULE
1579
- * <p>
1580
- * SERVICE_DEGRADE
1581
- * <p>
1582
- * CHANNEL_NOT_SUPPORT_CURRENCY
1583
- * <p>
1584
- * CHANNEL_DISABLE
1585
- * <p>
1586
- * CHANNEL_NOT_IN_SERVICE_TIME
1587
- * <p>
1588
- * QUERY_IPP_INFO_FAILED
1589
- * <p>
1590
- * LIMIT_CENTER_ACCESS_FAIL
1591
- */
1592
- disableReason?: string;
1593
- /**
1594
- * @description amountLimitInfo The limit for transaction amount
1595
- */
1596
- amountLimitInfo?: AmountLimitInfo;
1597
- /**
1598
- * @description supportedCurrencies The paymentMethodType supported currencies
1599
- */
1600
- supportedCurrencies?: string[];
1601
- /**
1602
- * @description 支付选项打分
1603
- */
1604
- rank?: number;
1605
- /**
1606
- * @description 支付选项详情 {@link com.alipay.fc.common.dto.icashiercore.PaymentOptionDetail}
1607
- */
1608
- paymentOptionDetail?: ExpPaymentOptionDetail;
1609
- /**
1610
- * @description 支付选项详情 Json {@link com.alipay.fc.common.dto.icashiercore.PaymentOptionDetail}
1611
- */
1612
- paymentOptionDetailJson?: string;
1613
- /**
1614
- * @description 支付选项Logo信息
1615
- */
1616
- logo?: Logo;
1617
- /**
1618
- * @description extendInfo extendInfo information
1619
- */
1620
- extendInfo?: string;
1621
- /**
1622
- * @description 两位国家码
1623
- */
1624
- paymentMethodRegion?: string[];
1625
- /**
1626
- * @description 营销活动
1627
- */
1628
- promoNames?: string[];
1629
- /**
1630
- * @description 分期数
1631
- */
1632
- installment?: ExpInstallmentInfo;
1633
- /**
1634
- * @description 支付方式余额检查结果信息
1635
- */
1636
- paymentMethodBalanceCheckResult?: PaymentMethodBalanceCheckResult;
1637
- /**
1638
- * @description 支付可用性检查
1639
- */
1640
- paymentEvaluationResult?: PaymentEvaluationResult;
1641
- /**
1642
- * @description Getter method for property <tt>funding</tt>.
1643
- */
1644
- funding?: string[];
1645
- /**
1646
- * @description 默认是否签约
1647
- */
1648
- enableSignAgreement?: boolean;
1649
- /**
1650
- * @description 银行识别码,对于paymentMethodCategory为BANK_TRANSFER的场景以及2c2p的场景下会返回
1651
- */
1652
- bankIdentifierCode?: string;
1653
- /**
1654
- * @description 支付方式携带的营销信息列表
1655
- */
1656
- promotionInfos?: ComIpayIexpprodServiceFacadeCommonPromotionInfo[];
1657
- /**
1658
- * @description 用户报价信息
1659
- */
1660
- customerFxInfo?: CustomerFxInfo;
1661
- /**
1662
- * @description 认证卡属性集合
1663
- */
1664
- cardIssuerAuthenticationList?: CardIssuerAuthentication[];
1665
- /**
1666
- * @description 支付支持的交互方式
1667
- */
1668
- interactionTypes?: string[];
1669
- }
1670
- /**
1671
- * @description lbs location info
1672
- */
1673
- export interface MobileEnvLocationInfo {
1674
- /**
1675
- * @description longitude
1676
- */
1677
- longitude?: string;
1678
- /**
1679
- * @description latitude
1680
- */
1681
- latitude?: string;
1682
- /**
1683
- * @description countryCode
1684
- */
1685
- countryCode?: string;
1686
- /**
1687
- * @description countryName
1688
- */
1689
- countryName?: string;
1690
- /**
1691
- * @description cityCode
1692
- */
1693
- cityCode?: string;
1694
- /**
1695
- * @description cityName
1696
- */
1697
- cityName?: string;
1698
- /**
1699
- * @description provinceName
1700
- */
1701
- provinceName?: string;
1702
- /**
1703
- * @description provinceCode
1704
- */
1705
- provinceCode?: string;
1706
- /**
1707
- * @description districtName
1708
- */
1709
- districtName?: string;
1710
- /**
1711
- * @description districtCode
1712
- */
1713
- districtCode?: string;
1714
- /**
1715
- * @description type
1716
- *
1717
- * eg.GPS
1718
- */
1719
- type?: string;
1720
- /**
1721
- * @description location update time
1722
- */
1723
- updateTime?: number;
1724
- /**
1725
- * @description location status
1726
- */
1727
- status?: string;
1728
- }
1729
- /**
1730
- * @description mobile browser info
1731
- */
1732
- export interface MobileBrowserInfo {
1733
- /**
1734
- * @description browserJavaEnabled
1735
- */
1736
- browserJavaEnabled?: boolean;
1737
- /**
1738
- * @description browserHeader
1739
- */
1740
- browserHeader?: string;
1741
- /**
1742
- * @description browserColorDepth
1743
- */
1744
- browserColorDepth?: number;
1745
- /**
1746
- * @description browserScreenHeight
1747
- */
1748
- browserScreenHeight?: number;
1749
- /**
1750
- * @description browserScreenWidth
1751
- */
1752
- browserScreenWidth?: number;
1753
- /**
1754
- * @description browserTimeZone
1755
- */
1756
- browserTimeZone?: string;
1757
- /**
1758
- * @description browserJavascriptEnabled
1759
- */
1760
- browserJavascriptEnabled?: boolean;
1761
- /**
1762
- * @description browserLanguage
1763
- */
1764
- browserLanguage?: string;
1765
- }
1766
- /**
1767
- * @description 国际支付标准结果码,参考主站<code>ErrorCode</code>实现。
1768
- *
1769
- * <p>此结果码是国际支付推行的标准结果码,所有系统服务返回的结果码均需按此规范定义。
1770
- * <p>标准结果码的格式如下:
1771
- * <table border="1">
1772
- * <tr>
1773
- * <td><b>位置</b></td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td><td>11</td><td>12</td><td>13</td><td>14</td><td>15</td><td>16</td><td>17</td>
1774
- * </tr>
1775
- * <tr>
1776
- * <td><b>示例</b></td><td>I</td><td>P</td><td>A</td><td>Y</td><td>_</td><td>R</td><td>S</td><td>_</td><td>1</td><td>0</td><td>0</td><td>0</td><td>1</td><td>1</td><td>0</td><td>0</td><td>0</td>
1777
- * </tr>
1778
- * <tr>
1779
- * <td><b>说明</b></td><td colspan=4>固定标识</td><td>分<br>隔<br>符<br></td><td colspan=2>固定<br>标识</td><td>分<br>隔<br>符<br></td><td>返<br>回<br>码<br>级<br>别</td><td>返<br>回<br>码<br>类<br>型</td><td colspan=3>系统编号</td><td colspan=4>错误编码</td>
1780
- * </tr>
1781
- * </table>
1782
- */
1783
- export interface ResultCode {
1784
- /**
1785
- * @description 结果码级别[第9位],INFO-1,WARN-3,ERROR-5,FATAL-7,参见<code>ResultCodeLevel</code>定义
1786
- */
1787
- codeLevel?: string;
1788
- /**
1789
- * @description 结果码类型[第10位],SUCCESS-0,BIZ_ERROR-1,SYS_ERROR-2,THIRD_ERROR-3,参见<code>ResultCodeType</code>定义
1790
- */
1791
- codeType?: string;
1792
- /**
1793
- * @description 系统编号[第11-13位],见<code>SystemCode</code>定义
1794
- */
1795
- systemCode?: string;
1796
- /**
1797
- * @description 系统名称
1798
- */
1799
- systemName?: string;
1800
- /**
1801
- * @description 具体结果码[第14-17位]
1802
- */
1803
- errorSpecific?: string;
1804
- /**
1805
- * @description 错误英文简称
1806
- */
1807
- errorName?: string;
1808
- /**
1809
- * @description 结果码信息描述,可空
1810
- */
1811
- description?: string;
1812
- }
1813
- export interface ShareAppInfo {
1814
- /**
1815
- * @description Getter method for property <tt>appName</tt>.
1816
- */
1817
- appName?: string;
1818
- /**
1819
- * @description Getter method for property <tt>logoUrl</tt>.
1820
- */
1821
- logoUrl?: string;
1822
- /**
1823
- * @description Getter method for property <tt>linkUrl</tt>.
1824
- */
1825
- linkUrl?: string;
1826
- /**
1827
- * @description Getter method for property <tt>schemeUrl</tt>.
1828
- */
1829
- schemeUrl?: string;
1830
- }
1831
- export interface CardLogoModel {
1832
- /**
1833
- * @description Getter method for property <tt>cardBrand</tt>.
1834
- */
1835
- cardBrand?: string;
1836
- /**
1837
- * @description Getter method for property <tt>logoUrl</tt>.
1838
- */
1839
- logoUrl?: string;
1840
- }
1841
- export interface PaymentElementView {
1842
- /**
1843
- * @description payment element key
1844
- */
1845
- paymentElementKey?: string;
1846
- /**
1847
- * @description element type
1848
- */
1849
- elementType?: ElementTypeEnum;
1850
- /**
1851
- * @description element mandatory
1852
- */
1853
- elementMandatory?: boolean;
1854
- /**
1855
- * @description title
1856
- */
1857
- title?: string;
1858
- /**
1859
- * @description sub title
1860
- */
1861
- subTitle?: string;
1862
- /**
1863
- * @description default text
1864
- */
1865
- defaultText?: string;
1866
- /**
1867
- * @description element regx expression
1868
- */
1869
- elementRegx?: string;
1870
- /**
1871
- * @description param illegal text
1872
- */
1873
- paramIllegalText?: string;
1874
- /**
1875
- * @description validate function
1876
- */
1877
- validateFunction?: string;
1878
- /**
1879
- * @description 已填写数据,用来回显
1880
- */
1881
- defaultValue?: string;
1882
- /**
1883
- * @description 支付要素默认值安全加密后的值
1884
- */
1885
- defaultSafeValue?: string;
1886
- /**
1887
- * @description 支付要素默认值安全脱敏后展示的值
1888
- */
1889
- defaultSafeDisplayValue?: string;
1890
- /**
1891
- * @description 该字段使用的字典key
1892
- */
1893
- dataDictKey?: string;
1894
- /**
1895
- * @description 数据源 server/local
1896
- */
1897
- dataSource?: string;
1898
- /**
1899
- * @description 是否结束并排显示
1900
- */
1901
- isPartEnd?: boolean;
1902
- /**
1903
- * @description 是否和下一个要素并排显示
1904
- */
1905
- isPart?: boolean;
1906
- /**
1907
- * @description 配合sub
1908
- */
1909
- subPaymentElementView?: PaymentElementView[];
1910
- /**
1911
- * @description 扩展字段信息
1912
- */
1913
- extendInfo?: string;
1914
- /**
1915
- * @description 联动表单组件
1916
- */
1917
- plugins?: ElementPlugin[];
1918
- }
1919
- export interface Link {
1920
- /**
1921
- * @description 发起关联的父元素,如国家
1922
- */
1923
- src?: string;
1924
- /**
1925
- * @description 被关联的子元素,如省份(国家限定了省份的范围)
1926
- */
1927
- target?: 'address1' | 'address2' | 'zipCode' | 'city' | 'phoneNo';
1928
- /**
1929
- * @description 级联规则,json格式,前端自行解析
1930
- */
1931
- linkRule?: string;
1932
- }
1933
- export interface ComIpayIexpfrontCommonServiceFacadeModelPaymentMethodDetail {
1934
- /**
1935
- * @description 卡号
1936
- */
1937
- cardNo?: string;
1938
- /**
1939
- * @description 卡类型
1940
- */
1941
- cardType?: string;
1942
- /**
1943
- * @description 卡品牌
1944
- */
1945
- cardBrand?: string;
1946
- /**
1947
- * @description 认证卡卡品牌
1948
- */
1949
- selectedCardBrand?: string;
1950
- /**
1951
- * @description 卡logo
1952
- */
1953
- logoUrl?: string;
1954
- /**
1955
- * @description logo名称
1956
- */
1957
- logoName?: string;
1958
- /**
1959
- * @description cvv
1960
- */
1961
- cvv?: string;
1962
- /**
1963
- * @description 过期月
1964
- */
1965
- expiryMonth?: string;
1966
- /**
1967
- * @description 过期年
1968
- */
1969
- expiryYear?: string;
1970
- /**
1971
- * @description 银行卡号前6后4
1972
- */
1973
- mask?: string;
1974
- /**
1975
- * @description 银行卡号后4位
1976
- */
1977
- last4?: string;
1978
- /**
1979
- * @description 卡bin
1980
- */
1981
- cardBin?: string;
1982
- /**
1983
- * @description 发卡行代码
1984
- */
1985
- cardIssuerCode?: string;
1986
- /**
1987
- * @description Card Issue Bank
1988
- */
1989
- cardIssuer?: string;
1990
- /**
1991
- * @description card Issue Country
1992
- */
1993
- countryIssue?: string;
1994
- /**
1995
- * @description 账单地址
1996
- */
1997
- billingAddress?: ComIpayIexpcoreCommonServiceFacadeModelAddress;
1998
- /**
1999
- * @description 持卡人姓名
2000
- */
2001
- cardHolderName?: UserName;
2002
- /**
2003
- * @description 是否绑卡
2004
- */
2005
- bindPaymentMethod?: string;
2006
- /**
2007
- * @description 支付人姓名
2008
- */
2009
- payerName?: UserName;
2010
- /**
2011
- * @description 持卡人出生日期
2012
- */
2013
- birthday?: string;
2014
- /**
2015
- * @description 持有公司卡的企业号码
2016
- */
2017
- businessRegistrationNo?: string;
2018
- /**
2019
- * @description 卡支付密码前两位
2020
- */
2021
- passwordDigest?: string;
2022
- /**
2023
- * @description 巴西个人纳税人的税号
2024
- */
2025
- cpf?: string;
2026
- /**
2027
- * @description 付款人邮箱
2028
- */
2029
- payerEmail?: string;
2030
- /**
2031
- * @description 付款人手机号
2032
- */
2033
- payerPhoneNo?: string;
2034
- /**
2035
- * @description 付款人手机号区号
2036
- */
2037
- payerPhoneNoAreaCode?: string;
2038
- /**
2039
- * @description 6位Blik码
2040
- */
2041
- blikCode?: string;
2042
- /**
2043
- * @description 分期数
2044
- */
2045
- tenor?: string;
2046
- /**
2047
- * @description 是否同意条款
2048
- */
2049
- termsAndConditionsAccepted?: string;
2050
- /**
2051
- * @description 银行识别码(P24/IDEAL用)
2052
- */
2053
- bankIdentifierCode?: string;
2054
- /**
2055
- * @description 加密卡信息(芯片卡)
2056
- */
2057
- encryptCardData?: string;
2058
- /**
2059
- * @description 加密卡信息(磁道卡的场景)
2060
- */
2061
- encryptCardDataMap?: Record<string, string>;
2062
- /**
2063
- * @description 加密pin信息 (format4格式)
2064
- */
2065
- encryptPinDataFormat04?: string;
2066
- /**
2067
- * @description 单笔交易维度的KSN密钥,用于DUKPT算法下的hsm加密机解密
2068
- */
2069
- ksn?: string;
2070
- /**
2071
- * @description kernel SDK 厂商名称(例如softSpace)
2072
- */
2073
- kernelSdkProvider?: string;
2074
- /**
2075
- * @description 是否韩国认证卡 true-是, false-否
2076
- */
2077
- requireIssuerAuthentication?: string;
2078
- /**
2079
- * @description 便利店名称
2080
- */
2081
- storeName?: string;
2082
- /**
2083
- * @description 是否请求pix码
2084
- */
2085
- requirePixCode?: boolean;
2086
- /**
2087
- * @description googlePay 交互属性
2088
- */
2089
- googlePayProps?: GooglePaymentPropModel;
2090
- /**
2091
- * @description applePay 交互属性
2092
- */
2093
- applePayProps?: ApplePayProps;
2094
- /**
2095
- * @description googlePay 提交入参
2096
- */
2097
- googlePayConfiguration?: GooglePayConfiguration;
2098
- /**
2099
- * @description 用户线下卡操作类型 = 刷卡/插卡/贴卡
2100
- */
2101
- offlineCardPayOperateScenes?: string;
2102
- /**
2103
- * @description 线下卡操作类型 = 芯片卡/磁道卡
2104
- */
2105
- offlineCardPayTypeScenes?: string;
2106
- /**
2107
- * @description 二次授权,默认false true-是, false-否
2108
- * @default false
2109
- */
2110
- offlineCardAuthorizedPay?: boolean;
2111
- /**
2112
- * @description 二次授权状态
2113
- */
2114
- offlineCardAuthorizedPayStatus?: string;
2115
- /**
2116
- * @description 线下卡-是否做过提交pinData,端上可以识别到,默认false true-是, false-否
2117
- * @default false
2118
- */
2119
- afterSubmitPinData?: boolean;
2120
- /**
2121
- * @description 地区国家码
2122
- */
2123
- region?: string;
2124
- /**
2125
- * @description 省
2126
- */
2127
- state?: string;
2128
- /**
2129
- * @description 市
2130
- */
2131
- city?: string;
2132
- /**
2133
- * @description 详细地址1
2134
- */
2135
- address1?: string;
2136
- /**
2137
- * @description 详细地址2
2138
- */
2139
- address2?: string;
2140
- /**
2141
- * @description 详细地址1
2142
- */
2143
- shippingAddress1?: string;
2144
- /**
2145
- * @description 邮编
2146
- */
2147
- zipCode?: string;
2148
- /**
2149
- * @description 全名
2150
- */
2151
- fullName?: string;
2152
- /**
2153
- * @description 已存卡场景是否需要获取CVV
2154
- *
2155
- * <p>true-是, false-否
2156
- */
2157
- needCVV?: string;
2158
- /**
2159
- * @description 是否请求码
2160
- */
2161
- requireCode?: boolean;
2162
- /**
2163
- * @description C2P支付参数
2164
- */
2165
- c2pProps?: C2PProps;
2166
- /**
2167
- * @description 卡支付类型
2168
- */
2169
- identityType?: string;
2170
- /**
2171
- * @description NT保密信息
2172
- */
2173
- networkTokenCryptogram?: string;
2174
- }
2175
- export interface BankInfo {
2176
- /**
2177
- * @description 银行简称
2178
- */
2179
- bankShortName?: string;
2180
- /**
2181
- * @description 银行识别码
2182
- */
2183
- bankIdentifierCode?: string;
2184
- /**
2185
- * @description logo url
2186
- */
2187
- logoUrl?: string;
2188
- /**
2189
- * @description 是否可用, 对于外部机构查询
2190
- */
2191
- enabled?: boolean;
2192
- /**
2193
- * @description 是否上次使用, 对于外部机构查询
2194
- */
2195
- lastUsed?: string;
2196
- /**
2197
- * @description 银行是否支持拉端
2198
- */
2199
- hasSchemaUrl?: boolean;
2200
- }
2201
- /**
2202
- * @description 营销信息模块
2203
- */
2204
- export interface PromotionModel {
2205
- /**
2206
- * @description 营销模块标题
2207
- */
2208
- promotionTitle?: string;
2209
- /**
2210
- * @description 营销模块logo
2211
- */
2212
- logo?: string;
2213
- /**
2214
- * @description 营销模块链接标题
2215
- */
2216
- promotionLinkTitle?: string;
2217
- /**
2218
- * @description 支持的最大分期数
2219
- */
2220
- maxTenor?: number;
2221
- /**
2222
- * @description 注意事项标题
2223
- */
2224
- attentionTitle?: string;
2225
- /**
2226
- * @description 注意事项内容
2227
- */
2228
- attentionContent?: string;
2229
- /**
2230
- * @description 营销信息
2231
- */
2232
- promotionInfos?: PromotionInfo[];
2233
- }
2234
- /**
2235
- * @description Currency support configuration information for payment method
2236
- */
2237
- export interface CurrencySupportConfiguration {
2238
- /**
2239
- * @description List of supported merchant region for specific currency For example ["CN", "HK", "SG", "TH]
2240
- */
2241
- supportedMerchantRegion?: string[];
2242
- }
2243
- /**
2244
- * @description 无线 MoneyView 子模型
2245
- */
2246
- export interface Money {
2247
- /**
2248
- * @description A positive integer representing how much to charge in the smallest currency unit
2249
- * e.g. 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency
2250
- */
2251
- value?: string;
2252
- /**
2253
- * @description 3-letter currencyCode, follow ISO 4217
2254
- * e.g. USD
2255
- */
2256
- currency?: string;
2257
- }
2258
- export interface Rate {
2259
- /**
2260
- * @description rate label value
2261
- */
2262
- rate?: string;
2263
- /**
2264
- * @description rate bigDecimal value
2265
- */
2266
- rateValue?: any;
2267
- /**
2268
- * @description exchange currency
2269
- */
2270
- exchangeCurrency?: string;
2271
- /**
2272
- * @description base currency
2273
- */
2274
- baseCurrency?: string;
2275
- /**
2276
- * @description exchange relation,devide by "/"
2277
- * for example,exchange RMB for USD:156/840
2278
- */
2279
- exchangeRelation?: string;
2280
- }
2281
- export interface InstructionView {
2282
- /**
2283
- * @description title
2284
- */
2285
- title?: string;
2286
- /**
2287
- * @description steps
2288
- */
2289
- steps?: string;
2290
- /**
2291
- * @description unfolded
2292
- */
2293
- unfolded?: boolean;
2294
- /**
2295
- * @description 操作说明信息
2296
- */
2297
- instructionInfos?: InstructionInfo[];
2298
- }
2299
- /**
2300
- * @description 可调整数量信息
2301
- */
2302
- export interface AdjustableQuantity {
2303
- /**
2304
- * @description 允许调整的最大数量(包含) 值最大为999999
2305
- */
2306
- maximum?: number;
2307
- /**
2308
- * @description 允许调整的最小数量(包含) 值最小为1
2309
- */
2310
- minimum?: number;
2311
- }
2312
- /**
2313
- * @description 轮询设定 @Author yanhong
2314
- */
2315
- export interface PollingSetting {
2316
- /**
2317
- * @description 轮询时间间隔
2318
- */
2319
- pollingTimeInterval?: string;
2320
- /**
2321
- * @description 轮询次数
2322
- */
2323
- pollingTimes?: string;
2324
- }
2325
- /**
2326
- * @description 隐私链接信息
2327
- */
2328
- export interface PolicyLink {
2329
- /**
2330
- * @description 政策链接名称
2331
- */
2332
- linkName?: string;
2333
- /**
2334
- * @description 政策链接
2335
- */
2336
- link?: string;
2337
- }
2338
- /**
2339
- * @description 信用卡号规则模型
2340
- */
2341
- export interface CardRule {
2342
- /**
2343
- * @description 卡号前缀位数
2344
- */
2345
- prefixLength?: number;
2346
- /**
2347
- * @description 卡号前缀最小数字
2348
- */
2349
- minPrefix?: string;
2350
- /**
2351
- * @description 卡号前缀最大数字
2352
- */
2353
- maxPrefix?: string;
2354
- /**
2355
- * @description 卡号最小长度
2356
- */
2357
- minLength?: number;
2358
- /**
2359
- * @description 卡号最大长度
2360
- */
2361
- maxLength?: number;
2362
- /**
2363
- * @description 是否使用模10算法
2364
- * @default true
2365
- */
2366
- useLuhn?: boolean;
2367
- }
2368
- export interface TerminalTypeAction {
2369
- /**
2370
- * @description 签约类型
2371
- */
2372
- signType?: string;
2373
- /**
2374
- * @description 开启重定向类型
2375
- */
2376
- openRedirectType?: string;
2377
- /**
2378
- * @description 交互类型@see com.ipay.iexpprod.service.facade.enums.InteractionTypeEnum
2379
- */
2380
- interactionType?: string;
2381
- }
2382
- /**
2383
- * @description easy pay 2.0手机号登录格式配置
2384
- */
2385
- export interface MobileLoginConfig {
2386
- /**
2387
- * @description 国家码
2388
- */
2389
- countryCode?: string;
2390
- /**
2391
- * @description 区号
2392
- */
2393
- areaCode?: string;
2394
- /**
2395
- * @description 手机号正则校验
2396
- */
2397
- regex?: string;
2398
- /**
2399
- * @description 最小长度
2400
- */
2401
- minLength?: string;
2402
- /**
2403
- * @description 最大长度
2404
- */
2405
- maxLength?: string;
2406
- }
2407
- export interface FirstPhaseSubscriptionDetail {
2408
- /**
2409
- * @description payment amount
2410
- */
2411
- paymentAmount?: MobileMoneyView;
2412
- /**
2413
- * @description payment amount
2414
- */
2415
- paymentAmountView?: PaymentView;
2416
- /**
2417
- * @description promotion detail
2418
- */
2419
- promotionDetails?: PromotionDetail[];
2420
- }
2421
- export interface PeriodRule {
2422
- /**
2423
- * @description period type
2424
- */
2425
- periodType?: string;
2426
- /**
2427
- * @description period count
2428
- */
2429
- periodCount?: number;
2430
- }
2431
- export interface Trial {
2432
- /**
2433
- * @description Integer 优惠开始阶段
2434
- */
2435
- trialStartPeriod?: number;
2436
- /**
2437
- * @description 优惠后金额(大于或等于0)
2438
- */
2439
- trialAmount?: ComIpayIexpprodServiceFacadeCommonAmount;
2440
- /**
2441
- * @description 优惠结束阶段,不传默认当期
2442
- */
2443
- trialEndPeriod?: number;
2444
- }
2445
- export interface SubscriptionPricePlan {
2446
- /**
2447
- * @description price plan start period
2448
- */
2449
- pricePlanStartPeriod?: number;
2450
- /**
2451
- * @description price plan end period
2452
- */
2453
- pricePlanEndPeriod?: number;
2454
- /**
2455
- * @description price plan start date
2456
- */
2457
- pricePlanStartDate?: string;
2458
- /**
2459
- * @description price plan end date
2460
- */
2461
- pricePlanEndDate?: string;
2462
- /**
2463
- * @description price plan amount
2464
- */
2465
- pricePlanAmount?: MobileMoneyView;
2466
- /**
2467
- * @description price plan amount view
2468
- */
2469
- pricePlanAmountView?: PaymentView;
2470
- }
2471
- export interface UserName {
2472
- /**
2473
- * @description firstName
2474
- */
2475
- firstName?: string;
2476
- /**
2477
- * @description middleName
2478
- */
2479
- middleName?: string;
2480
- /**
2481
- * @description lastName
2482
- */
2483
- lastName?: string;
2484
- /**
2485
- * @description fullName
2486
- */
2487
- fullName?: string;
2488
- }
2489
- export interface Address {
2490
- /**
2491
- * @description 2-letter courtry/region code, refer to ISO 3166
2492
- */
2493
- region?: string;
2494
- /**
2495
- * @description State/County/Province
2496
- */
2497
- state?: string;
2498
- /**
2499
- * @description City/District/Suburb/Town/Village
2500
- */
2501
- city?: string;
2502
- /**
2503
- * @description Address line 1(Street address/PO Box/Company name)
2504
- */
2505
- address1?: string;
2506
- /**
2507
- * @description Address line 2(Apartment/Suite/Unit/Building)
2508
- */
2509
- address2?: string;
2510
- /**
2511
- * @description ZIP or postal code
2512
- */
2513
- zipCode?: string;
2514
- /**
2515
- * @description 分区,如成都成华区
2516
- */
2517
- district?: string;
2518
- /**
2519
- * @description 姓名
2520
- */
2521
- name?: UserName;
2522
- /**
2523
- * @description 电话号码(带区号或不带区号均可)
2524
- */
2525
- phoneNo?: string;
2526
- /**
2527
- * @description State/County/Province 多语言展示
2528
- */
2529
- stateName?: string;
2530
- }
2531
- /**
2532
- * @description 交付时效
2533
- */
2534
- export interface DeliveryEstimate {
2535
- /**
2536
- * @description 交付时效最短时间
2537
- */
2538
- minimum?: DeliveryEstimateInfo;
2539
- /**
2540
- * @description 交付时效最长时间
2541
- */
2542
- maximum?: DeliveryEstimateInfo;
2543
- }
2544
- export interface AmountLimitInfo {
2545
- /**
2546
- * @description 单次限额信息
2547
- */
2548
- singleLimit?: AmountLimit;
2549
- /**
2550
- * @description 日限额信息
2551
- */
2552
- dayLimit?: AmountLimit;
2553
- /**
2554
- * @description 月限额信息
2555
- */
2556
- monthLimit?: AmountLimit;
2557
- /**
2558
- * @description BL规则余额限额信息
2559
- */
2560
- balanceLimit?: AmountLimit;
2561
- /**
2562
- * @description 年读限额信息
2563
- */
2564
- yearLimit?: AmountLimit;
2565
- /**
2566
- * @description 汇总的最小允许金额,非必返回
2567
- */
2568
- minAmount?: MultiCurrencyMoney;
2569
- /**
2570
- * @description 汇总的最小允许金额,非必返回
2571
- */
2572
- maxAmount?: MultiCurrencyMoney;
2573
- }
2574
- export interface ExpPaymentOptionDetail {
2575
- }
2576
- /**
2577
- * @description Logo信息
2578
- */
2579
- export interface Logo {
2580
- /**
2581
- * @description logo名称
2582
- */
2583
- logoName?: string;
2584
- /**
2585
- * @description logo 链接
2586
- */
2587
- logoUrl?: string;
2588
- /**
2589
- * @description logo 类型
2590
- */
2591
- logoType?: string;
2592
- /**
2593
- * @description logo pattern,如M1-PC-large,对应商户在门户中对logo的命名
2594
- */
2595
- logoPattern?: string;
2596
- /**
2597
- * @description logo宽度,单位px
2598
- */
2599
- logoWidth?: string;
2600
- /**
2601
- * @description logo高度,单位px
2602
- */
2603
- logoHeight?: string;
2604
- }
2605
- export interface ExpInstallmentInfo {
2606
- /**
2607
- * @description 卡分期计划
2608
- */
2609
- plans?: ExpCardPlan[];
2610
- /**
2611
- * @description 支持的卡品牌
2612
- */
2613
- supportCardBrands?: ExpSupportCardBrand[];
2614
- /**
2615
- * @description One Api 支持的分期计划
2616
- */
2617
- installmentPlans?: InstallmentPlan[];
2618
- }
2619
- /**
2620
- * @description 支付方式余额检查结果信息
2621
- */
2622
- export interface PaymentMethodBalanceCheckResult {
2623
- /**
2624
- * @description 支付方式余额检查状态(true代表通过,false代表不通过)
2625
- */
2626
- status?: boolean;
2627
- /**
2628
- * @description 支付方式月检查状态不通过原因
2629
- */
2630
- unAvailableInfo?: string;
2631
- /**
2632
- * @description easy pay 2.0场景。可支付检查失败错误码
2633
- */
2634
- resultCode?: string;
2635
- }
2636
- /**
2637
- * @description add tips here
2638
- */
2639
- export interface PaymentEvaluationResult {
2640
- /**
2641
- * @description 支付方式余额检查状态(true代表通过,false代表不通过)
2642
- */
2643
- status?: boolean;
2644
- /**
2645
- * @description 支付方式月检查状态不通过原因
2646
- */
2647
- unAvailableInfo?: string;
2648
- /**
2649
- * @description 支付方式检查状态不通过后提供的引导链接
2650
- */
2651
- guideUrl?: string;
2652
- /**
2653
- * @description 支付方式视图
2654
- */
2655
- paymentBalanceInfo?: DanaSofPayMethodView[];
2656
- }
2657
- /**
2658
- * @description 营销活动信息
2659
- */
2660
- export interface ComIpayIexpprodServiceFacadeCommonPromotionInfo {
2661
- /**
2662
- * @description 营销活动id
2663
- */
2664
- promotionId?: string;
2665
- /**
2666
- * @description 活动申请单id
2667
- */
2668
- discountApplyId?: string;
2669
- /**
2670
- * @description 券总金额 权益的金额分为以下几部分:
2671
- * 总金额(totalAmount):券的总金额,由已核销金额和未核销金额组成,已返回此字段
2672
- * 未核销金额:券未被使用的金额,由冻结金额和未冻结金额组成,未返回此字段,需要可用freezeAmount+availableAmount得到
2673
- * 冻结金额(freezeAmount):券的冻结金额,券未核销金额里面被冻结的金额
2674
- * 未冻结金额(availableAmount):券未核销金额里面被冻结的金额,由推荐使用金额和禁用金额组成
2675
- * 推荐金额(recommendAmount):为本笔支付单实际可核销的券金额
2676
- * 禁用金额:未冻结的券金额里面禁止使用的金额,未返回此字段,需要可用availableAmount-recommendAmount得到
2677
- */
2678
- totalAmount?: MultiCurrencyMoney;
2679
- /**
2680
- * @description 券的冻结金额,券未核销金额里面被冻结的金额
2681
- */
2682
- freezeAmount?: MultiCurrencyMoney;
2683
- /**
2684
- * @description 可用金额
2685
- */
2686
- availableAmount?: MultiCurrencyMoney;
2687
- /**
2688
- * @description 推荐金额:即允许核销金额
2689
- */
2690
- recommendedAmount?: MultiCurrencyMoney;
2691
- /**
2692
- * @description 权益资金组成成分
2693
- */
2694
- promotionFundInfo?: PromotionFundInfo;
2695
- /**
2696
- * @description 权益产品码
2697
- */
2698
- promotionProductCode?: string;
2699
- /**
2700
- * @description 原始权益金额(A+定制字段): 当支付金额币种或订单币种与营销权益预算币种不同时, 该字段返回为权益预算币种金额.
2701
- */
2702
- originalPromotionAmount?: MultiCurrencyMoney;
2703
- /**
2704
- * @description 可用次数
2705
- */
2706
- availableCount?: number;
2707
- /**
2708
- * @description 可核销总次数
2709
- */
2710
- totalCount?: number;
2711
- /**
2712
- * @description 活动类型
2713
- */
2714
- promotionType?: string;
2715
- /**
2716
- * @description 活动名称
2717
- */
2718
- promotionName?: string;
2719
- /**
2720
- * @description 活动描述
2721
- */
2722
- promotionDescription?: string;
2723
- /**
2724
- * @description Banner name for ESP promotion
2725
- */
2726
- promotionBannerName?: string;
2727
- /**
2728
- * @description ESP banner image url
2729
- */
2730
- promotionBannerUrl?: string;
2731
- /**
2732
- * @description ESP banner image urls (multiple urls)
2733
- */
2734
- promotionBannerUrls?: string;
2735
- /**
2736
- * @description 资金类型
2737
- */
2738
- fundType?: string;
2739
- /**
2740
- * @description 立减型营销信息
2741
- */
2742
- discount?: Discount;
2743
- /**
2744
- * @description 免息类营销信息
2745
- */
2746
- interestFree?: ComIpayIexpprodServiceFacadeCommonInterestFree;
2747
- /**
2748
- * @description 多语言描述:奖品多语言配置信息
2749
- */
2750
- sloganInfo?: Record<string, string>;
2751
- /**
2752
- * @description 资金扩展信息
2753
- */
2754
- extendInfo?: Record<string, string>;
2755
- }
2756
- /**
2757
- * @description 支付方式-用户前报价信息
2758
- */
2759
- export interface CustomerFxInfo {
2760
- /**
2761
- * @description 外汇场景
2762
- */
2763
- fxScenario?: string;
2764
- /**
2765
- * @description 首选币种
2766
- */
2767
- preferCurrencyCode?: string;
2768
- /**
2769
- * @description Determines whether the merchant hits the cut flow.
2770
- * If it hits the flow cut, use market price; otherwise, use locked price.
2771
- *
2772
- * <p>
2773
- * 判断商户是否命中切流
2774
- * 命中切流 (true) 使用市价,未命中切流 (false) 则使用锁价
2775
- */
2776
- useMarketPrice?: boolean;
2777
- }
2778
- export interface CardIssuerAuthentication {
2779
- /**
2780
- * @description 卡售卖单元
2781
- */
2782
- cardSalesUnitCode?: string;
2783
- /**
2784
- * @description 认证卡code(同目标机构)
2785
- */
2786
- issuerAuthenticationCode?: string;
2787
- }
2788
- export type ElementTypeEnum = 'TEXT' | 'DIGIT_6' | 'DIGIT_18' | 'DIGIT_32' | 'DIGIT_11' | 'DIGIT_4' | 'DIGIT_10' | 'CHECKBOX' | 'SELECT' | 'SWITCH' | 'PASSWORD_2' | 'DATE_PICKER' | 'CHECKLIST' | 'ADDRESS' | 'DROPBOX' | 'DIGIT_13' | 'GRIDLIST' | 'TENOR_SELECT_KR' | 'STORELIST' | 'GRIDBANKLIST' | 'SUB_QR_CODE' | 'GRIDBANKTOP' | 'PHONE_TEXT_AREA_CODE';
2789
- export interface ElementPlugin {
2790
- /**
2791
- * @description 联动模式
2792
- */
2793
- name?: ElementPluginNameEnum;
2794
- /**
2795
- * @description Getter method for property <tt>changes</tt>.
2796
- */
2797
- changes?: ElementPluginChange[];
2798
- }
2799
- /**
2800
- * @description 地址
2801
- */
2802
- export interface ComIpayIexpcoreCommonServiceFacadeModelAddress {
2803
- /**
2804
- * @description 地区国家码
2805
- */
2806
- region?: string;
2807
- /**
2808
- * @description 省
2809
- */
2810
- state?: string;
2811
- /**
2812
- * @description 市
2813
- */
2814
- city?: string;
2815
- /**
2816
- * @description 详细地址1
2817
- */
2818
- address1?: string;
2819
- /**
2820
- * @description 详细地址2
2821
- */
2822
- address2?: string;
2823
- /**
2824
- * @description 邮编
2825
- */
2826
- zipCode?: string;
2827
- /**
2828
- * @description 账单名称
2829
- */
2830
- name?: ComIpayIexpcoreCommonServiceFacadeModelUserName;
2831
- /**
2832
- * @description 账单电话
2833
- */
2834
- phoneNo?: string;
2835
- }
2836
- /**
2837
- * @description googlePay 支付要素信息
2838
- */
2839
- export interface GooglePaymentPropModel {
2840
- /**
2841
- * @description TEST\PROD,
2842
- */
2843
- environment?: string;
2844
- /**
2845
- * @description CKP\SDK和google交互参数
2846
- */
2847
- paymentRequest?: GooglePaymentModel;
2848
- /**
2849
- * @description 是否需要用户选择支付方式
2850
- */
2851
- existingPaymentMethodRequired?: boolean;
2852
- }
2853
- export interface ApplePayProps {
2854
- /**
2855
- * @description TEST\PROD,
2856
- */
2857
- environment?: string;
2858
- /**
2859
- * @description CKP\SDK和apple交互参数 下一层级需要包装的字段
2860
- */
2861
- paymentRequest?: ApplePaymentModel;
2862
- }
2863
- /**
2864
- * @description googlePay支付方式 入参
2865
- */
2866
- export interface GooglePayConfiguration {
2867
- /**
2868
- * @description googlePay 加密token@see https://developers.google.com/pay/api/web/guides/resources/payment-data-cryptography?hl=zh-cn
2869
- */
2870
- googlePayToken?: string;
2871
- /**
2872
- * @description 付款凭证验证信息@see https://developers.google.com/pay/api/web/reference/response-objects#assurance-details-specifications
2873
- */
2874
- assuranceDetails?: AssuranceDetail;
2875
- /**
2876
- * @description 邮箱
2877
- */
2878
- email?: string;
2879
- /**
2880
- * @description googleShippingAddress@see https://developers.google.com/pay/api/web/reference/response-objects#Address
2881
- */
2882
- googleShippingAddress?: GoogleAddress;
2883
- /**
2884
- * @description googleBillingAddress@see https://developers.google.com/pay/api/web/reference/response-objects#Address
2885
- */
2886
- googleBillingAddress?: GoogleAddress;
2887
- /**
2888
- * @description 商户信息
2889
- */
2890
- configuration?: Configuration;
2891
- /**
2892
- * @description 邮箱是否必填
2893
- */
2894
- emailRequired?: boolean;
2895
- /**
2896
- * @description 收货地址是否必填
2897
- */
2898
- shippingAddressRequired?: boolean;
2899
- /**
2900
- * @description shipping限制@see https://developers.google.com/pay/api/web/reference/request-objects#ShippingAddressParameters
2901
- */
2902
- googleShippingAddressParameters?: GoogleShippingAddressParameter;
2903
- /**
2904
- * @description 允许的支付类型 ["PAN_ONLY", "CRYPTOGRAM_3DS"]
2905
- * https://developers.google.com/pay/api/web/reference/request-objects#CardParameters
2906
- */
2907
- allowedAuthMethods?: string[];
2908
- /**
2909
- * @description 允许的支卡品牌列表 ["AMEX", "DISCOVER", "INTERAC", "JCB", "MASTERCARD", "VISA"]
2910
- */
2911
- allowedCardNetworks?: string[];
2912
- /**
2913
- * @description 是否允许信用卡
2914
- */
2915
- allowCreditCards?: boolean;
2916
- /**
2917
- * @description 是否允许预付卡
2918
- */
2919
- allowPrepaidCards?: boolean;
2920
- /**
2921
- * @description 是否获取支付验证信息
2922
- */
2923
- assuranceDetailsRequired?: boolean;
2924
- /**
2925
- * @description 是否获取账单地址
2926
- */
2927
- billingAddressRequired?: boolean;
2928
- /**
2929
- * @description 账单地址参数@see https://developers.google.com/pay/api/web/reference/request-objects#BillingAddressParameters
2930
- */
2931
- googleBillingAddressParameters?: GoogleBillingAddressParameter;
2932
- /**
2933
- * @description 支付信息@see https://developers.google.com/pay/api/web/reference/request-objects#TransactionInfo
2934
- */
2935
- transactionInfo?: TransactionInfo;
2936
- /**
2937
- * @description PRODUCTION: Used to return chargeable payment methods when a valid Google merchant ID is specified and configured for the domain.
2938
- * TEST: Dummy payment methods that are suitable for testing (default).
2939
- */
2940
- environment?: string;
2941
- /**
2942
- * @description If set to true then the IsReadyToPayResponse object includes an additional paymentMethodPresent property that describes the visitor's readiness to pay with one or more payment methods specified in allowedPaymentMethods.
2943
- */
2944
- existingPaymentMethodRequired?: boolean;
2945
- /**
2946
- * @description google 交互方式
2947
- * @default true
2948
- */
2949
- buttonsBundled?: boolean;
2950
- /**
2951
- * @description pecifies the following callback intents for PaymentDataCallbacks:
2952
- * OFFER、PAYMENT_AUTHORIZATION、SHIPPING_ADDRESS、SHIPPING_OPTION
2953
- */
2954
- callbackIntents?: string[];
2955
- }
2956
- /**
2957
- * @description C2P支付流程核心参数
2958
- */
2959
- export interface C2PProps {
2960
- /**
2961
- * @description 事务关联ID
2962
- */
2963
- correlationId?: string;
2964
- /**
2965
- * @description 商户交易ID
2966
- */
2967
- merchantTransactionId?: string;
2968
- }
2969
- /**
2970
- * @description 营销信息
2971
- */
2972
- export interface PromotionInfo {
2973
- /**
2974
- * @description 营销类型枚举
2975
- */
2976
- promotionType?: string;
2977
- /**
2978
- * @description 免息类营销信息
2979
- */
2980
- interestFree?: InterestFree;
2981
- }
2982
- /**
2983
- * @description 码展示页操作说明信息
2984
- */
2985
- export interface InstructionInfo {
2986
- /**
2987
- * @description 图标地址
2988
- */
2989
- icon?: string;
2990
- /**
2991
- * @description 描述
2992
- */
2993
- description?: string;
2994
- /**
2995
- * @description 描述链接
2996
- */
2997
- descriptionLink?: string;
2998
- }
2999
- export interface PromotionDetail {
3000
- /**
3001
- * @description promotion amount for mobile view
3002
- */
3003
- promotionAmount?: MobileMoneyView;
3004
- /**
3005
- * @description promotion amount view
3006
- */
3007
- promotionAmountView?: PaymentView;
3008
- }
3009
- /**
3010
- * @description Amount
3011
- */
3012
- export interface ComIpayIexpprodServiceFacadeCommonAmount {
3013
- /**
3014
- * @description currency
3015
- */
3016
- currency?: string;
3017
- /**
3018
- * @description value
3019
- */
3020
- value?: string;
3021
- }
3022
- /**
3023
- * @description 发货时效信息
3024
- */
3025
- export interface DeliveryEstimateInfo {
3026
- /**
3027
- * @description 时间单位 YEAR MONTH DAY HOUR
3028
- */
3029
- unit?: string;
3030
- /**
3031
- * @description 时间对应的数值
3032
- */
3033
- value?: number;
3034
- }
3035
- export interface AmountLimit {
3036
- /**
3037
- * @description Getter method for property <tt>maxAmount</tt>.
3038
- */
3039
- maxAmount?: MultiCurrencyMoney;
3040
- /**
3041
- * @description Getter method for property <tt>minAmount</tt>.
3042
- */
3043
- minAmount?: MultiCurrencyMoney;
3044
- /**
3045
- * @description Getter method for property <tt>remainAmount</tt>.
3046
- */
3047
- remainAmount?: MultiCurrencyMoney;
3048
- }
3049
- /**
3050
- * @description 多币种货币类,处理货币算术、币种和取整。与国内站点统一使用的<code>com.iwallet.biz.common.util.money.Money</code>类进行严格区分。
3051
- *
3052
- * <p>
3053
- * 货币类中封装了货币金额和币种。目前金额在内部是long类型表示,
3054
- * 单位是所属币种的最小货币单位(如对人民币是分)。
3055
- *
3056
- * <p>
3057
- * 目前,货币实现了以下主要功能:<br>
3058
- * <ul>
3059
- * <li>支持货币对象与double(float)/long(int)/String/BigDecimal之间相互转换。
3060
- * <li>货币类在运算中提供与JDK中的BigDecimal类似的运算接口,
3061
- * BigDecimal的运算接口支持任意指定精度的运算功能,能够支持各种
3062
- * 可能的财务规则。
3063
- * <li>货币类在运算中也提供一组简单运算接口,使用这组运算接口,则在
3064
- * 精度处理上使用缺省的处理规则。
3065
- * <li>推荐使用Money,不建议直接使用BigDecimal的原因之一在于,
3066
- * 使用BigDecimal,同样金额和币种的货币使用BigDecimal存在多种可能
3067
- * 的表示,例如:new BigDecimal("10.5")与new BigDecimal("10.50")
3068
- * 不相等,因为scale不等。使得Money类,同样金额和币种的货币只有
3069
- * 一种表示方式,new Money("10.5")和new Money("10.50")应该是相等的。
3070
- * <li>不推荐直接使用BigDecimal的另一原因在于, BigDecimal是Immutable,
3071
- * 一旦创建就不可更改,对BigDecimal进行任意运算都会生成一个新的
3072
- * BigDecimal对象,因此对于大批量统计的性能不够满意。Money类是
3073
- * mutable的,对大批量统计提供较好的支持。
3074
- * <li>提供基本的格式化功能。
3075
- * <li>Money类中不包含与业务相关的统计功能和格式化功能。业务相关的功能
3076
- * 建议使用utility类来实现。
3077
- * <li>Money类实现了Serializable接口,支持作为远程调用的参数和返回值。
3078
- * <li>Money类实现了equals和hashCode方法。
3079
- * </ul>
3080
- *
3081
- * TODO: 必须处理运算中的溢出情形
3082
- */
3083
- export interface MultiCurrencyMoney {
3084
- /**
3085
- * @description 最小货币单位的值。(如:对于人民币场景为分,对于日元场景为元)
3086
- */
3087
- cent?: number;
3088
- /**
3089
- * @description 币种。
3090
- */
3091
- currency?: string;
3092
- /**
3093
- * @description 支付宝体系内一般存储币种值(156/840/...)
3094
- */
3095
- currencyValue?: string;
3096
- }
3097
- /**
3098
- * @description 卡分期计划
3099
- */
3100
- export interface ExpCardPlan {
3101
- /**
3102
- * @description 分期数
3103
- */
3104
- installmentNum?: string;
3105
- /**
3106
- * @description 分期间隔,卡支付默认为MONTH
3107
- */
3108
- interval?: string;
3109
- /**
3110
- * @description 费率
3111
- */
3112
- interestRate?: string;
3113
- /**
3114
- * @description 是否可用
3115
- */
3116
- enabled?: boolean;
3117
- /**
3118
- * @description 最大支持分期金额
3119
- */
3120
- maxInstallmentAmount?: ComIpayIexpprodServiceFacadeCommonAmount;
3121
- /**
3122
- * @description 最小支持分期金额
3123
- */
3124
- minInstallmentAmount?: ComIpayIexpprodServiceFacadeCommonAmount;
3125
- /**
3126
- * @description 费率类型:
3127
- * M: 商户承担费率
3128
- * C: 用户承担费率
3129
- */
3130
- interestType?: string;
3131
- /**
3132
- * @description 每个月分期金额
3133
- */
3134
- monthlyAmount?: ComIpayIexpprodServiceFacadeCommonAmount;
3135
- /**
3136
- * @description 每个月分期利息
3137
- */
3138
- monthlyInterest?: ComIpayIexpprodServiceFacadeCommonAmount;
3139
- }
3140
- export interface ExpSupportCardBrand {
3141
- /**
3142
- * @description 卡品牌
3143
- */
3144
- cardBrand?: string;
3145
- /**
3146
- * @description 卡品牌logo
3147
- */
3148
- logo?: Logo;
3149
- }
3150
- export interface InstallmentPlan {
3151
- /**
3152
- * @description 分期支持的银行
3153
- */
3154
- supportBank?: ExpSupportBank;
3155
- /**
3156
- * @description 分期计划
3157
- */
3158
- plans?: ExpCardPlan[];
3159
- }
3160
- export interface DanaSofPayMethodView {
3161
- /**
3162
- * @description 支付方式
3163
- */
3164
- payMethod?: string;
3165
- /**
3166
- * @description 支付选项
3167
- */
3168
- payOption?: string;
3169
- /**
3170
- * @description 支付方式是否有效
3171
- */
3172
- enableStatus?: string;
3173
- /**
3174
- * @description 不可用code
3175
- */
3176
- disableReasonCode?: string;
3177
- /**
3178
- * @description 不可用原因
3179
- */
3180
- disableReason?: string;
3181
- /**
3182
- * @description 账户余额
3183
- */
3184
- accountBalance?: DanaSofPayAmount;
3185
- /**
3186
- * @description 优惠券信息列表
3187
- */
3188
- couponInfo?: DanaSofCouponInfo[];
3189
- /**
3190
- * @description 分期信息列表
3191
- */
3192
- installmentInfo?: DanaSofInstallmentInfo[];
3193
- }
3194
- /**
3195
- * @description 权益资金组成成分
3196
- */
3197
- export interface PromotionFundInfo {
3198
- /**
3199
- * @description 权益资产中有资部分的金额
3200
- */
3201
- fundedAmount?: MultiCurrencyMoney;
3202
- /**
3203
- * @description 权益资产中无资部分的金额
3204
- */
3205
- nonFundedAmount?: MultiCurrencyMoney;
3206
- }
3207
- /**
3208
- * @description 立减型营销信息
3209
- */
3210
- export interface Discount {
3211
- /**
3212
- * @description 营销优惠名称
3213
- */
3214
- discountName?: string;
3215
- /**
3216
- * @description 营销优惠类型
3217
- */
3218
- discountTag?: string;
3219
- /**
3220
- * @description 预计营销优惠金额
3221
- */
3222
- estimateSavingsAmount?: ComIpayIexpprodServiceFacadeCommonAmount;
3223
- /**
3224
- * @description 营销优惠金额
3225
- */
3226
- savingsAmount?: ComIpayIexpprodServiceFacadeCommonAmount;
3227
- /**
3228
- * @description 促销代码(CKP极简集成场景下,用户使用了coupon的场景下存在)
3229
- */
3230
- promotionCode?: string;
3231
- }
3232
- /**
3233
- * @description 免息类营销信息
3234
- */
3235
- export interface ComIpayIexpprodServiceFacadeCommonInterestFree {
3236
- /**
3237
- * @description 卡行名称,例:IBK_BC,SAMSUNG,HYUNDAI
3238
- * 为空时表示不限制
3239
- */
3240
- provider?: string;
3241
- /**
3242
- * @description 营销到期时间,ISO8601格式
3243
- * "2023-04-27T23:33:09+09:00"
3244
- * "2023-04-27T23:33:09"
3245
- */
3246
- expireTime?: string;
3247
- /**
3248
- * @description 免息分期数,例:[2,6,7]
3249
- */
3250
- installmentFreeNums?: number[];
3251
- /**
3252
- * @description 营销要求的订单最小支付金额
3253
- */
3254
- minPaymentAmount?: ComIpayIexpprodServiceFacadeCommonAmount;
3255
- /**
3256
- * @description 营销要求的订单最大支付金额,为空时表示不限制
3257
- */
3258
- maxPaymentAmount?: ComIpayIexpprodServiceFacadeCommonAmount;
3259
- /**
3260
- * @description 表示免息的百分比。0表示不免息,100%表示买家完全免息,0-100%之间表示部分免息。?????
3261
- */
3262
- freePercentage?: number;
3263
- }
3264
- export type ElementPluginNameEnum = 'SET_STATE' | 'PASSIVE_SET_STATE';
3265
- export interface ElementPluginChange {
3266
- /**
3267
- * @description Getter method for property <tt>dependencies</tt>.
3268
- */
3269
- dependencies?: ElementPluginChangeDependency;
3270
- /**
3271
- * @description Getter method for property <tt>states</tt>.
3272
- */
3273
- states?: ElementPluginChangeStates;
3274
- }
3275
- /**
3276
- * @description 用户名称
3277
- */
3278
- export interface ComIpayIexpcoreCommonServiceFacadeModelUserName {
3279
- /**
3280
- * @description firstName
3281
- */
3282
- firstName?: string;
3283
- /**
3284
- * @description middleName
3285
- */
3286
- middleName?: string;
3287
- /**
3288
- * @description lastName
3289
- */
3290
- lastName?: string;
3291
- /**
3292
- * @description fullName
3293
- */
3294
- fullName?: string;
3295
- }
3296
- /**
3297
- * @description CKP和google sdk 交互入参
3298
- */
3299
- export interface GooglePaymentModel {
3300
- allowedPaymentMethods?: GooglePaymentMethodModel[];
3301
- merchantInfo?: GoogleMerchantInfo;
3302
- transactionInfo?: GoogleTransactionInfo;
3303
- callbackIntents?: string[];
3304
- apiVersion?: number;
3305
- apiVersionMinor?: number;
3306
- emailRequired?: boolean;
3307
- shippingAddressRequired?: boolean;
3308
- }
3309
- export interface ApplePaymentModel {
3310
- /**
3311
- * @description Apple pay 支付版本号
3312
- */
3313
- version?: any;
3314
- /**
3315
- * @description Apple pay 支持的卡品牌
3316
- */
3317
- supportedNetworks?: string[];
3318
- /**
3319
- * @description Apple pay 对应商户的支持能力范围(supports3DS必定支持) (supportsEMV看后续情况)
3320
- */
3321
- merchantCapabilities?: string[];
3322
- /**
3323
- * @description Apple pay 强制消费的 Billing Contact信息
3324
- */
3325
- requiredBillingContactFields?: string[];
3326
- /**
3327
- * @description Apple pay 强制消费的 Shipping Contact信息
3328
- */
3329
- requiredShippingContactFields?: string[];
3330
- /**
3331
- * @description 商家信息
3332
- */
3333
- merchantInfo?: AppleMerchantInfo;
3334
- /**
3335
- * @description 支付视图,用于展示支付金额相关信息
3336
- */
3337
- paymentAmount?: PaymentView;
3338
- /**
3339
- * @description 订单信息类
3340
- */
3341
- order?: OrderInfo;
3342
- }
3343
- /**
3344
- * @description googlePay risk check
3345
- */
3346
- export interface AssuranceDetail {
3347
- /**
3348
- * @description Cardholder 付款凭证验证权
3349
- */
3350
- accountVerified?: boolean;
3351
- /**
3352
- * @description 付款凭证执行了识别和验证
3353
- */
3354
- cardHolderAuthenticated?: boolean;
3355
- }
3356
- /**
3357
- * @description google地址信息
3358
- */
3359
- export interface GoogleAddress {
3360
- /**
3361
- * @description 物流收件人全名
3362
- */
3363
- name?: string;
3364
- /**
3365
- * @description 物流邮编
3366
- */
3367
- postalCode?: string;
3368
- /**
3369
- * @description 物流国家码
3370
- */
3371
- countryCode?: string;
3372
- /**
3373
- * @description 手机号码
3374
- */
3375
- phoneNumber?: string;
3376
- /**
3377
- * @description 物流地址1
3378
- */
3379
- address1?: string;
3380
- /**
3381
- * @description 物流地址2
3382
- */
3383
- address2?: string;
3384
- /**
3385
- * @description 物流地址3
3386
- */
3387
- address3?: string;
3388
- /**
3389
- * @description City, town, neighborhood, or suburb.
3390
- */
3391
- locality?: string;
3392
- /**
3393
- * @description A country subdivision, such as a state or province.
3394
- */
3395
- administrativeArea?: string;
3396
- /**
3397
- * @description The sorting code.
3398
- */
3399
- sortingCode?: string;
3400
- }
3401
- /**
3402
- * @description googlePay createPaymentSession 入参
3403
- */
3404
- export interface Configuration {
3405
- /**
3406
- * @description googlePay 支付页展示名称
3407
- */
3408
- merchantName?: string;
3409
- /**
3410
- * @description The name of merchant or company account
3411
- */
3412
- gatewayMerchantId?: string;
3413
- /**
3414
- * @description google侧商户id
3415
- */
3416
- merchantId?: string;
3417
- }
3418
- /**
3419
- * @description shippingAddressParameters
3420
- */
3421
- export interface GoogleShippingAddressParameter {
3422
- /**
3423
- * @description 允许配送的国家/地区的 ISO国家码
3424
- */
3425
- allowedCountryCodes?: string[];
3426
- /**
3427
- * @description 是否需要手机号
3428
- */
3429
- phoneNumberRequired?: boolean;
3430
- }
3431
- /**
3432
- * @description 账单地址参数
3433
- */
3434
- export interface GoogleBillingAddressParameter {
3435
- /**
3436
- * @description 账单地址格式 MIN/FULL
3437
- */
3438
- format?: string;
3439
- /**
3440
- * @description 是否获取电话号码
3441
- */
3442
- phoneNumberRequired?: boolean;
3443
- }
3444
- /**
3445
- * @description 交易信息
3446
- */
3447
- export interface TransactionInfo {
3448
- /**
3449
- * @description A list of cart items shown in the payment sheet such as subtotals, sales taxes, shipping charges, or discounts.
3450
- */
3451
- displayItems?: DisplayItem[];
3452
- /**
3453
- * @description The ISO 3166-1 alpha-2
3454
- */
3455
- countryCode?: string;
3456
- /**
3457
- * @description The status of the total price used. Possible values:ESTIMATED、FINAL 。Default is FINAL
3458
- */
3459
- totalPriceStatus?: string;
3460
- /**
3461
- * @description Custom label for the total price within the display items. Required if displayItems
3462
- * are defined.
3463
- */
3464
- totalPriceLabel?: string;
3465
- }
3466
- /**
3467
- * @description 免息类营销信息
3468
- */
3469
- export interface InterestFree {
3470
- /**
3471
- * @description 卡行名称,例:IBK_BC,SAMSUNG,HYUNDAI 为空时表示不限制
3472
- */
3473
- provider?: string;
3474
- /**
3475
- * @description 营销到期时间,ISO8601格式 "2023-04-27T23:33:09+09:00" "2023-04-27T23:33:09"
3476
- */
3477
- expireTime?: string;
3478
- /**
3479
- * @description 免息分期数,例:[2,6,7]
3480
- */
3481
- installmentFreeNums?: number[];
3482
- /**
3483
- * @description 营销要求的订单最小支付金额
3484
- */
3485
- minPaymentAmount?: ComIpayIexpprodServiceFacadeCommonAmount;
3486
- /**
3487
- * @description 营销要求的订单最大支付金额,为空时表示不限制
3488
- */
3489
- maxPaymentAmount?: ComIpayIexpprodServiceFacadeCommonAmount;
3490
- /**
3491
- * @description 表示免息的百分比。0表示不免息,100%表示买家完全免息,0-100%之间表示部分免息。?????
3492
- */
3493
- freePercentage?: number;
3494
- /**
3495
- * @description 银行logo
3496
- */
3497
- logo?: string;
3498
- /**
3499
- * @description 银行名称
3500
- */
3501
- bankShortName?: string;
3502
- }
3503
- export interface ExpSupportBank {
3504
- /**
3505
- * @description 银行名称
3506
- */
3507
- bankName?: string;
3508
- /**
3509
- * @description 银行logo
3510
- */
3511
- logo?: Logo;
3512
- }
3513
- export interface DanaSofPayAmount {
3514
- /**
3515
- * @description 金额值
3516
- */
3517
- value?: string;
3518
- /**
3519
- * @description 币种
3520
- */
3521
- currency?: string;
3522
- }
3523
- export interface DanaSofCouponInfo {
3524
- /**
3525
- * @description 优惠券金额信息
3526
- */
3527
- amount?: DanaSofPayAmount;
3528
- }
3529
- export interface DanaSofInstallmentInfo {
3530
- /**
3531
- * @description 分期金额信息
3532
- */
3533
- amountInTotal?: DanaSofPayAmount;
3534
- }
3535
- export interface ElementPluginChangeDependency {
3536
- /**
3537
- * @description Getter method for property <tt>path</tt>.
3538
- */
3539
- path?: string;
3540
- /**
3541
- * @description Getter method for property <tt>value</tt>.
3542
- */
3543
- value?: any[];
3544
- }
3545
- export interface ElementPluginChangeStates {
3546
- /**
3547
- * @description Getter method for property <tt>display</tt>.
3548
- */
3549
- display?: boolean;
3550
- }
3551
- export interface GooglePaymentMethodModel {
3552
- type?: string;
3553
- parameters?: GooglePaymentMethodParameterModel;
3554
- tokenizationSpecification?: GoogleTokenizationSpecificationModel;
3555
- }
3556
- /**
3557
- * @description https://developers.google.com/pay/api/web/reference/request-objects#MerchantInfo
3558
- */
3559
- export interface GoogleMerchantInfo {
3560
- merchantId?: string;
3561
- merchantName?: string;
3562
- gatewayMerchantId?: string;
3563
- }
3564
- export interface GoogleTransactionInfo {
3565
- /**
3566
- * @description default: FINAL
3567
- */
3568
- totalPriceStatus?: string;
3569
- totalPriceLabel?: string;
3570
- totalPrice?: string;
3571
- currencyCode?: string;
3572
- countryCode?: string;
3573
- }
3574
- export interface AppleMerchantInfo {
3575
- /**
3576
- * @description Apple商户ID
3577
- */
3578
- instMid?: string;
3579
- /**
3580
- * @description 商户名称
3581
- */
3582
- merchantName?: string;
3583
- /**
3584
- * @description 国家代码
3585
- */
3586
- countryCode?: string;
3587
- }
3588
- /**
3589
- * @description 订单信息
3590
- */
3591
- export interface OrderInfo {
3592
- /**
3593
- * @description 订单描述
3594
- */
3595
- orderDescription?: string;
3596
- }
3597
- export interface DisplayItem {
3598
- /**
3599
- * @description The label to be displayed for the given option.
3600
- */
3601
- label?: string;
3602
- /**
3603
- * @description Type of displayed line item: LINE_ITEM、SUBTOTAL
3604
- */
3605
- type?: string;
3606
- /**
3607
- * @description The monetary value of the cart item with an optional decimal precision of two decimal places. Negative values are allowed.
3608
- */
3609
- price?: string;
3610
- /**
3611
- * @description The following variables define price variance:FINAL、PENDINGDefault to FINAL if not provided.
3612
- */
3613
- status?: string;
3614
- }
3615
- /**
3616
- * @description google paymentMethod 参数
3617
- */
3618
- export interface GooglePaymentMethodParameterModel {
3619
- allowedAuthMethods?: string[];
3620
- allowedCardNetworks?: string[];
3621
- billingAddressRequired?: boolean;
3622
- assuranceDetailsRequired?: boolean;
3623
- }
3624
- export interface GoogleTokenizationSpecificationModel {
3625
- type?: string;
3626
- parameters?: GoogleTokenizationSpecificationParams;
3627
- }
3628
- export interface GoogleTokenizationSpecificationParams {
3629
- gateway?: string;
3630
- gatewayMerchantId?: string;
3631
- protocolVersion?: string;
3632
- publicKey?: string;
3633
- }
3634
- export interface ChannelClientIdQueryRequest {
3635
- /** 商户传入的 channelMerchantAccountId */
3636
- clientId: string;
3637
- /** 支付方式类型,如 PAYPAL_EXPRESSCHECKOUT */
3638
- paymentMethodType: string;
3639
- /** 业务线标识 */
3640
- businessDivision?: string;
3641
- /** 订单金额 */
3642
- amount?: {
3643
- currency: string;
3644
- value: string;
3645
- };
3646
- }
3647
- export interface ChannelClientIdQueryResult {
3648
- /** 是否成功 */
3649
- success: boolean;
3650
- /** PayPal channelClientId */
3651
- channelClientId?: string;
3652
- /** 错误码 */
3653
- errorCode?: string;
3654
- /** 错误信息 */
3655
- errorMessage?: string;
3656
- }