@capgo/capacitor-pay 8.1.0 → 8.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/docs.json CHANGED
@@ -36,7 +36,7 @@
36
36
  ],
37
37
  "returns": "Promise<PayPaymentResult>",
38
38
  "tags": [],
39
- "docs": "Presents the native pay sheet for the current platform.\nProvide the Apple Pay configuration on iOS and the Google Pay configuration on Android.",
39
+ "docs": "Presents the native pay sheet for the current platform.\nProvide the Apple Pay configuration on iOS and the Google Pay configuration on Android.\n\nThis promise is the completion path on both platforms.",
40
40
  "complexTypes": [
41
41
  "PayPaymentResult",
42
42
  "PayPaymentOptions"
@@ -142,9 +142,16 @@
142
142
  {
143
143
  "name": "isReady",
144
144
  "tags": [],
145
- "docs": "Indicates whether the Google Pay API is available for the supplied parameters.",
145
+ "docs": "Whether the user is able to provide payment information through the Google Pay payment sheet.",
146
146
  "complexTypes": [],
147
147
  "type": "boolean"
148
+ },
149
+ {
150
+ "name": "paymentMethodPresent",
151
+ "tags": [],
152
+ "docs": "The current user's ability to pay with one or more of the payment methods specified in `IsReadyToPayRequest.allowedPaymentMethods`.\n\nThis property only exists if `IsReadyToPayRequest.existingPaymentMethodRequired` was set to `true`. The property value will always be `true` if the request is configured for a test environment.",
153
+ "complexTypes": [],
154
+ "type": "boolean | undefined"
148
155
  }
149
156
  ]
150
157
  },
@@ -211,7 +218,12 @@
211
218
  },
212
219
  {
213
220
  "name": "isReadyToPayRequest",
214
- "tags": [],
221
+ "tags": [
222
+ {
223
+ "text": "https ://developers.google.com/pay/api/android/reference/request-objects#IsReadyToPayRequest",
224
+ "name": "see"
225
+ }
226
+ ],
215
227
  "docs": "Raw `IsReadyToPayRequest` JSON as defined by the Google Pay API.\nSupply the card networks and auth methods you intend to support at runtime.",
216
228
  "complexTypes": [
217
229
  "GooglePayIsReadyToPayRequest"
@@ -223,18 +235,39 @@
223
235
  {
224
236
  "name": "GooglePayIsReadyToPayRequest",
225
237
  "slug": "googlepayisreadytopayrequest",
226
- "docs": "Typed helper for the Google Pay `IsReadyToPayRequest` JSON.\nThe native Android implementation still accepts arbitrary JSON (forward compatible).",
238
+ "docs": "Self-contained Google Pay request type based on the official request objects and DefinitelyTyped definitions.\n\nThe plugin forwards the provided JSON to the native Google Pay SDK on Android, while keeping the type surface local\nso consumers do not need to install `@types/googlepay`.",
227
239
  "tags": [],
228
240
  "methods": [],
229
241
  "properties": [
242
+ {
243
+ "name": "apiVersion",
244
+ "tags": [],
245
+ "docs": "Google Pay API major version.\n\nUse `2` for current integrations.",
246
+ "complexTypes": [],
247
+ "type": "number | undefined"
248
+ },
249
+ {
250
+ "name": "apiVersionMinor",
251
+ "tags": [],
252
+ "docs": "Google Pay API minor version.\n\nUse `0` for current integrations.",
253
+ "complexTypes": [],
254
+ "type": "number | undefined"
255
+ },
230
256
  {
231
257
  "name": "allowedPaymentMethods",
232
258
  "tags": [],
233
- "docs": "The list of payment methods you want to check for readiness.",
259
+ "docs": "Payment methods you want to test for readiness.",
234
260
  "complexTypes": [
235
261
  "GooglePayAllowedPaymentMethod"
236
262
  ],
237
263
  "type": "GooglePayAllowedPaymentMethod[] | undefined"
264
+ },
265
+ {
266
+ "name": "existingPaymentMethodRequired",
267
+ "tags": [],
268
+ "docs": "When `true`, Google Pay also indicates whether an existing matching payment method is present.\n\nIn the `test` environment this always resolves to `true`.",
269
+ "complexTypes": [],
270
+ "type": "boolean | undefined"
238
271
  }
239
272
  ]
240
273
  },
@@ -248,16 +281,16 @@
248
281
  {
249
282
  "name": "type",
250
283
  "tags": [],
251
- "docs": "",
284
+ "docs": "Supported payment method type. `CARD` is the only value currently accepted by Google Pay request objects.",
252
285
  "complexTypes": [
253
- "Record"
286
+ "GooglePayPaymentMethodType"
254
287
  ],
255
- "type": "(string & Record<never, never>) | 'CARD' | undefined"
288
+ "type": "GooglePayPaymentMethodType"
256
289
  },
257
290
  {
258
291
  "name": "parameters",
259
292
  "tags": [],
260
- "docs": "",
293
+ "docs": "Parameters that control which cards can be shown and what extra data is collected.",
261
294
  "complexTypes": [
262
295
  "GooglePayCardPaymentMethodParameters"
263
296
  ],
@@ -265,8 +298,13 @@
265
298
  },
266
299
  {
267
300
  "name": "tokenizationSpecification",
268
- "tags": [],
269
- "docs": "",
301
+ "tags": [
302
+ {
303
+ "text": "https ://developers.google.com/pay/api/android/reference/request-objects#PaymentMethodTokenizationSpecification",
304
+ "name": "see"
305
+ }
306
+ ],
307
+ "docs": "Tokenization settings for the selected payment method.\n\nIn Google Pay, this is required for `PaymentDataRequest` card payment methods, but ignored by `IsReadyToPayRequest`.",
270
308
  "complexTypes": [
271
309
  "GooglePayTokenizationSpecification"
272
310
  ],
@@ -284,36 +322,87 @@
284
322
  {
285
323
  "name": "allowedAuthMethods",
286
324
  "tags": [],
287
- "docs": "",
325
+ "docs": "Authentication methods your gateway or processor accepts.",
288
326
  "complexTypes": [
289
327
  "GooglePayAuthMethod"
290
328
  ],
291
- "type": "GooglePayAuthMethod[] | undefined"
329
+ "type": "GooglePayAuthMethod[]"
292
330
  },
293
331
  {
294
332
  "name": "allowedCardNetworks",
295
333
  "tags": [],
296
- "docs": "",
334
+ "docs": "Card networks your gateway or processor accepts.",
297
335
  "complexTypes": [
298
336
  "GooglePayCardNetwork"
299
337
  ],
300
- "type": "GooglePayCardNetwork[] | undefined"
338
+ "type": "GooglePayCardNetwork[]"
339
+ },
340
+ {
341
+ "name": "allowPrepaidCards",
342
+ "tags": [],
343
+ "docs": "Whether prepaid cards are allowed. Defaults to `true` in Google Pay.",
344
+ "complexTypes": [],
345
+ "type": "boolean | undefined"
346
+ },
347
+ {
348
+ "name": "allowCreditCards",
349
+ "tags": [],
350
+ "docs": "Whether credit cards are allowed. Defaults to `true` in Google Pay.",
351
+ "complexTypes": [],
352
+ "type": "boolean | undefined"
353
+ },
354
+ {
355
+ "name": "allowedIssuerCountryCodes",
356
+ "tags": [],
357
+ "docs": "Restricts users to cards issued in the provided ISO 3166-1 alpha-2 countries.",
358
+ "complexTypes": [],
359
+ "type": "string[] | undefined"
360
+ },
361
+ {
362
+ "name": "blockedIssuerCountryCodes",
363
+ "tags": [],
364
+ "docs": "Blocks cards issued in the provided ISO 3166-1 alpha-2 countries.\n\nThis is mutually exclusive with `allowedIssuerCountryCodes`.",
365
+ "complexTypes": [],
366
+ "type": "string[] | undefined"
367
+ },
368
+ {
369
+ "name": "assuranceDetailsRequired",
370
+ "tags": [],
371
+ "docs": "Whether Google Pay should include assurance details about the selected card.",
372
+ "complexTypes": [],
373
+ "type": "boolean | undefined"
301
374
  },
302
375
  {
303
376
  "name": "billingAddressRequired",
304
377
  "tags": [],
305
- "docs": "",
378
+ "docs": "Whether a billing address is required from the buyer.",
306
379
  "complexTypes": [],
307
380
  "type": "boolean | undefined"
308
381
  },
309
382
  {
310
383
  "name": "billingAddressParameters",
311
384
  "tags": [],
312
- "docs": "",
385
+ "docs": "Additional billing-address controls used when `billingAddressRequired` is `true`.",
313
386
  "complexTypes": [
314
387
  "GooglePayBillingAddressParameters"
315
388
  ],
316
389
  "type": "GooglePayBillingAddressParameters"
390
+ },
391
+ {
392
+ "name": "cardNetworkParameters",
393
+ "tags": [],
394
+ "docs": "Optional network-specific processing parameters for supported networks.",
395
+ "complexTypes": [
396
+ "GooglePayCardNetworkParameters"
397
+ ],
398
+ "type": "GooglePayCardNetworkParameters[] | undefined"
399
+ },
400
+ {
401
+ "name": "cvcRequired",
402
+ "tags": [],
403
+ "docs": "Whether the card verification code should be returned in the payment token.\n\nThis requires Google enablement for your account.",
404
+ "complexTypes": [],
405
+ "type": "boolean | undefined"
317
406
  }
318
407
  ]
319
408
  },
@@ -327,24 +416,56 @@
327
416
  {
328
417
  "name": "format",
329
418
  "tags": [],
330
- "docs": "",
419
+ "docs": "Billing address format to return when `billingAddressRequired` is `true`.\n\nUse `FULL` only when you truly need the extra fields to complete the order.",
331
420
  "complexTypes": [
332
- "Record"
421
+ "GooglePayBillingAddressFormat"
333
422
  ],
334
- "type": "'MIN' | 'FULL' | (string & Record<never, never>) | undefined"
423
+ "type": "GooglePayBillingAddressFormat"
335
424
  },
336
425
  {
337
426
  "name": "phoneNumberRequired",
338
427
  "tags": [],
339
- "docs": "",
428
+ "docs": "Whether a billing phone number should also be returned.",
340
429
  "complexTypes": [],
341
430
  "type": "boolean | undefined"
342
431
  }
343
432
  ]
