/
home
/
techb158
/
balavpn.abdallabala.com
/
node_modules
/
stripe
/
types
/
/home/techb158/balavpn.abdallabala.com/node_modules/stripe/types
mkdir
upload
Name
Size
Mode
Actions
Apps/
-
0777
rm
Billing/
-
0777
rm
BillingPortal/
-
0777
rm
Checkout/
-
0777
rm
Climate/
-
0777
rm
crypto/
-
0777
rm
Entitlements/
-
0777
rm
FinancialConnections/
-
0777
rm
Forwarding/
-
0777
rm
Identity/
-
0777
rm
Issuing/
-
0777
rm
net/
-
0777
rm
Radar/
-
0777
rm
Reporting/
-
0777
rm
Sigma/
-
0777
rm
Tax/
-
0777
rm
Terminal/
-
0777
rm
test/
-
0777
rm
TestHelpers/
-
0777
rm
Treasury/
-
0777
rm
V2/
-
0777
rm
.eslintrc.js
620
0666
edit
dl
rm
AccountLinks.d.ts
893
0666
edit
dl
rm
AccountLinksResource.d.ts
2898
0666
edit
dl
rm
Accounts.d.ts
63448
0666
edit
dl
rm
AccountSessions.d.ts
17282
0666
edit
dl
rm
AccountSessionsResource.d.ts
19316
0666
edit
dl
rm
AccountsResource.d.ts
181754
0666
edit
dl
rm
ApplePayDomains.d.ts
1241
0666
edit
dl
rm
ApplePayDomainsResource.d.ts
1962
0666
edit
dl
rm
ApplicationFees.d.ts
3040
0666
edit
dl
rm
ApplicationFeesResource.d.ts
6115
0666
edit
dl
rm
Applications.d.ts
1064
0666
edit
dl
rm
Balance.d.ts
8675
0666
edit
dl
rm
BalanceResource.d.ts
817
0666
edit
dl
rm
BalanceTransactions.d.ts
6553
0666
edit
dl
rm
BalanceTransactionSources.d.ts
499
0666
edit
dl
rm
BalanceTransactionsResource.d.ts
3247
0666
edit
dl
rm
BankAccounts.d.ts
18753
0666
edit
dl
rm
Capabilities.d.ts
17891
0666
edit
dl
rm
Cards.d.ts
8674
0666
edit
dl
rm
CashBalances.d.ts
1711
0666
edit
dl
rm
Charges.d.ts
81258
0666
edit
dl
rm
ChargesResource.d.ts
19232
0666
edit
dl
rm
ConfirmationTokens.d.ts
54015
0666
edit
dl
rm
ConfirmationTokensResource.d.ts
698
0666
edit
dl
rm
ConnectCollectionTransfers.d.ts
1063
0666
edit
dl
rm
CountrySpecs.d.ts
2759
0666
edit
dl
rm
CountrySpecsResource.d.ts
1145
0666
edit
dl
rm
Coupons.d.ts
4525
0666
edit
dl
rm
CouponsResource.d.ts
7997
0666
edit
dl
rm
CreditNoteLineItems.d.ts
5515
0666
edit
dl
rm
CreditNotes.d.ts
10417
0666
edit
dl
rm
CreditNotesResource.d.ts
21683
0666
edit
dl
rm
CustomerBalanceTransactions.d.ts
3534
0666
edit
dl
rm
CustomerCashBalanceTransactions.d.ts
7655
0666
edit
dl
rm
Customers.d.ts
10312
0666
edit
dl
rm
CustomerSessions.d.ts
6659
0666
edit
dl
rm
CustomerSessionsResource.d.ts
5543
0666
edit
dl
rm
CustomerSources.d.ts
227
0666
edit
dl
rm
CustomersResource.d.ts
49272
0666
edit
dl
rm
Deprecations.d.ts
6759
0666
edit
dl
rm
Discounts.d.ts
5697
0666
edit
dl
rm
Disputes.d.ts
18934
0666
edit
dl
rm
DisputesResource.d.ts
15462
0666
edit
dl
rm
EphemeralKeys.d.ts
975
0666
edit
dl
rm
EphemeralKeysResource.d.ts
1793
0666
edit
dl
rm
Errors.d.ts
9706
0666
edit
dl
rm
Events.d.ts
14107
0666
edit
dl
rm
EventsResource.d.ts
2309
0666
edit
dl
rm
EventTypes.d.ts
120304
0666
edit
dl
rm
ExchangeRates.d.ts
2348
0666
edit
dl
rm
ExchangeRatesResource.d.ts
1294
0666
edit
dl
rm
ExternalAccounts.d.ts
210
0666
edit
dl
rm
FeeRefunds.d.ts
1730
0666
edit
dl
rm
FileLinks.d.ts
1529
0666
edit
dl
rm
FileLinksResource.d.ts
3788
0666
edit
dl
rm
Files.d.ts
2560
0666
edit
dl
rm
FilesResource.d.ts
4886
0666
edit
dl
rm
FundingInstructions.d.ts
7588
0666
edit
dl
rm
index.d.ts
26330
0666
edit
dl
rm
InvoiceItems.d.ts
5720
0666
edit
dl
rm
InvoiceItemsResource.d.ts
16679
0666
edit
dl
rm
InvoiceLineItems.d.ts
8170
0666
edit
dl
rm
InvoiceRenderingTemplates.d.ts
1735
0666
edit
dl
rm
InvoiceRenderingTemplatesResource.d.ts
3109
0666
edit
dl
rm
Invoices.d.ts
59291
0666
edit
dl
rm
InvoicesResource.d.ts
272335
0666
edit
dl
rm
lib.d.ts
9208
0666
edit
dl
rm
LineItems.d.ts
3747
0666
edit
dl
rm
LoginLinks.d.ts
805
0666
edit
dl
rm
Mandates.d.ts
6963
0666
edit
dl
rm
MandatesResource.d.ts
629
0666
edit
dl
rm
OAuth.d.ts
13056
0666
edit
dl
rm
PaymentIntents.d.ts
126400
0666
edit
dl
rm
PaymentIntentsResource.d.ts
425657
0666
edit
dl
rm
PaymentLinks.d.ts
26988
0666
edit
dl
rm
PaymentLinksResource.d.ts
61599
0666
edit
dl
rm
PaymentMethodConfigurations.d.ts
46290
0666
edit
dl
rm
PaymentMethodConfigurationsResource.d.ts
82027
0666
edit
dl
rm
PaymentMethodDomains.d.ts
5253
0666
edit
dl
rm
PaymentMethodDomainsResource.d.ts
4080
0666
edit
dl
rm
PaymentMethods.d.ts
48133
0666
edit
dl
rm
PaymentMethodsResource.d.ts
31934
0666
edit
dl
rm
Payouts.d.ts
6830
0666
edit
dl
rm
PayoutsResource.d.ts
8033
0666
edit
dl
rm
Persons.d.ts
28323
0666
edit
dl
rm
Plans.d.ts
7540
0666
edit
dl
rm
PlansResource.d.ts
11964
0666
edit
dl
rm
Prices.d.ts
12348
0666
edit
dl
rm
PricesResource.d.ts
23771
0666
edit
dl
rm
ProductFeatures.d.ts
1595
0666
edit
dl
rm
Products.d.ts
5225
0666
edit
dl
rm
ProductsResource.d.ts
22445
0666
edit
dl
rm
PromotionCodes.d.ts
4009
0666
edit
dl
rm
PromotionCodesResource.d.ts
7472
0666
edit
dl
rm
Quotes.d.ts
22541
0666
edit
dl
rm
QuotesResource.d.ts
32380
0666
edit
dl
rm
Refunds.d.ts
12150
0666
edit
dl
rm
RefundsResource.d.ts
6972
0666
edit
dl
rm
ReserveTransactions.d.ts
812
0666
edit
dl
rm
Reviews.d.ts
3939
0666
edit
dl
rm
ReviewsResource.d.ts
1895
0666
edit
dl
rm
SetupAttempts.d.ts
30914
0666
edit
dl
rm
SetupAttemptsResource.d.ts
972
0666
edit
dl
rm
SetupIntents.d.ts
35147
0666
edit
dl
rm
SetupIntentsResource.d.ts
130075
0666
edit
dl
rm
shared.d.ts
4263
0666
edit
dl
rm
ShippingRates.d.ts
4744
0666
edit
dl
rm
ShippingRatesResource.d.ts
8383
0666
edit
dl
rm
SourceMandateNotifications.d.ts
3491
0666
edit
dl
rm
Sources.d.ts
20443
0666
edit
dl
rm
SourcesResource.d.ts
19833
0666
edit
dl
rm
SourceTransactions.d.ts
5248
0666
edit
dl
rm
SubscriptionItems.d.ts
4653
0666
edit
dl
rm
SubscriptionItemsResource.d.ts
23230
0666
edit
dl
rm
Subscriptions.d.ts
30567
0666
edit
dl
rm
SubscriptionSchedules.d.ts
23402
0666
edit
dl
rm
SubscriptionSchedulesResource.d.ts
61127
0666
edit
dl
rm
SubscriptionsResource.d.ts
88064
0666
edit
dl
rm
TaxCodes.d.ts
685
0666
edit
dl
rm
TaxCodesResource.d.ts
1291
0666
edit
dl
rm
TaxDeductedAtSources.d.ts
886
0666
edit
dl
rm
TaxIds.d.ts
6322
0666
edit
dl
rm
TaxIdsResource.d.ts
6265
0666
edit
dl
rm
TaxRates.d.ts
5056
0666
edit
dl
rm
TaxRatesResource.d.ts
6537
0666
edit
dl
rm
ThinEvent.d.ts
847
0666
edit
dl
rm
Tokens.d.ts
3363
0666
edit
dl
rm
TokensResource.d.ts
34353
0666
edit
dl
rm
Topups.d.ts
3284
0666
edit
dl
rm
TopupsResource.d.ts
5249
0666
edit
dl
rm
TransferReversals.d.ts
2543
0666
edit
dl
rm
Transfers.d.ts
3676
0666
edit
dl
rm
TransfersResource.d.ts
10601
0666
edit
dl
rm
UpcomingInvoices.d.ts
108
0666
edit
dl
rm
UsageRecords.d.ts
1261
0666
edit
dl
rm
UsageRecordSummaries.d.ts
1474
0666
edit
dl
rm
WebhookEndpoints.d.ts
2865
0666
edit
dl
rm
WebhookEndpointsResource.d.ts
26655
0666
edit
dl
rm
Webhooks.d.ts
4627
0666
edit
dl
rm
Edit:
/home/techb158/balavpn.abdallabala.com/node_modules/stripe/types/SubscriptionSchedules.d.ts
(23402B)
// File generated from our OpenAPI spec declare module 'stripe' { namespace Stripe { /** * A subscription schedule allows you to create and manage the lifecycle of a subscription by predefining expected changes. * * Related guide: [Subscription schedules](https://stripe.com/docs/billing/subscriptions/subscription-schedules) */ interface SubscriptionSchedule { /** * Unique identifier for the object. */ id: string; /** * String representing the object's type. Objects of the same type share the same value. */ object: 'subscription_schedule'; /** * ID of the Connect Application that created the schedule. */ application: | string | Stripe.Application | Stripe.DeletedApplication | null; /** * Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch. */ canceled_at: number | null; /** * Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch. */ completed_at: number | null; /** * Time at which the object was created. Measured in seconds since the Unix epoch. */ created: number; /** * Object representing the start and end dates for the current phase of the subscription schedule, if it is `active`. */ current_phase: SubscriptionSchedule.CurrentPhase | null; /** * ID of the customer who owns the subscription schedule. */ customer: string | Stripe.Customer | Stripe.DeletedCustomer; default_settings: SubscriptionSchedule.DefaultSettings; /** * Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription. */ end_behavior: SubscriptionSchedule.EndBehavior; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ metadata: Stripe.Metadata | null; /** * Configuration for the subscription schedule's phases. */ phases: Array<SubscriptionSchedule.Phase>; /** * Time at which the subscription schedule was released. Measured in seconds since the Unix epoch. */ released_at: number | null; /** * ID of the subscription once managed by the subscription schedule (if it is released). */ released_subscription: string | null; /** * The present status of the subscription schedule. Possible values are `not_started`, `active`, `completed`, `released`, and `canceled`. You can read more about the different states in our [behavior guide](https://stripe.com/docs/billing/subscriptions/subscription-schedules). */ status: SubscriptionSchedule.Status; /** * ID of the subscription managed by the subscription schedule. */ subscription: string | Stripe.Subscription | null; /** * ID of the test clock this subscription schedule belongs to. */ test_clock: string | Stripe.TestHelpers.TestClock | null; } namespace SubscriptionSchedule { interface CurrentPhase { /** * The end of this phase of the subscription schedule. */ end_date: number; /** * The start of this phase of the subscription schedule. */ start_date: number; } interface DefaultSettings { /** * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account during this phase of the schedule. */ application_fee_percent: number | null; automatic_tax?: DefaultSettings.AutomaticTax; /** * Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). */ billing_cycle_anchor: DefaultSettings.BillingCycleAnchor; /** * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period */ billing_thresholds: DefaultSettings.BillingThresholds | null; /** * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. */ collection_method: DefaultSettings.CollectionMethod | null; /** * ID of the default payment method for the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. */ default_payment_method: string | Stripe.PaymentMethod | null; /** * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description: string | null; invoice_settings: DefaultSettings.InvoiceSettings; /** * The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details. */ on_behalf_of: string | Stripe.Account | null; /** * The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. */ transfer_data: DefaultSettings.TransferData | null; } namespace DefaultSettings { interface AutomaticTax { /** * If Stripe disabled automatic tax, this enum describes why. */ disabled_reason: 'requires_location_inputs' | null; /** * Whether Stripe automatically computes tax on invoices created during this phase. */ enabled: boolean; /** * The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account. */ liability: AutomaticTax.Liability | null; } namespace AutomaticTax { interface Liability { /** * The connected account being referenced when `type` is `account`. */ account?: string | Stripe.Account; /** * Type of the account referenced. */ type: Liability.Type; } namespace Liability { type Type = 'account' | 'self'; } } type BillingCycleAnchor = 'automatic' | 'phase_start'; interface BillingThresholds { /** * Monetary threshold that triggers the subscription to create an invoice */ amount_gte: number | null; /** * Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`. */ reset_billing_cycle_anchor: boolean | null; } type CollectionMethod = 'charge_automatically' | 'send_invoice'; interface InvoiceSettings { /** * The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule. */ account_tax_ids: Array< string | Stripe.TaxId | Stripe.DeletedTaxId > | null; /** * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. */ days_until_due: number | null; issuer: InvoiceSettings.Issuer; } namespace InvoiceSettings { interface Issuer { /** * The connected account being referenced when `type` is `account`. */ account?: string | Stripe.Account; /** * Type of the account referenced. */ type: Issuer.Type; } namespace Issuer { type Type = 'account' | 'self'; } } interface TransferData { /** * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. */ amount_percent: number | null; /** * The account where funds from the payment will be transferred to upon payment success. */ destination: string | Stripe.Account; } } type EndBehavior = 'cancel' | 'none' | 'release' | 'renew'; interface Phase { /** * A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. */ add_invoice_items: Array<Phase.AddInvoiceItem>; /** * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account during this phase of the schedule. */ application_fee_percent: number | null; automatic_tax?: Phase.AutomaticTax; /** * Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). */ billing_cycle_anchor: Phase.BillingCycleAnchor | null; /** * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period */ billing_thresholds: Phase.BillingThresholds | null; /** * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. */ collection_method: Phase.CollectionMethod | null; /** * ID of the coupon to use during this phase of the subscription schedule. */ coupon: string | Stripe.Coupon | Stripe.DeletedCoupon | null; /** * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ currency: string; /** * ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. */ default_payment_method: string | Stripe.PaymentMethod | null; /** * The default tax rates to apply to the subscription during this phase of the subscription schedule. */ default_tax_rates?: Array<Stripe.TaxRate> | null; /** * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description: string | null; /** * The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts. */ discounts: Array<Phase.Discount>; /** * The end of this phase of the subscription schedule. */ end_date: number; /** * The invoice settings applicable during this phase. */ invoice_settings: Phase.InvoiceSettings | null; /** * Subscription items to configure the subscription to during this phase of the subscription schedule. */ items: Array<Phase.Item>; /** * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's `metadata` when the phase is entered. Updating the underlying subscription's `metadata` directly will not affect the current phase's `metadata`. */ metadata: Stripe.Metadata | null; /** * The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details. */ on_behalf_of: string | Stripe.Account | null; /** * If the subscription schedule will prorate when transitioning to this phase. Possible values are `create_prorations` and `none`. */ proration_behavior: Phase.ProrationBehavior; /** * The start of this phase of the subscription schedule. */ start_date: number; /** * The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. */ transfer_data: Phase.TransferData | null; /** * When the trial ends within the phase. */ trial_end: number | null; } namespace Phase { interface AddInvoiceItem { /** * The stackable discounts that will be applied to the item. */ discounts: Array<AddInvoiceItem.Discount>; /** * ID of the price used to generate the invoice item. */ price: string | Stripe.Price | Stripe.DeletedPrice; /** * The quantity of the invoice item. */ quantity: number | null; /** * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item. */ tax_rates?: Array<Stripe.TaxRate> | null; } namespace AddInvoiceItem { interface Discount { /** * ID of the coupon to create a new discount for. */ coupon: string | Stripe.Coupon | null; /** * ID of an existing discount on the object (or one of its ancestors) to reuse. */ discount: string | Stripe.Discount | null; /** * ID of the promotion code to create a new discount for. */ promotion_code: string | Stripe.PromotionCode | null; } } interface AutomaticTax { /** * If Stripe disabled automatic tax, this enum describes why. */ disabled_reason: 'requires_location_inputs' | null; /** * Whether Stripe automatically computes tax on invoices created during this phase. */ enabled: boolean; /** * The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account. */ liability: AutomaticTax.Liability | null; } namespace AutomaticTax { interface Liability { /** * The connected account being referenced when `type` is `account`. */ account?: string | Stripe.Account; /** * Type of the account referenced. */ type: Liability.Type; } namespace Liability { type Type = 'account' | 'self'; } } type BillingCycleAnchor = 'automatic' | 'phase_start'; interface BillingThresholds { /** * Monetary threshold that triggers the subscription to create an invoice */ amount_gte: number | null; /** * Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`. */ reset_billing_cycle_anchor: boolean | null; } type CollectionMethod = 'charge_automatically' | 'send_invoice'; interface Discount { /** * ID of the coupon to create a new discount for. */ coupon: string | Stripe.Coupon | null; /** * ID of an existing discount on the object (or one of its ancestors) to reuse. */ discount: string | Stripe.Discount | null; /** * ID of the promotion code to create a new discount for. */ promotion_code: string | Stripe.PromotionCode | null; } interface InvoiceSettings { /** * The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule. */ account_tax_ids: Array< string | Stripe.TaxId | Stripe.DeletedTaxId > | null; /** * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. */ days_until_due: number | null; /** * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account. */ issuer: InvoiceSettings.Issuer | null; } namespace InvoiceSettings { interface Issuer { /** * The connected account being referenced when `type` is `account`. */ account?: string | Stripe.Account; /** * Type of the account referenced. */ type: Issuer.Type; } namespace Issuer { type Type = 'account' | 'self'; } } interface Item { /** * Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period */ billing_thresholds: Item.BillingThresholds | null; /** * The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount. */ discounts: Array<Item.Discount>; /** * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an item. Metadata on this item will update the underlying subscription item's `metadata` when the phase is entered. */ metadata: Stripe.Metadata | null; /** * ID of the plan to which the customer should be subscribed. */ plan: string | Stripe.Plan | Stripe.DeletedPlan; /** * ID of the price to which the customer should be subscribed. */ price: string | Stripe.Price | Stripe.DeletedPrice; /** * Quantity of the plan to which the customer should be subscribed. */ quantity?: number; /** * The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. */ tax_rates?: Array<Stripe.TaxRate> | null; } namespace Item { interface BillingThresholds { /** * Usage threshold that triggers the subscription to create an invoice */ usage_gte: number | null; } interface Discount { /** * ID of the coupon to create a new discount for. */ coupon: string | Stripe.Coupon | null; /** * ID of an existing discount on the object (or one of its ancestors) to reuse. */ discount: string | Stripe.Discount | null; /** * ID of the promotion code to create a new discount for. */ promotion_code: string | Stripe.PromotionCode | null; } } type ProrationBehavior = | 'always_invoice' | 'create_prorations' | 'none'; interface TransferData { /** * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. */ amount_percent: number | null; /** * The account where funds from the payment will be transferred to upon payment success. */ destination: string | Stripe.Account; } } type Status = | 'active' | 'canceled' | 'completed' | 'not_started' | 'released'; } } }
Save
cmd:
run