stripe 17.4.0-beta.2 → 17.4.0
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/CHANGELOG.md +124 -954
- package/README.md +4 -4
- package/VERSION +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js +4 -0
- package/cjs/resources.js +10 -48
- package/cjs/stripe.core.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources/TestHelpers/Issuing/Authorizations.js +4 -0
- package/esm/resources.js +0 -33
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -355
- package/types/Accounts.d.ts +1 -183
- package/types/AccountsResource.d.ts +15 -496
- package/types/Charges.d.ts +0 -116
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +5 -311
- package/types/Checkout/SessionsResource.d.ts +6 -362
- package/types/ConfirmationTokens.d.ts +0 -99
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomersResource.d.ts +0 -7
- package/types/EventTypes.d.ts +0 -579
- package/types/Events.d.ts +0 -92
- package/types/FileLinksResource.d.ts +1 -1
- package/types/Files.d.ts +1 -0
- package/types/FilesResource.d.ts +1 -0
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +1 -28
- package/types/Invoices.d.ts +2 -137
- package/types/InvoicesResource.d.ts +1846 -5531
- package/types/Issuing/Authorizations.d.ts +40 -0
- package/types/Issuing/Cardholders.d.ts +1 -1
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Cards.d.ts +1 -1
- package/types/Issuing/Transactions.d.ts +0 -2
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -637
- package/types/PaymentIntentsResource.d.ts +3693 -7934
- package/types/PaymentLinks.d.ts +1 -7
- package/types/PaymentLinksResource.d.ts +2 -14
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +0 -99
- package/types/PaymentMethodsResource.d.ts +0 -133
- package/types/Payouts.d.ts +17 -0
- package/types/Persons.d.ts +5 -0
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -591
- package/types/QuotesResource.d.ts +199 -2531
- package/types/Refunds.d.ts +10 -14
- package/types/SetupAttempts.d.ts +0 -38
- package/types/SetupIntents.d.ts +1 -111
- package/types/SetupIntentsResource.d.ts +3 -645
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -200
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +3 -93
- package/types/SubscriptionsResource.d.ts +4 -371
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +23 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/TokensResource.d.ts +5 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/WebhookEndpointsResource.d.ts +2 -69
- package/types/index.d.ts +0 -62
- package/types/lib.d.ts +1 -1
- package/types/test/typescriptTest.ts +3 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentAttemptRecords.js +0 -17
- package/cjs/resources/PaymentRecords.js +0 -29
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentAttemptRecords.js +0 -14
- package/esm/resources/PaymentRecords.js +0 -26
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -113
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -103
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1155
- package/types/OrdersResource.d.ts +0 -2913
- package/types/PaymentAttemptRecords.d.ts +0 -242
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentRecords.d.ts +0 -259
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1615
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
package/types/PaymentLinks.d.ts
CHANGED
|
@@ -553,26 +553,20 @@ declare module 'stripe' {
|
|
|
553
553
|
| 'eps'
|
|
554
554
|
| 'fpx'
|
|
555
555
|
| 'giropay'
|
|
556
|
-
| 'gopay'
|
|
557
556
|
| 'grabpay'
|
|
558
557
|
| 'ideal'
|
|
559
558
|
| 'klarna'
|
|
560
559
|
| 'konbini'
|
|
561
560
|
| 'link'
|
|
562
|
-
| 'mb_way'
|
|
563
561
|
| 'mobilepay'
|
|
564
562
|
| 'multibanco'
|
|
565
563
|
| 'oxxo'
|
|
566
564
|
| 'p24'
|
|
567
565
|
| 'paynow'
|
|
568
566
|
| 'paypal'
|
|
569
|
-
| 'payto'
|
|
570
567
|
| 'pix'
|
|
571
568
|
| 'promptpay'
|
|
572
|
-
| 'qris'
|
|
573
|
-
| 'rechnung'
|
|
574
569
|
| 'sepa_debit'
|
|
575
|
-
| 'shopeepay'
|
|
576
570
|
| 'sofort'
|
|
577
571
|
| 'swish'
|
|
578
572
|
| 'twint'
|
|
@@ -865,7 +859,7 @@ declare module 'stripe' {
|
|
|
865
859
|
shipping_rate: string | Stripe.ShippingRate;
|
|
866
860
|
}
|
|
867
861
|
|
|
868
|
-
type SubmitType = 'auto' | 'book' | 'donate' | 'pay';
|
|
862
|
+
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe';
|
|
869
863
|
|
|
870
864
|
interface SubscriptionData {
|
|
871
865
|
/**
|
|
@@ -612,26 +612,20 @@ declare module 'stripe' {
|
|
|
612
612
|
| 'eps'
|
|
613
613
|
| 'fpx'
|
|
614
614
|
| 'giropay'
|
|
615
|
-
| 'gopay'
|
|
616
615
|
| 'grabpay'
|
|
617
616
|
| 'ideal'
|
|
618
617
|
| 'klarna'
|
|
619
618
|
| 'konbini'
|
|
620
619
|
| 'link'
|
|
621
|
-
| 'mb_way'
|
|
622
620
|
| 'mobilepay'
|
|
623
621
|
| 'multibanco'
|
|
624
622
|
| 'oxxo'
|
|
625
623
|
| 'p24'
|
|
626
624
|
| 'paynow'
|
|
627
625
|
| 'paypal'
|
|
628
|
-
| 'payto'
|
|
629
626
|
| 'pix'
|
|
630
627
|
| 'promptpay'
|
|
631
|
-
| 'qris'
|
|
632
|
-
| 'rechnung'
|
|
633
628
|
| 'sepa_debit'
|
|
634
|
-
| 'shopeepay'
|
|
635
629
|
| 'sofort'
|
|
636
630
|
| 'swish'
|
|
637
631
|
| 'twint'
|
|
@@ -918,7 +912,7 @@ declare module 'stripe' {
|
|
|
918
912
|
shipping_rate?: string;
|
|
919
913
|
}
|
|
920
914
|
|
|
921
|
-
type SubmitType = 'auto' | 'book' | 'donate' | 'pay';
|
|
915
|
+
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe';
|
|
922
916
|
|
|
923
917
|
interface SubscriptionData {
|
|
924
918
|
/**
|
|
@@ -1548,26 +1542,20 @@ declare module 'stripe' {
|
|
|
1548
1542
|
| 'eps'
|
|
1549
1543
|
| 'fpx'
|
|
1550
1544
|
| 'giropay'
|
|
1551
|
-
| 'gopay'
|
|
1552
1545
|
| 'grabpay'
|
|
1553
1546
|
| 'ideal'
|
|
1554
1547
|
| 'klarna'
|
|
1555
1548
|
| 'konbini'
|
|
1556
1549
|
| 'link'
|
|
1557
|
-
| 'mb_way'
|
|
1558
1550
|
| 'mobilepay'
|
|
1559
1551
|
| 'multibanco'
|
|
1560
1552
|
| 'oxxo'
|
|
1561
1553
|
| 'p24'
|
|
1562
1554
|
| 'paynow'
|
|
1563
1555
|
| 'paypal'
|
|
1564
|
-
| 'payto'
|
|
1565
1556
|
| 'pix'
|
|
1566
1557
|
| 'promptpay'
|
|
1567
|
-
| 'qris'
|
|
1568
|
-
| 'rechnung'
|
|
1569
1558
|
| 'sepa_debit'
|
|
1570
|
-
| 'shopeepay'
|
|
1571
1559
|
| 'sofort'
|
|
1572
1560
|
| 'swish'
|
|
1573
1561
|
| 'twint'
|
|
@@ -1840,7 +1828,7 @@ declare module 'stripe' {
|
|
|
1840
1828
|
| 'ZZ';
|
|
1841
1829
|
}
|
|
1842
1830
|
|
|
1843
|
-
type SubmitType = 'auto' | 'book' | 'donate' | 'pay';
|
|
1831
|
+
type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe';
|
|
1844
1832
|
|
|
1845
1833
|
interface SubscriptionData {
|
|
1846
1834
|
/**
|
|
@@ -79,12 +79,8 @@ declare module 'stripe' {
|
|
|
79
79
|
|
|
80
80
|
google_pay?: PaymentMethodConfiguration.GooglePay;
|
|
81
81
|
|
|
82
|
-
gopay?: PaymentMethodConfiguration.Gopay;
|
|
83
|
-
|
|
84
82
|
grabpay?: PaymentMethodConfiguration.Grabpay;
|
|
85
83
|
|
|
86
|
-
id_bank_transfer?: PaymentMethodConfiguration.IdBankTransfer;
|
|
87
|
-
|
|
88
84
|
ideal?: PaymentMethodConfiguration.Ideal;
|
|
89
85
|
|
|
90
86
|
/**
|
|
@@ -127,18 +123,12 @@ declare module 'stripe' {
|
|
|
127
123
|
|
|
128
124
|
paypal?: PaymentMethodConfiguration.Paypal;
|
|
129
125
|
|
|
130
|
-
payto?: PaymentMethodConfiguration.Payto;
|
|
131
|
-
|
|
132
126
|
promptpay?: PaymentMethodConfiguration.Promptpay;
|
|
133
127
|
|
|
134
|
-
qris?: PaymentMethodConfiguration.Qris;
|
|
135
|
-
|
|
136
128
|
revolut_pay?: PaymentMethodConfiguration.RevolutPay;
|
|
137
129
|
|
|
138
130
|
sepa_debit?: PaymentMethodConfiguration.SepaDebit;
|
|
139
131
|
|
|
140
|
-
shopeepay?: PaymentMethodConfiguration.Shopeepay;
|
|
141
|
-
|
|
142
132
|
sofort?: PaymentMethodConfiguration.Sofort;
|
|
143
133
|
|
|
144
134
|
swish?: PaymentMethodConfiguration.Swish;
|
|
@@ -833,40 +823,6 @@ declare module 'stripe' {
|
|
|
833
823
|
}
|
|
834
824
|
}
|
|
835
825
|
|
|
836
|
-
interface Gopay {
|
|
837
|
-
/**
|
|
838
|
-
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
839
|
-
*/
|
|
840
|
-
available: boolean;
|
|
841
|
-
|
|
842
|
-
display_preference: Gopay.DisplayPreference;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
namespace Gopay {
|
|
846
|
-
interface DisplayPreference {
|
|
847
|
-
/**
|
|
848
|
-
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
849
|
-
*/
|
|
850
|
-
overridable: boolean | null;
|
|
851
|
-
|
|
852
|
-
/**
|
|
853
|
-
* The account's display preference.
|
|
854
|
-
*/
|
|
855
|
-
preference: DisplayPreference.Preference;
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* The effective display preference value.
|
|
859
|
-
*/
|
|
860
|
-
value: DisplayPreference.Value;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
namespace DisplayPreference {
|
|
864
|
-
type Preference = 'none' | 'off' | 'on';
|
|
865
|
-
|
|
866
|
-
type Value = 'off' | 'on';
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
|
|
870
826
|
interface Grabpay {
|
|
871
827
|
/**
|
|
872
828
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -901,40 +857,6 @@ declare module 'stripe' {
|
|
|
901
857
|
}
|
|
902
858
|
}
|
|
903
859
|
|
|
904
|
-
interface IdBankTransfer {
|
|
905
|
-
/**
|
|
906
|
-
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
907
|
-
*/
|
|
908
|
-
available: boolean;
|
|
909
|
-
|
|
910
|
-
display_preference: IdBankTransfer.DisplayPreference;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
namespace IdBankTransfer {
|
|
914
|
-
interface DisplayPreference {
|
|
915
|
-
/**
|
|
916
|
-
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
917
|
-
*/
|
|
918
|
-
overridable: boolean | null;
|
|
919
|
-
|
|
920
|
-
/**
|
|
921
|
-
* The account's display preference.
|
|
922
|
-
*/
|
|
923
|
-
preference: DisplayPreference.Preference;
|
|
924
|
-
|
|
925
|
-
/**
|
|
926
|
-
* The effective display preference value.
|
|
927
|
-
*/
|
|
928
|
-
value: DisplayPreference.Value;
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
namespace DisplayPreference {
|
|
932
|
-
type Preference = 'none' | 'off' | 'on';
|
|
933
|
-
|
|
934
|
-
type Value = 'off' | 'on';
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
|
|
938
860
|
interface Ideal {
|
|
939
861
|
/**
|
|
940
862
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1309,40 +1231,6 @@ declare module 'stripe' {
|
|
|
1309
1231
|
}
|
|
1310
1232
|
}
|
|
1311
1233
|
|
|
1312
|
-
interface Payto {
|
|
1313
|
-
/**
|
|
1314
|
-
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1315
|
-
*/
|
|
1316
|
-
available: boolean;
|
|
1317
|
-
|
|
1318
|
-
display_preference: Payto.DisplayPreference;
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
namespace Payto {
|
|
1322
|
-
interface DisplayPreference {
|
|
1323
|
-
/**
|
|
1324
|
-
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1325
|
-
*/
|
|
1326
|
-
overridable: boolean | null;
|
|
1327
|
-
|
|
1328
|
-
/**
|
|
1329
|
-
* The account's display preference.
|
|
1330
|
-
*/
|
|
1331
|
-
preference: DisplayPreference.Preference;
|
|
1332
|
-
|
|
1333
|
-
/**
|
|
1334
|
-
* The effective display preference value.
|
|
1335
|
-
*/
|
|
1336
|
-
value: DisplayPreference.Value;
|
|
1337
|
-
}
|
|
1338
|
-
|
|
1339
|
-
namespace DisplayPreference {
|
|
1340
|
-
type Preference = 'none' | 'off' | 'on';
|
|
1341
|
-
|
|
1342
|
-
type Value = 'off' | 'on';
|
|
1343
|
-
}
|
|
1344
|
-
}
|
|
1345
|
-
|
|
1346
1234
|
interface Promptpay {
|
|
1347
1235
|
/**
|
|
1348
1236
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1377,40 +1265,6 @@ declare module 'stripe' {
|
|
|
1377
1265
|
}
|
|
1378
1266
|
}
|
|
1379
1267
|
|
|
1380
|
-
interface Qris {
|
|
1381
|
-
/**
|
|
1382
|
-
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1383
|
-
*/
|
|
1384
|
-
available: boolean;
|
|
1385
|
-
|
|
1386
|
-
display_preference: Qris.DisplayPreference;
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
|
-
namespace Qris {
|
|
1390
|
-
interface DisplayPreference {
|
|
1391
|
-
/**
|
|
1392
|
-
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1393
|
-
*/
|
|
1394
|
-
overridable: boolean | null;
|
|
1395
|
-
|
|
1396
|
-
/**
|
|
1397
|
-
* The account's display preference.
|
|
1398
|
-
*/
|
|
1399
|
-
preference: DisplayPreference.Preference;
|
|
1400
|
-
|
|
1401
|
-
/**
|
|
1402
|
-
* The effective display preference value.
|
|
1403
|
-
*/
|
|
1404
|
-
value: DisplayPreference.Value;
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
namespace DisplayPreference {
|
|
1408
|
-
type Preference = 'none' | 'off' | 'on';
|
|
1409
|
-
|
|
1410
|
-
type Value = 'off' | 'on';
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
|
|
1414
1268
|
interface RevolutPay {
|
|
1415
1269
|
/**
|
|
1416
1270
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1479,40 +1333,6 @@ declare module 'stripe' {
|
|
|
1479
1333
|
}
|
|
1480
1334
|
}
|
|
1481
1335
|
|
|
1482
|
-
interface Shopeepay {
|
|
1483
|
-
/**
|
|
1484
|
-
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1485
|
-
*/
|
|
1486
|
-
available: boolean;
|
|
1487
|
-
|
|
1488
|
-
display_preference: Shopeepay.DisplayPreference;
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
namespace Shopeepay {
|
|
1492
|
-
interface DisplayPreference {
|
|
1493
|
-
/**
|
|
1494
|
-
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1495
|
-
*/
|
|
1496
|
-
overridable: boolean | null;
|
|
1497
|
-
|
|
1498
|
-
/**
|
|
1499
|
-
* The account's display preference.
|
|
1500
|
-
*/
|
|
1501
|
-
preference: DisplayPreference.Preference;
|
|
1502
|
-
|
|
1503
|
-
/**
|
|
1504
|
-
* The effective display preference value.
|
|
1505
|
-
*/
|
|
1506
|
-
value: DisplayPreference.Value;
|
|
1507
|
-
}
|
|
1508
|
-
|
|
1509
|
-
namespace DisplayPreference {
|
|
1510
|
-
type Preference = 'none' | 'off' | 'on';
|
|
1511
|
-
|
|
1512
|
-
type Value = 'off' | 'on';
|
|
1513
|
-
}
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
1336
|
interface Sofort {
|
|
1517
1337
|
/**
|
|
1518
1338
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|