344
433
  },
345
434
  {
346
- "name": "GooglePayTokenizationSpecification",
347
- "slug": "googlepaytokenizationspecification",
435
+ "name": "GooglePayCardNetworkParameters",
436
+ "slug": "googlepaycardnetworkparameters",
437
+ "docs": "",
438
+ "tags": [],
439
+ "methods": [],
440
+ "properties": [
441
+ {
442
+ "name": "cardNetwork",
443
+ "tags": [],
444
+ "docs": "Card network these network-specific parameters apply to.",
445
+ "complexTypes": [
446
+ "GooglePayCardNetwork"
447
+ ],
448
+ "type": "GooglePayCardNetwork"
449
+ },
450
+ {
451
+ "name": "acquirerBin",
452
+ "tags": [],
453
+ "docs": "Acquiring institution identification code used by some network-specific flows.",
454
+ "complexTypes": [],
455
+ "type": "string | undefined"
456
+ },
457
+ {
458
+ "name": "acquirerMerchantId",
459
+ "tags": [],
460
+ "docs": "Acquirer-assigned merchant identifier used by some network-specific flows.",
461
+ "complexTypes": [],
462
+ "type": "string | undefined"
463
+ }
464
+ ]
465
+ },
466
+ {
467
+ "name": "GooglePayGatewayTokenizationSpecification",
468
+ "slug": "googlepaygatewaytokenizationspecification",
348
469
  "docs": "",
349
470
  "tags": [],
350
471
  "methods": [],
@@ -352,57 +473,146 @@
352
473
  {
353
474
  "name": "type",
354
475
  "tags": [],
355
- "docs": "",
476
+ "docs": "Tokenize payment data for a supported third-party gateway.",
477
+ "complexTypes": [],
478
+ "type": "'PAYMENT_GATEWAY'"
479
+ },
480
+ {
481
+ "name": "parameters",
482
+ "tags": [],
483
+ "docs": "Gateway-specific tokenization parameters.",
356
484
  "complexTypes": [
357
- "Record"
485
+ "GooglePayPaymentGatewayTokenizationParameters"
358
486
  ],
359
- "type": "(string & Record<never, never>) | 'PAYMENT_GATEWAY' | 'DIRECT' | undefined"
487
+ "type": "GooglePayPaymentGatewayTokenizationParameters"
488
+ }
489
+ ]
490
+ },
491
+ {
492
+ "name": "GooglePayPaymentGatewayTokenizationParameters",
493
+ "slug": "googlepaypaymentgatewaytokenizationparameters",
494
+ "docs": "Tokenization parameters for `PAYMENT_GATEWAY` tokenization, which sends the payment data to a supported third-party gateway for tokenization and processing.",
495
+ "tags": [
496
+ {
497
+ "text": "https ://developers.google.com/pay/api/android/reference/request-objects#gateway",
498
+ "name": "see"
499
+ }
500
+ ],
501
+ "methods": [],
502
+ "properties": [
503
+ {
504
+ "name": "gateway",
505
+ "tags": [],
506
+ "docs": "Google Pay gateway identifier.",
507
+ "complexTypes": [],
508
+ "type": "string"
509
+ },
510
+ {
511
+ "name": "gatewayMerchantId",
512
+ "tags": [],
513
+ "docs": "Merchant identifier issued by your payment gateway when required.",
514
+ "complexTypes": [],
515
+ "type": "string | undefined"
516
+ }
517
+ ]
518
+ },
519
+ {
520
+ "name": "GooglePayDirectTokenizationSpecification",
521
+ "slug": "googlepaydirecttokenizationspecification",
522
+ "docs": "",
523
+ "tags": [],
524
+ "methods": [],
525
+ "properties": [
526
+ {
527
+ "name": "type",
528
+ "tags": [],
529
+ "docs": "Tokenize payment data directly for merchant-side decryption.",
530
+ "complexTypes": [],
531
+ "type": "'DIRECT'"
360
532
  },
361
533
  {
362
534
  "name": "parameters",
363
535
  "tags": [],
364
- "docs": "",
536
+ "docs": "Direct tokenization parameters for payment data cryptography.",
365
537
  "complexTypes": [
366
- "Record"
538
+ "GooglePayDirectTokenizationParameters"
367
539
  ],
368
- "type": "Record<string, string>"
540
+ "type": "GooglePayDirectTokenizationParameters"
369
541
  }
370
542
  ]
371
543
  },
372
544
  {
373
- "name": "PayPaymentResult",
374
- "slug": "paypaymentresult",
545
+ "name": "GooglePayDirectTokenizationParameters",
546
+ "slug": "googlepaydirecttokenizationparameters",
375
547
  "docs": "",
376
548
  "tags": [],
377
549
  "methods": [],
378
550
  "properties": [
379
551
  {
380
- "name": "platform",
552
+ "name": "protocolVersion",
381
553
  "tags": [],
382
- "docs": "",
554
+ "docs": "Payment data cryptography protocol version.",
555
+ "complexTypes": [],
556
+ "type": "string"
557
+ },
558
+ {
559
+ "name": "publicKey",
560
+ "tags": [],
561
+ "docs": "Base64-encoded elliptic-curve public key used to encrypt the payment data.",
562
+ "complexTypes": [],
563
+ "type": "string"
564
+ }
565
+ ]
566
+ },
567
+ {
568
+ "name": "GooglePayCustomTokenizationSpecification",
569
+ "slug": "googlepaycustomtokenizationspecification",
570
+ "docs": "",
571
+ "tags": [],
572
+ "methods": [],
573
+ "properties": [
574
+ {
575
+ "name": "type",
576
+ "tags": [],
577
+ "docs": "Tokenization type understood by your Google Pay integration.",
383
578
  "complexTypes": [
384
- "Exclude",
385
- "PayPlatform"
579
+ "GooglePayTokenizationType"
386
580
  ],
387
- "type": "Exclude<PayPlatform, 'web'>"
581
+ "type": "GooglePayTokenizationType"
388
582
  },
389
583
  {
390
- "name": "apple",
584
+ "name": "parameters",
391
585
  "tags": [],
392
- "docs": "",
586
+ "docs": "Tokenization parameters. Google Pay expects string values.",
393
587
  "complexTypes": [
394
- "ApplePayPaymentResult"
588
+ "Record"
395
589
  ],
396
- "type": "ApplePayPaymentResult"
590
+ "type": "Record<string, string>"
591
+ }
592
+ ]
593
+ },
594
+ {
595
+ "name": "ApplePayRequestPaymentResult",
596
+ "slug": "applepayrequestpaymentresult",
597
+ "docs": "",
598
+ "tags": [],
599
+ "methods": [],
600
+ "properties": [
601
+ {
602
+ "name": "platform",
603
+ "tags": [],
604
+ "docs": "Platform that resolved the payment request.",
605
+ "complexTypes": [],
606
+ "type": "'ios'"
397
607
  },
398
608
  {
399
- "name": "google",
609
+ "name": "apple",
400
610
  "tags": [],
401
- "docs": "",
611
+ "docs": "Apple Pay payment payload.",
402
612
  "complexTypes": [
403
- "GooglePayPaymentResult"
613
+ "ApplePayPaymentResult"
404
614
  ],
405
- "type": "GooglePayPaymentResult"
615
+ "type": "ApplePayPaymentResult"
406
616
  }
407
617
  ]
408
618
  },
@@ -501,120 +711,477 @@
501
711
  ]
502
712
  },
503
713
  {
504
- "name": "GooglePayPaymentResult",
505
- "slug": "googlepaypaymentresult",
714
+ "name": "GooglePayRequestPaymentResult",
715
+ "slug": "googlepayrequestpaymentresult",
506
716
  "docs": "",
507
717
  "tags": [],
508
718
  "methods": [],
509
719
  "properties": [
510
720
  {
511
- "name": "paymentData",
721
+ "name": "platform",
512
722
  "tags": [],
513
- "docs": "Payment data returned by Google Pay.",
723
+ "docs": "Platform that resolved the payment request.",
724
+ "complexTypes": [],
725
+ "type": "'android'"
726
+ },
727
+ {
728
+ "name": "google",
729
+ "tags": [],
730
+ "docs": "Google Pay payment payload.",
514
731
  "complexTypes": [
515
- "Record"
732
+ "GooglePayPaymentResult"
516
733
  ],
517
- "type": "Record<string, unknown>"
734
+ "type": "GooglePayPaymentResult"
518
735
  }
519
736
  ]
520
737
  },
521
738
  {
522
- "name": "PayPaymentOptions",
523
- "slug": "paypaymentoptions",
739
+ "name": "GooglePayPaymentResult",
740
+ "slug": "googlepaypaymentresult",
524
741
  "docs": "",
525
742
  "tags": [],
526
743
  "methods": [],
527
744
  "properties": [
528
745
  {
529
- "name": "apple",
530
- "tags": [],
531
- "docs": "",
532
- "complexTypes": [
533
- "ApplePayPaymentOptions"
746
+ "name": "paymentData",
747
+ "tags": [
748
+ {
749
+ "text": "https ://developers.google.com/pay/api/android/reference/response-objects#PaymentData",
750
+ "name": "see"
751
+ }
534
752
  ],
535
- "type": "ApplePayPaymentOptions"
536
- },
537
- {
538
- "name": "google",
539
- "tags": [],
540
- "docs": "",
753
+ "docs": "Payment data returned by Google Pay.",
541
754
  "complexTypes": [
542
- "GooglePayPaymentOptions"
755
+ "GooglePayPaymentData"
543
756
  ],
544
- "type": "GooglePayPaymentOptions"
757
+ "type": "GooglePayPaymentData"
545
758
  }
546
759
  ]
547
760
  },
548
761
  {
549
- "name": "ApplePayPaymentOptions",
550
- "slug": "applepaypaymentoptions",
762
+ "name": "GooglePayPaymentData",
763
+ "slug": "googlepaypaymentdata",
551
764
  "docs": "",
552
765
  "tags": [],
553
766
  "methods": [],
554
767
  "properties": [
555
768
  {
556
- "name": "merchantIdentifier",
769
+ "name": "apiVersion",
557
770
  "tags": [],
558
- "docs": "Merchant identifier created in the Apple Developer portal.",
771
+ "docs": "Google Pay API major version returned in the response.",
559
772
  "complexTypes": [],
560
- "type": "string"
773
+ "type": "number"
561
774
  },
562
775
  {
563
- "name": "countryCode",
776
+ "name": "apiVersionMinor",
564
777
  "tags": [],
565
- "docs": "Two-letter ISO 3166 country code.",
778
+ "docs": "Google Pay API minor version returned in the response.",
566
779
  "complexTypes": [],
567
- "type": "string"
780
+ "type": "number"
568
781
  },
569
782
  {
570
- "name": "currencyCode",
783
+ "name": "email",
571
784
  "tags": [],
572
- "docs": "Three-letter ISO 4217 currency code.",
785
+ "docs": "Buyer email address when `emailRequired` was requested.",
573
786
  "complexTypes": [],
574
- "type": "string"
787
+ "type": "string | undefined"
575
788
  },
576
789
  {
577
- "name": "paymentSummaryItems",
790
+ "name": "shippingAddress",
578
791
  "tags": [],
579
- "docs": "Payment summary items displayed in the Apple Pay sheet.",
792
+ "docs": "Shipping address when `shippingAddressRequired` was requested.",
580
793
  "complexTypes": [
581
- "ApplePaySummaryItem"
794
+ "GooglePayAddress"
582
795
  ],
583
- "type": "ApplePaySummaryItem[]"
796
+ "type": "GooglePayAddress"
584
797
  },
585
798
  {
586
- "name": "supportedNetworks",
799
+ "name": "paymentMethodData",
587
800
  "tags": [],
588
- "docs": "Card networks to support.",
801
+ "docs": "Selected payment method details and tokenized payload.",
589
802
  "complexTypes": [
590
- "ApplePayNetwork"
803
+ "GooglePayPaymentMethodData"
591
804
  ],
592
- "type": "ApplePayNetwork[]"
805
+ "type": "GooglePayPaymentMethodData"
593
806
  },
594
807
  {
595
- "name": "merchantCapabilities",
808
+ "name": "offerData",
596
809
  "tags": [],
597
- "docs": "Merchant payment capabilities. Defaults to ['3DS'] when omitted.",
810
+ "docs": "Offer redemption data when an offer was applied.",
598
811
  "complexTypes": [
599
- "ApplePayMerchantCapability"
812
+ "GooglePayOfferData"
600
813
  ],
601
- "type": "ApplePayMerchantCapability[] | undefined"
814
+ "type": "GooglePayOfferData"
602
815
  },
603
816
  {
604
- "name": "requiredShippingContactFields",
817
+ "name": "shippingOptionData",
605
818
  "tags": [],
606
- "docs": "Contact fields that must be supplied for shipping.",
819
+ "docs": "Selected shipping option data when shipping options were used.",
607
820
  "complexTypes": [
608
- "ApplePayContactField"
821
+ "GooglePaySelectionOptionData"
609
822
  ],
610
- "type": "ApplePayContactField[] | undefined"
611
- },
612
- {
613
- "name": "requiredBillingContactFields",
614
- "tags": [],
615
- "docs": "Contact fields that must be supplied for billing.",
616
- "complexTypes": [
617
- "ApplePayContactField"
823
+ "type": "GooglePaySelectionOptionData"
824
+ }
825
+ ]
826
+ },
827
+ {
828
+ "name": "GooglePayAddress",
829
+ "slug": "googlepayaddress",
830
+ "docs": "",
831
+ "tags": [],
832
+ "methods": [],
833
+ "properties": [
834
+ {
835
+ "name": "name",
836
+ "tags": [],
837
+ "docs": "Recipient or cardholder name.",
838
+ "complexTypes": [],
839
+ "type": "string | undefined"
840
+ },
841
+ {
842
+ "name": "address1",
843
+ "tags": [],
844
+ "docs": "First address line.",
845
+ "complexTypes": [],
846
+ "type": "string | undefined"
847
+ },
848
+ {
849
+ "name": "address2",
850
+ "tags": [],
851
+ "docs": "Second address line.",
852
+ "complexTypes": [],
853
+ "type": "string | undefined"
854
+ },
855
+ {
856
+ "name": "address3",
857
+ "tags": [],
858
+ "docs": "Third address line.",
859
+ "complexTypes": [],
860
+ "type": "string | undefined"
861
+ },
862
+ {
863
+ "name": "locality",
864
+ "tags": [],
865
+ "docs": "City or locality.",
866
+ "complexTypes": [],
867
+ "type": "string | undefined"
868
+ },
869
+ {
870
+ "name": "administrativeArea",
871
+ "tags": [],
872
+ "docs": "State, province, or other administrative area.",
873
+ "complexTypes": [],
874
+ "type": "string | undefined"
875
+ },
876
+ {
877
+ "name": "countryCode",
878
+ "tags": [],
879
+ "docs": "Two-letter ISO 3166-1 alpha-2 country code.",
880
+ "complexTypes": [],
881
+ "type": "string"
882
+ },
883
+ {
884
+ "name": "postalCode",
885
+ "tags": [],
886
+ "docs": "Postal or ZIP code.",
887
+ "complexTypes": [],
888
+ "type": "string"
889
+ },
890
+ {
891
+ "name": "sortingCode",
892
+ "tags": [],
893
+ "docs": "Sorting code used in some countries.",
894
+ "complexTypes": [],
895
+ "type": "string | undefined"
896
+ },
897
+ {
898
+ "name": "phoneNumber",
899
+ "tags": [],
900
+ "docs": "Phone number returned when it was requested.",
901
+ "complexTypes": [],
902
+ "type": "string | undefined"
903
+ },
904
+ {
905
+ "name": "iso3166AdministrativeArea",
906
+ "tags": [],
907
+ "docs": "ISO 3166-2 code for the administrative area when `FULL-ISO3166` formatting is used.",
908
+ "complexTypes": [],
909
+ "type": "string | undefined"
910
+ }
911
+ ]
912
+ },
913
+ {
914
+ "name": "GooglePayPaymentMethodData",
915
+ "slug": "googlepaypaymentmethoddata",
916
+ "docs": "",
917
+ "tags": [],
918
+ "methods": [],
919
+ "properties": [
920
+ {
921
+ "name": "type",
922
+ "tags": [],
923
+ "docs": "Payment method type returned by Google Pay.",
924
+ "complexTypes": [
925
+ "GooglePayPaymentMethodType"
926
+ ],
927
+ "type": "GooglePayPaymentMethodType"
928
+ },
929
+ {
930
+ "name": "info",
931
+ "tags": [],
932
+ "docs": "Additional information about the selected card.",
933
+ "complexTypes": [
934
+ "GooglePayCardInfo"
935
+ ],
936
+ "type": "GooglePayCardInfo"
937
+ },
938
+ {
939
+ "name": "description",
940
+ "tags": [],
941
+ "docs": "User-facing description of the selected funding source.",
942
+ "complexTypes": [],
943
+ "type": "string | undefined"
944
+ },
945
+ {
946
+ "name": "tokenizationData",
947
+ "tags": [],
948
+ "docs": "Tokenized payment data you send to your backend or processor.",
949
+ "complexTypes": [
950
+ "GooglePayPaymentMethodTokenizationData"
951
+ ],
952
+ "type": "GooglePayPaymentMethodTokenizationData"
953
+ }
954
+ ]
955
+ },
956
+ {
957
+ "name": "GooglePayCardInfo",
958
+ "slug": "googlepaycardinfo",
959
+ "docs": "",
960
+ "tags": [],
961
+ "methods": [],
962
+ "properties": [
963
+ {
964
+ "name": "assuranceDetails",
965
+ "tags": [],
966
+ "docs": "Optional assurance details returned when `assuranceDetailsRequired` was requested.",
967
+ "complexTypes": [
968
+ "GooglePayAssuranceDetails"
969
+ ],
970
+ "type": "GooglePayAssuranceDetails"
971
+ },
972
+ {
973
+ "name": "cardNetwork",
974
+ "tags": [],
975
+ "docs": "Card network for the selected payment method.",
976
+ "complexTypes": [
977
+ "GooglePayCardNetwork"
978
+ ],
979
+ "type": "GooglePayCardNetwork"
980
+ },
981
+ {
982
+ "name": "cardDetails",
983
+ "tags": [],
984
+ "docs": "Card details, typically the last four digits.",
985
+ "complexTypes": [],
986
+ "type": "string"
987
+ },
988
+ {
989
+ "name": "billingAddress",
990
+ "tags": [],
991
+ "docs": "Billing address returned when `billingAddressRequired` was requested.",
992
+ "complexTypes": [
993
+ "GooglePayAddress"
994
+ ],
995
+ "type": "GooglePayAddress"
996
+ },
997
+ {
998
+ "name": "cardFundingSource",
999
+ "tags": [],
1000
+ "docs": "Funding source for the selected card when available.",
1001
+ "complexTypes": [
1002
+ "GooglePayCardFundingSource"
1003
+ ],
1004
+ "type": "GooglePayCardFundingSource"
1005
+ }
1006
+ ]
1007
+ },
1008
+ {
1009
+ "name": "GooglePayAssuranceDetails",
1010
+ "slug": "googlepayassurancedetails",
1011
+ "docs": "",
1012
+ "tags": [],
1013
+ "methods": [],
1014
+ "properties": [
1015
+ {
1016
+ "name": "accountVerified",
1017
+ "tags": [],
1018
+ "docs": "Whether Google verified account possession for the selected card.",
1019
+ "complexTypes": [],
1020
+ "type": "boolean | undefined"
1021
+ },
1022
+ {
1023
+ "name": "cardHolderAuthenticated",
1024
+ "tags": [],
1025
+ "docs": "Whether cardholder authentication or ID&V was completed for the selected card.",
1026
+ "complexTypes": [],
1027
+ "type": "boolean | undefined"
1028
+ }
1029
+ ]
1030
+ },
1031
+ {
1032
+ "name": "GooglePayPaymentMethodTokenizationData",
1033
+ "slug": "googlepaypaymentmethodtokenizationdata",
1034
+ "docs": "",
1035
+ "tags": [],
1036
+ "methods": [],
1037
+ "properties": [
1038
+ {
1039
+ "name": "type",
1040
+ "tags": [],
1041
+ "docs": "Tokenization type used for the selected payment method.",
1042
+ "complexTypes": [
1043
+ "GooglePayTokenizationType"
1044
+ ],
1045
+ "type": "GooglePayTokenizationType"
1046
+ },
1047
+ {
1048
+ "name": "token",
1049
+ "tags": [],
1050
+ "docs": "Serialized payment token or gateway payload.",
1051
+ "complexTypes": [],
1052
+ "type": "string"
1053
+ }
1054
+ ]
1055
+ },
1056
+ {
1057
+ "name": "GooglePayOfferData",
1058
+ "slug": "googlepayofferdata",
1059
+ "docs": "",
1060
+ "tags": [],
1061
+ "methods": [],
1062
+ "properties": [
1063
+ {
1064
+ "name": "redemptionCodes",
1065
+ "tags": [],
1066
+ "docs": "Offer redemption codes applied by the buyer.",
1067
+ "complexTypes": [],
1068
+ "type": "string[]"
1069
+ }
1070
+ ]
1071
+ },
1072
+ {
1073
+ "name": "GooglePaySelectionOptionData",
1074
+ "slug": "googlepayselectionoptiondata",
1075
+ "docs": "",
1076
+ "tags": [],
1077
+ "methods": [],
1078
+ "properties": [
1079
+ {
1080
+ "name": "id",
1081
+ "tags": [],
1082
+ "docs": "Identifier of the selected option.",
1083
+ "complexTypes": [],
1084
+ "type": "string"
1085
+ }
1086
+ ]
1087
+ },
1088
+ {
1089
+ "name": "PayPaymentOptions",
1090
+ "slug": "paypaymentoptions",
1091
+ "docs": "",
1092
+ "tags": [],
1093
+ "methods": [],
1094
+ "properties": [
1095
+ {
1096
+ "name": "apple",
1097
+ "tags": [],
1098
+ "docs": "",
1099
+ "complexTypes": [
1100
+ "ApplePayPaymentOptions"
1101
+ ],
1102
+ "type": "ApplePayPaymentOptions"
1103
+ },
1104
+ {
1105
+ "name": "google",
1106
+ "tags": [],
1107
+ "docs": "",
1108
+ "complexTypes": [
1109
+ "GooglePayPaymentOptions"
1110
+ ],
1111
+ "type": "GooglePayPaymentOptions"
1112
+ }
1113
+ ]
1114
+ },
1115
+ {
1116
+ "name": "ApplePayPaymentOptions",
1117
+ "slug": "applepaypaymentoptions",
1118
+ "docs": "",
1119
+ "tags": [],
1120
+ "methods": [],
1121
+ "properties": [
1122
+ {
1123
+ "name": "merchantIdentifier",
1124
+ "tags": [],
1125
+ "docs": "Merchant identifier created in the Apple Developer portal.",
1126
+ "complexTypes": [],
1127
+ "type": "string"
1128
+ },
1129
+ {
1130
+ "name": "countryCode",
1131
+ "tags": [],
1132
+ "docs": "Two-letter ISO 3166 country code.",
1133
+ "complexTypes": [],
1134
+ "type": "string"
1135
+ },
1136
+ {
1137
+ "name": "currencyCode",
1138
+ "tags": [],
1139
+ "docs": "Three-letter ISO 4217 currency code.",
1140
+ "complexTypes": [],
1141
+ "type": "string"
1142
+ },
1143
+ {
1144
+ "name": "paymentSummaryItems",
1145
+ "tags": [],
1146
+ "docs": "Payment summary items displayed in the Apple Pay sheet.",
1147
+ "complexTypes": [
1148
+ "ApplePaySummaryItem"
1149
+ ],
1150
+ "type": "ApplePaySummaryItem[]"
1151
+ },
1152
+ {
1153
+ "name": "supportedNetworks",
1154
+ "tags": [],
1155
+ "docs": "Card networks to support.",
1156
+ "complexTypes": [
1157
+ "ApplePayNetwork"
1158
+ ],
1159
+ "type": "ApplePayNetwork[]"
1160
+ },
1161
+ {
1162
+ "name": "merchantCapabilities",
1163
+ "tags": [],
1164
+ "docs": "Merchant payment capabilities. Defaults to ['3DS'] when omitted.",
1165
+ "complexTypes": [
1166
+ "ApplePayMerchantCapability"
1167
+ ],
1168
+ "type": "ApplePayMerchantCapability[] | undefined"
1169
+ },
1170
+ {
1171
+ "name": "requiredShippingContactFields",
1172
+ "tags": [],
1173
+ "docs": "Contact fields that must be supplied for shipping.",
1174
+ "complexTypes": [
1175
+ "ApplePayContactField"
1176
+ ],
1177
+ "type": "ApplePayContactField[] | undefined"
1178
+ },
1179
+ {
1180
+ "name": "requiredBillingContactFields",
1181
+ "tags": [],
1182
+ "docs": "Contact fields that must be supplied for billing.",
1183
+ "complexTypes": [
1184
+ "ApplePayContactField"
618
1185
  ],
619
1186
  "type": "ApplePayContactField[] | undefined"
620
1187
  },
@@ -796,7 +1363,12 @@
796
1363
  },
797
1364
  {
798
1365
  "name": "paymentDataRequest",
799
- "tags": [],
1366
+ "tags": [
1367
+ {
1368
+ "text": "https ://developers.google.com/pay/api/android/reference/request-objects#PaymentDataRequest",
1369
+ "name": "see"
1370
+ }
1371
+ ],
800
1372
  "docs": "Raw `PaymentDataRequest` JSON as defined by the Google Pay API.\nProvide transaction details, merchant info, and tokenization parameters.",
801
1373
  "complexTypes": [
802
1374
  "GooglePayPaymentDataRequest"
@@ -808,24 +1380,33 @@
808
1380
  {
809
1381
  "name": "GooglePayPaymentDataRequest",
810
1382
  "slug": "googlepaypaymentdatarequest",
811
- "docs": "Typed helper for the Google Pay `PaymentDataRequest` JSON.\nThe native Android implementation still accepts arbitrary JSON (forward compatible).",
1383
+ "docs": "Self-contained Google Pay payment request type based on the official request objects and DefinitelyTyped definitions.\n\nThe plugin forwards the provided JSON to the native Google Pay SDK on Android, while keeping the type surface local\nso consumers do not need to install `@types/googlepay`.",
812
1384
  "tags": [],
813
1385
  "methods": [],
814
1386
  "properties": [
815
1387
  {
816
1388
  "name": "apiVersion",
817
1389
  "tags": [],
818
- "docs": "Google Pay API version, typically `2`.",
1390
+ "docs": "Google Pay API major version.\n\nUse `2` for current integrations.",
819
1391
  "complexTypes": [],
820
1392
  "type": "number | undefined"
821
1393
  },
822
1394
  {
823
1395
  "name": "apiVersionMinor",
824
1396
  "tags": [],
825
- "docs": "Google Pay API minor version, typically `0`.",
1397
+ "docs": "Google Pay API minor version.\n\nUse `0` for current integrations.",
826
1398
  "complexTypes": [],
827
1399
  "type": "number | undefined"
828
1400
  },
1401
+ {
1402
+ "name": "merchantInfo",
1403
+ "tags": [],
1404
+ "docs": "Merchant information displayed in the Google Pay sheet.",
1405
+ "complexTypes": [
1406
+ "GooglePayMerchantInfo"
1407
+ ],
1408
+ "type": "GooglePayMerchantInfo"
1409
+ },
829
1410
  {
830
1411
  "name": "allowedPaymentMethods",
831
1412
  "tags": [],
@@ -836,82 +1417,370 @@
836
1417
  "type": "GooglePayAllowedPaymentMethod[] | undefined"
837
1418
  },
838
1419
  {
839
- "name": "merchantInfo",
1420
+ "name": "transactionInfo",
840
1421
  "tags": [],
841
- "docs": "Merchant information displayed in the Google Pay sheet.",
1422
+ "docs": "Transaction details such as amount, currency, and checkout behavior.",
842
1423
  "complexTypes": [
843
- "GooglePayMerchantInfo"
1424
+ "GooglePayTransactionInfo"
844
1425
  ],
845
- "type": "GooglePayMerchantInfo"
1426
+ "type": "GooglePayTransactionInfo"
846
1427
  },
847
1428
  {
848
- "name": "transactionInfo",
1429
+ "name": "emailRequired",
1430
+ "tags": [],
1431
+ "docs": "Whether the buyer email address should be returned.",
1432
+ "complexTypes": [],
1433
+ "type": "boolean | undefined"
1434
+ },
1435
+ {
1436
+ "name": "shippingAddressRequired",
1437
+ "tags": [],
1438
+ "docs": "Whether a shipping address should be collected.",
1439
+ "complexTypes": [],
1440
+ "type": "boolean | undefined"
1441
+ },
1442
+ {
1443
+ "name": "shippingAddressParameters",
849
1444
  "tags": [],
850
- "docs": "Transaction details (amount, currency, etc).",
1445
+ "docs": "Shipping-address restrictions used when `shippingAddressRequired` is `true`.",
851
1446
  "complexTypes": [
852
- "GooglePayTransactionInfo"
1447
+ "GooglePayShippingAddressParameters"
853
1448
  ],
854
- "type": "GooglePayTransactionInfo"
1449
+ "type": "GooglePayShippingAddressParameters"
1450
+ },
1451
+ {
1452
+ "name": "offerInfo",
1453
+ "tags": [],
1454
+ "docs": "Merchant-provided offers to pre-populate in the Google Pay sheet.\n\nThis is part of the official web request object and may not be supported by every native Android flow.",
1455
+ "complexTypes": [
1456
+ "GooglePayOfferInfo"
1457
+ ],
1458
+ "type": "GooglePayOfferInfo"
1459
+ },
1460
+ {
1461
+ "name": "shippingOptionRequired",
1462
+ "tags": [],
1463
+ "docs": "Whether the Google Pay sheet should collect a shipping option.\n\nThis is part of the official web request object and is used with dynamic price updates.",
1464
+ "complexTypes": [],
1465
+ "type": "boolean | undefined"
1466
+ },
1467
+ {
1468
+ "name": "shippingOptionParameters",
1469
+ "tags": [],
1470
+ "docs": "Default shipping options for the Google Pay sheet.\n\nThis is part of the official web request object and is used with dynamic price updates.",
1471
+ "complexTypes": [
1472
+ "GooglePayShippingOptionParameters"
1473
+ ],
1474
+ "type": "GooglePayShippingOptionParameters"
1475
+ },
1476
+ {
1477
+ "name": "callbackIntents",
1478
+ "tags": [],
1479
+ "docs": "Callback intents for dynamic price updates and payment authorization on the web.\n\nThese values are included for completeness with the official Google Pay request object, but the Capacitor plugin\ndoes not currently expose the corresponding web callbacks.",
1480
+ "complexTypes": [
1481
+ "GooglePayCallbackIntent"
1482
+ ],
1483
+ "type": "GooglePayCallbackIntent[] | undefined"
1484
+ }
1485
+ ]
1486
+ },
1487
+ {
1488
+ "name": "GooglePayMerchantInfo",
1489
+ "slug": "googlepaymerchantinfo",
1490
+ "docs": "",
1491
+ "tags": [],
1492
+ "methods": [],
1493
+ "properties": [
1494
+ {
1495
+ "name": "merchantId",
1496
+ "tags": [],
1497
+ "docs": "Google merchant identifier.\n\nThis is required for recognized production web integrations and may also be supplied on Android.",
1498
+ "complexTypes": [],
1499
+ "type": "string | undefined"
1500
+ },
1501
+ {
1502
+ "name": "merchantName",
1503
+ "tags": [],
1504
+ "docs": "Merchant name displayed in the Google Pay sheet.",
1505
+ "complexTypes": [],
1506
+ "type": "string | undefined"
1507
+ },
1508
+ {
1509
+ "name": "softwareInfo",
1510
+ "tags": [],
1511
+ "docs": "Optional metadata about the software integrating with Google Pay.",
1512
+ "complexTypes": [
1513
+ "GooglePaySoftwareInfo"
1514
+ ],
1515
+ "type": "GooglePaySoftwareInfo"
1516
+ }
1517
+ ]
1518
+ },
1519
+ {
1520
+ "name": "GooglePaySoftwareInfo",
1521
+ "slug": "googlepaysoftwareinfo",
1522
+ "docs": "",
1523
+ "tags": [],
1524
+ "methods": [],
1525
+ "properties": [
1526
+ {
1527
+ "name": "id",
1528
+ "tags": [],
1529
+ "docs": "Identifier for the software integrating with Google Pay, such as your domain name.",
1530
+ "complexTypes": [],
1531
+ "type": "string | undefined"
1532
+ },
1533
+ {
1534
+ "name": "version",
1535
+ "tags": [],
1536
+ "docs": "Version of the integrating software.",
1537
+ "complexTypes": [],
1538
+ "type": "string | undefined"
1539
+ }
1540
+ ]
1541
+ },
1542
+ {
1543
+ "name": "GooglePayTransactionInfo",
1544
+ "slug": "googlepaytransactioninfo",
1545
+ "docs": "",
1546
+ "tags": [],
1547
+ "methods": [],
1548
+ "properties": [
1549
+ {
1550
+ "name": "transactionId",
1551
+ "tags": [],
1552
+ "docs": "Merchant-generated correlation identifier for the transaction.",
1553
+ "complexTypes": [],
1554
+ "type": "string | undefined"
1555
+ },
1556
+ {
1557
+ "name": "currencyCode",
1558
+ "tags": [],
1559
+ "docs": "ISO 4217 alphabetic currency code.\n\nGoogle Pay requires this for chargeable payment requests.",
1560
+ "complexTypes": [],
1561
+ "type": "string | undefined"
1562
+ },
1563
+ {
1564
+ "name": "countryCode",
1565
+ "tags": [],
1566
+ "docs": "ISO 3166-1 alpha-2 country code where the transaction is processed.\n\nThis is required for EEA/SCA flows and recommended for country-specific behavior.",
1567
+ "complexTypes": [],
1568
+ "type": "string | undefined"
1569
+ },
1570
+ {
1571
+ "name": "totalPrice",
1572
+ "tags": [],
1573
+ "docs": "Total transaction price using an optional decimal precision of two decimal places.",
1574
+ "complexTypes": [],
1575
+ "type": "string | undefined"
1576
+ },
1577
+ {
1578
+ "name": "totalPriceLabel",
1579
+ "tags": [],
1580
+ "docs": "Custom total label shown with `displayItems`.",
1581
+ "complexTypes": [],
1582
+ "type": "string | undefined"
1583
+ },
1584
+ {
1585
+ "name": "totalPriceStatus",
1586
+ "tags": [],
1587
+ "docs": "Status of the total price.",
1588
+ "complexTypes": [
1589
+ "GooglePayTotalPriceStatus"
1590
+ ],
1591
+ "type": "GooglePayTotalPriceStatus"
1592
+ },
1593
+ {
1594
+ "name": "transactionNote",
1595
+ "tags": [],
1596
+ "docs": "Optional transaction note. Some payment methods, such as UPI on web, require this.",
1597
+ "complexTypes": [],
1598
+ "type": "string | undefined"
1599
+ },
1600
+ {
1601
+ "name": "checkoutOption",
1602
+ "tags": [],
1603
+ "docs": "Controls the submit button label shown in the Google Pay sheet.",
1604
+ "complexTypes": [
1605
+ "GooglePayCheckoutOption"
1606
+ ],
1607
+ "type": "GooglePayCheckoutOption"
1608
+ },
1609
+ {
1610
+ "name": "displayItems",
1611
+ "tags": [],
1612
+ "docs": "Optional cart line items shown in the Google Pay sheet.",
1613
+ "complexTypes": [
1614
+ "GooglePayDisplayItem"
1615
+ ],
1616
+ "type": "GooglePayDisplayItem[] | undefined"
1617
+ }
1618
+ ]
1619
+ },
1620
+ {
1621
+ "name": "GooglePayDisplayItem",
1622
+ "slug": "googlepaydisplayitem",
1623
+ "docs": "",
1624
+ "tags": [],
1625
+ "methods": [],
1626
+ "properties": [
1627
+ {
1628
+ "name": "label",
1629
+ "tags": [],
1630
+ "docs": "User-visible line-item label.",
1631
+ "complexTypes": [],
1632
+ "type": "string"
1633
+ },
1634
+ {
1635
+ "name": "type",
1636
+ "tags": [],
1637
+ "docs": "Category of the line item.",
1638
+ "complexTypes": [
1639
+ "GooglePayDisplayItemType"
1640
+ ],
1641
+ "type": "GooglePayDisplayItemType"
1642
+ },
1643
+ {
1644
+ "name": "price",
1645
+ "tags": [],
1646
+ "docs": "Monetary value for the item.\n\nGoogle Pay accepts an optional decimal precision of two decimal places.",
1647
+ "complexTypes": [],
1648
+ "type": "string"
1649
+ },
1650
+ {
1651
+ "name": "status",
1652
+ "tags": [],
1653
+ "docs": "Whether this line item is final or still pending.",
1654
+ "complexTypes": [
1655
+ "GooglePayDisplayItemStatus"
1656
+ ],
1657
+ "type": "GooglePayDisplayItemStatus"
1658
+ }
1659
+ ]
1660
+ },
1661
+ {
1662
+ "name": "GooglePayShippingAddressParameters",
1663
+ "slug": "googlepayshippingaddressparameters",
1664
+ "docs": "",
1665
+ "tags": [],
1666
+ "methods": [],
1667
+ "properties": [
1668
+ {
1669
+ "name": "allowedCountryCodes",
1670
+ "tags": [],
1671
+ "docs": "Restricts shipping addresses to the provided ISO 3166-1 alpha-2 country codes.",
1672
+ "complexTypes": [],
1673
+ "type": "string[] | undefined"
1674
+ },
1675
+ {
1676
+ "name": "phoneNumberRequired",
1677
+ "tags": [],
1678
+ "docs": "Whether a phone number should be collected with the shipping address.",
1679
+ "complexTypes": [],
1680
+ "type": "boolean | undefined"
1681
+ },
1682
+ {
1683
+ "name": "format",
1684
+ "tags": [],
1685
+ "docs": "Shipping address format to return when `shippingAddressRequired` is `true`.\n\n`MIN` is not a valid value for shipping addresses.",
1686
+ "complexTypes": [
1687
+ "GooglePayShippingAddressFormat"
1688
+ ],
1689
+ "type": "GooglePayShippingAddressFormat"
1690
+ }
1691
+ ]
1692
+ },
1693
+ {
1694
+ "name": "GooglePayOfferInfo",
1695
+ "slug": "googlepayofferinfo",
1696
+ "docs": "",
1697
+ "tags": [],
1698
+ "methods": [],
1699
+ "properties": [
1700
+ {
1701
+ "name": "offers",
1702
+ "tags": [],
1703
+ "docs": "Merchant-provided offers available for the current order.",
1704
+ "complexTypes": [
1705
+ "GooglePayOfferDetail"
1706
+ ],
1707
+ "type": "GooglePayOfferDetail[]"
1708
+ }
1709
+ ]
1710
+ },
1711
+ {
1712
+ "name": "GooglePayOfferDetail",
1713
+ "slug": "googlepayofferdetail",
1714
+ "docs": "",
1715
+ "tags": [],
1716
+ "methods": [],
1717
+ "properties": [
1718
+ {
1719
+ "name": "redemptionCode",
1720
+ "tags": [],
1721
+ "docs": "Redemption code that identifies the offer.",
1722
+ "complexTypes": [],
1723
+ "type": "string"
1724
+ },
1725
+ {
1726
+ "name": "description",
1727
+ "tags": [],
1728
+ "docs": "User-visible description for the offer.",
1729
+ "complexTypes": [],
1730
+ "type": "string"
855
1731
  }
856
1732
  ]
857
1733
  },
858
1734
  {
859
- "name": "GooglePayMerchantInfo",
860
- "slug": "googlepaymerchantinfo",
1735
+ "name": "GooglePayShippingOptionParameters",
1736
+ "slug": "googlepayshippingoptionparameters",
861
1737
  "docs": "",
862
1738
  "tags": [],
863
1739
  "methods": [],
864
1740
  "properties": [
865
1741
  {
866
- "name": "merchantId",
1742
+ "name": "shippingOptions",
867
1743
  "tags": [],
868
- "docs": "",
869
- "complexTypes": [],
870
- "type": "string | undefined"
1744
+ "docs": "Available shipping options presented to the buyer.",
1745
+ "complexTypes": [
1746
+ "GooglePaySelectionOption"
1747
+ ],
1748
+ "type": "GooglePaySelectionOption[]"
871
1749
  },
872
1750
  {
873
- "name": "merchantName",
1751
+ "name": "defaultSelectedOptionId",
874
1752
  "tags": [],
875
- "docs": "",
1753
+ "docs": "Identifier of the default selected shipping option.",
876
1754
  "complexTypes": [],
877
1755
  "type": "string | undefined"
878
1756
  }
879
1757
  ]
880
1758
  },
881
1759
  {
882
- "name": "GooglePayTransactionInfo",
883
- "slug": "googlepaytransactioninfo",
1760
+ "name": "GooglePaySelectionOption",
1761
+ "slug": "googlepayselectionoption",
884
1762
  "docs": "",
885
1763
  "tags": [],
886
1764
  "methods": [],
887
1765
  "properties": [
888
1766
  {
889
- "name": "totalPriceStatus",
890
- "tags": [],
891
- "docs": "",
892
- "complexTypes": [
893
- "GooglePayTotalPriceStatus"
894
- ],
895
- "type": "GooglePayTotalPriceStatus"
896
- },
897
- {
898
- "name": "totalPrice",
1767
+ "name": "id",
899
1768
  "tags": [],
900
- "docs": "",
1769
+ "docs": "Unique identifier for the option.",
901
1770
  "complexTypes": [],
902
- "type": "string | undefined"
1771
+ "type": "string"
903
1772
  },
904
1773
  {
905
- "name": "currencyCode",
1774
+ "name": "label",
906
1775
  "tags": [],
907
- "docs": "",
1776
+ "docs": "User-visible label for the option.",
908
1777
  "complexTypes": [],
909
- "type": "string | undefined"
1778
+ "type": "string"
910
1779
  },
911
1780
  {
912
- "name": "countryCode",
1781
+ "name": "description",
913
1782
  "tags": [],
914
- "docs": "",
1783
+ "docs": "Optional secondary description shown under the label.",
915
1784
  "complexTypes": [],
916
1785
  "type": "string | undefined"
917
1786
  }
@@ -1121,6 +1990,23 @@
1121
1990
  }
1122
1991
  ]
1123
1992
  },
1993
+ {
1994
+ "name": "GooglePayPaymentMethodType",
1995
+ "slug": "googlepaypaymentmethodtype",
1996
+ "docs": "",
1997
+ "types": [
1998
+ {
1999
+ "text": "'CARD'",
2000
+ "complexTypes": []
2001
+ },
2002
+ {
2003
+ "text": "(string & Record<never, never>)",
2004
+ "complexTypes": [
2005
+ "Record"
2006
+ ]
2007
+ }
2008
+ ]
2009
+ },
1124
2010
  {
1125
2011
  "name": "Record",
1126
2012
  "slug": "record",
@@ -1169,10 +2055,30 @@
1169
2055
  "text": "'DISCOVER'",
1170
2056
  "complexTypes": []
1171
2057
  },
2058
+ {
2059
+ "text": "'ELECTRON'",
2060
+ "complexTypes": []
2061
+ },
2062
+ {
2063
+ "text": "'ELO'",
2064
+ "complexTypes": []
2065
+ },
2066
+ {
2067
+ "text": "'ELO_DEBIT'",
2068
+ "complexTypes": []
2069
+ },
2070
+ {
2071
+ "text": "'INTERAC'",
2072
+ "complexTypes": []
2073
+ },
1172
2074
  {
1173
2075
  "text": "'JCB'",
1174
2076
  "complexTypes": []
1175
2077
  },
2078
+ {
2079
+ "text": "'MAESTRO'",
2080
+ "complexTypes": []
2081
+ },
1176
2082
  {
1177
2083
  "text": "'MASTERCARD'",
1178
2084
  "complexTypes": []
@@ -1190,15 +2096,120 @@
1190
2096
  ]
1191
2097
  },
1192
2098
  {
1193
- "name": "Exclude",
1194
- "slug": "exclude",
1195
- "docs": "Exclude from T those types that are assignable to U",
2099
+ "name": "GooglePayBillingAddressFormat",
2100
+ "slug": "googlepaybillingaddressformat",
2101
+ "docs": "",
2102
+ "types": [
2103
+ {
2104
+ "text": "'MIN'",
2105
+ "complexTypes": []
2106
+ },
2107
+ {
2108
+ "text": "'FULL'",
2109
+ "complexTypes": []
2110
+ },
2111
+ {
2112
+ "text": "'FULL-ISO3166'",
2113
+ "complexTypes": []
2114
+ },
2115
+ {
2116
+ "text": "(string & Record<never, never>)",
2117
+ "complexTypes": [
2118
+ "Record"
2119
+ ]
2120
+ }
2121
+ ]
2122
+ },
2123
+ {
2124
+ "name": "GooglePayTokenizationSpecification",
2125
+ "slug": "googlepaytokenizationspecification",
2126
+ "docs": "",
2127
+ "types": [
2128
+ {
2129
+ "text": "GooglePayGatewayTokenizationSpecification",
2130
+ "complexTypes": [
2131
+ "GooglePayGatewayTokenizationSpecification"
2132
+ ]
2133
+ },
2134
+ {
2135
+ "text": "GooglePayDirectTokenizationSpecification",
2136
+ "complexTypes": [
2137
+ "GooglePayDirectTokenizationSpecification"
2138
+ ]
2139
+ },
2140
+ {
2141
+ "text": "GooglePayCustomTokenizationSpecification",
2142
+ "complexTypes": [
2143
+ "GooglePayCustomTokenizationSpecification"
2144
+ ]
2145
+ }
2146
+ ]
2147
+ },
2148
+ {
2149
+ "name": "GooglePayTokenizationType",
2150
+ "slug": "googlepaytokenizationtype",
2151
+ "docs": "",
2152
+ "types": [
2153
+ {
2154
+ "text": "'PAYMENT_GATEWAY'",
2155
+ "complexTypes": []
2156
+ },
2157
+ {
2158
+ "text": "'DIRECT'",
2159
+ "complexTypes": []
2160
+ },
2161
+ {
2162
+ "text": "(string & Record<never, never>)",
2163
+ "complexTypes": [
2164
+ "Record"
2165
+ ]
2166
+ }
2167
+ ]
2168
+ },
2169
+ {
2170
+ "name": "PayPaymentResult",
2171
+ "slug": "paypaymentresult",
2172
+ "docs": "",
2173
+ "types": [
2174
+ {
2175
+ "text": "ApplePayRequestPaymentResult",
2176
+ "complexTypes": [
2177
+ "ApplePayRequestPaymentResult"
2178
+ ]
2179
+ },
2180
+ {
2181
+ "text": "GooglePayRequestPaymentResult",
2182
+ "complexTypes": [
2183
+ "GooglePayRequestPaymentResult"
2184
+ ]
2185
+ }
2186
+ ]
2187
+ },
2188
+ {
2189
+ "name": "GooglePayCardFundingSource",
2190
+ "slug": "googlepaycardfundingsource",
2191
+ "docs": "",
1196
2192
  "types": [
1197
2193
  {
1198
- "text": "T extends U ? never : T",
2194
+ "text": "'UNKNOWN'",
2195
+ "complexTypes": []
2196
+ },
2197
+ {
2198
+ "text": "'CREDIT'",
2199
+ "complexTypes": []
2200
+ },
2201
+ {
2202
+ "text": "'DEBIT'",
2203
+ "complexTypes": []
2204
+ },
2205
+ {
2206
+ "text": "'PREPAID'",
2207
+ "complexTypes": []
2208
+ },
2209
+ {
2210
+ "text": "(string & Record<never, never>)",
1199
2211
  "complexTypes": [
1200
- "T",
1201
- "U"
2212
+ "Record"
1202
2213
  ]
1203
2214
  }
1204
2215
  ]
@@ -1334,6 +2345,139 @@
1334
2345
  ]
1335
2346
  }
1336
2347
  ]
2348
+ },
2349
+ {
2350
+ "name": "GooglePayCheckoutOption",
2351
+ "slug": "googlepaycheckoutoption",
2352
+ "docs": "",
2353
+ "types": [
2354
+ {
2355
+ "text": "'DEFAULT'",
2356
+ "complexTypes": []
2357
+ },
2358
+ {
2359
+ "text": "'COMPLETE_IMMEDIATE_PURCHASE'",
2360
+ "complexTypes": []
2361
+ },
2362
+ {
2363
+ "text": "'CONTINUE_TO_REVIEW'",
2364
+ "complexTypes": []
2365
+ },
2366
+ {
2367
+ "text": "(string & Record<never, never>)",
2368
+ "complexTypes": [
2369
+ "Record"
2370
+ ]
2371
+ }
2372
+ ]
2373
+ },
2374
+ {
2375
+ "name": "GooglePayDisplayItemType",
2376
+ "slug": "googlepaydisplayitemtype",
2377
+ "docs": "",
2378
+ "types": [
2379
+ {
2380
+ "text": "'LINE_ITEM'",
2381
+ "complexTypes": []
2382
+ },
2383
+ {
2384
+ "text": "'SUBTOTAL'",
2385
+ "complexTypes": []
2386
+ },
2387
+ {
2388
+ "text": "'TAX'",
2389
+ "complexTypes": []
2390
+ },
2391
+ {
2392
+ "text": "'DISCOUNT'",
2393
+ "complexTypes": []
2394
+ },
2395
+ {
2396
+ "text": "'SHIPPING_OPTION'",
2397
+ "complexTypes": []
2398
+ },
2399
+ {
2400
+ "text": "(string & Record<never, never>)",
2401
+ "complexTypes": [
2402
+ "Record"
2403
+ ]
2404
+ }
2405
+ ]
2406
+ },
2407
+ {
2408
+ "name": "GooglePayDisplayItemStatus",
2409
+ "slug": "googlepaydisplayitemstatus",
2410
+ "docs": "",
2411
+ "types": [
2412
+ {
2413
+ "text": "'FINAL'",
2414
+ "complexTypes": []
2415
+ },
2416
+ {
2417
+ "text": "'PENDING'",
2418
+ "complexTypes": []
2419
+ },
2420
+ {
2421
+ "text": "(string & Record<never, never>)",
2422
+ "complexTypes": [
2423
+ "Record"
2424
+ ]
2425
+ }
2426
+ ]
2427
+ },
2428
+ {
2429
+ "name": "GooglePayShippingAddressFormat",
2430
+ "slug": "googlepayshippingaddressformat",
2431
+ "docs": "",
2432
+ "types": [
2433
+ {
2434
+ "text": "'FULL'",
2435
+ "complexTypes": []
2436
+ },
2437
+ {
2438
+ "text": "'FULL-ISO3166'",
2439
+ "complexTypes": []
2440
+ },
2441
+ {
2442
+ "text": "(string & Record<never, never>)",
2443
+ "complexTypes": [
2444
+ "Record"
2445
+ ]
2446
+ }
2447
+ ]
2448
+ },
2449
+ {
2450
+ "name": "GooglePayCallbackIntent",
2451
+ "slug": "googlepaycallbackintent",
2452
+ "docs": "",
2453
+ "types": [
2454
+ {
2455
+ "text": "'OFFER'",
2456
+ "complexTypes": []
2457
+ },
2458
+ {
2459
+ "text": "'PAYMENT_AUTHORIZATION'",
2460
+ "complexTypes": []
2461
+ },
2462
+ {
2463
+ "text": "'SHIPPING_ADDRESS'",
2464
+ "complexTypes": []
2465
+ },
2466
+ {
2467
+ "text": "'SHIPPING_OPTION'",
2468
+ "complexTypes": []
2469
+ },
2470
+ {
2471
+ "text": "'PAYMENT_METHOD'",
2472
+ "complexTypes": []
2473
+ },
2474
+ {
2475
+ "text": "(string & Record<never, never>)",
2476
+ "complexTypes": [
2477
+ "Record"
2478
+ ]
2479
+ }
2480
+ ]
1337
2481
  }
1338
2482
  ],
1339
2483
  "pluginConfigs": []