diff --git a/types/2019-12-03/Accounts.d.ts b/types/2019-12-03/Accounts.d.ts index 0e3e24f4d6..cfff59e90b 100644 --- a/types/2019-12-03/Accounts.d.ts +++ b/types/2019-12-03/Accounts.d.ts @@ -589,7 +589,7 @@ declare module 'stripe' { individual?: AccountCreateParams.Individual; /** - * A set of key-value pairs that you can attach to an `Account` object. This can be useful for storing additional information about the account in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -1186,7 +1186,7 @@ declare module 'stripe' { individual?: AccountUpdateParams.Individual; /** - * A set of key-value pairs that you can attach to an `Account` object. This can be useful for storing additional information about the account in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Charges.d.ts b/types/2019-12-03/Charges.d.ts index d7fc32d03d..533af86119 100644 --- a/types/2019-12-03/Charges.d.ts +++ b/types/2019-12-03/Charges.d.ts @@ -1190,7 +1190,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Checkout/Sessions.d.ts b/types/2019-12-03/Checkout/Sessions.d.ts index 285b9e5d90..366cf1d77d 100644 --- a/types/2019-12-03/Checkout/Sessions.d.ts +++ b/types/2019-12-03/Checkout/Sessions.d.ts @@ -355,7 +355,7 @@ declare module 'stripe' { description?: string; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -452,7 +452,7 @@ declare module 'stripe' { description?: string; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -478,7 +478,7 @@ declare module 'stripe' { items: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Coupons.d.ts b/types/2019-12-03/Coupons.d.ts index 17e8484983..0bef88be7a 100644 --- a/types/2019-12-03/Coupons.d.ts +++ b/types/2019-12-03/Coupons.d.ts @@ -143,7 +143,7 @@ declare module 'stripe' { max_redemptions?: number; /** - * A set of key-value pairs that you can attach to a coupon object. It can be useful for storing additional information about the coupon in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -181,7 +181,7 @@ declare module 'stripe' { expand?: Array; /** - * A set of key-value pairs that you can attach to a coupon object. It can be useful for storing additional information about the coupon in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/CustomerBalanceTransactions.d.ts b/types/2019-12-03/CustomerBalanceTransactions.d.ts index 9f6a4a2d84..3cb8f74891 100644 --- a/types/2019-12-03/CustomerBalanceTransactions.d.ts +++ b/types/2019-12-03/CustomerBalanceTransactions.d.ts @@ -105,7 +105,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; } @@ -129,7 +129,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; } diff --git a/types/2019-12-03/CustomerSources.d.ts b/types/2019-12-03/CustomerSources.d.ts index 7d945d2e76..f4b74171c9 100644 --- a/types/2019-12-03/CustomerSources.d.ts +++ b/types/2019-12-03/CustomerSources.d.ts @@ -12,7 +12,7 @@ declare module 'stripe' { expand?: Array; /** - * A set of key-value pairs that you can attach to a card object. It can be useful for storing additional information about the card in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; } @@ -80,6 +80,9 @@ declare module 'stripe' { */ expand?: Array; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ metadata?: MetadataParam; /** diff --git a/types/2019-12-03/Customers.d.ts b/types/2019-12-03/Customers.d.ts index 01353be3e3..1cca27e7b3 100644 --- a/types/2019-12-03/Customers.d.ts +++ b/types/2019-12-03/Customers.d.ts @@ -239,7 +239,7 @@ declare module 'stripe' { invoice_settings?: CustomerCreateParams.InvoiceSettings; /** - * A set of key-value pairs that you can attach to a customer object. It can be useful for storing additional information about the customer in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -410,7 +410,7 @@ declare module 'stripe' { invoice_settings?: CustomerUpdateParams.InvoiceSettings; /** - * A set of key-value pairs that you can attach to a customer object. It can be useful for storing additional information about the customer in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Disputes.d.ts b/types/2019-12-03/Disputes.d.ts index 11ad387160..2ea202f748 100644 --- a/types/2019-12-03/Disputes.d.ts +++ b/types/2019-12-03/Disputes.d.ts @@ -269,7 +269,7 @@ declare module 'stripe' { expand?: Array; /** - * A set of key-value pairs that you can attach to a dispute object. This can be useful for storing additional information about the dispute in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/ExternalAccounts.d.ts b/types/2019-12-03/ExternalAccounts.d.ts index 119d0939d4..f6e393ae6f 100644 --- a/types/2019-12-03/ExternalAccounts.d.ts +++ b/types/2019-12-03/ExternalAccounts.d.ts @@ -17,7 +17,7 @@ declare module 'stripe' { expand?: Array; /** - * A set of key-value pairs that you can attach to an external account object. It can be useful for storing additional information about the external account in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; } @@ -90,6 +90,9 @@ declare module 'stripe' { */ expand?: Array; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ metadata?: MetadataParam; /** diff --git a/types/2019-12-03/FileLinks.d.ts b/types/2019-12-03/FileLinks.d.ts index 8617921dfa..477c80fd87 100644 --- a/types/2019-12-03/FileLinks.d.ts +++ b/types/2019-12-03/FileLinks.d.ts @@ -67,7 +67,7 @@ declare module 'stripe' { expires_at?: number; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; } @@ -91,7 +91,7 @@ declare module 'stripe' { expires_at?: 'now' | number | ''; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; } diff --git a/types/2019-12-03/InvoiceItems.d.ts b/types/2019-12-03/InvoiceItems.d.ts index d103baaefb..5356750f9c 100644 --- a/types/2019-12-03/InvoiceItems.d.ts +++ b/types/2019-12-03/InvoiceItems.d.ts @@ -180,7 +180,7 @@ declare module 'stripe' { invoice?: string; /** - * A set of key-value pairs that you can attach to an invoice item object. It can be useful for storing additional information about the invoice item in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -258,7 +258,7 @@ declare module 'stripe' { expand?: Array; /** - * A set of key-value pairs that you can attach to an invoice item object. It can be useful for storing additional information about the invoice item in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/InvoiceLineItems.d.ts b/types/2019-12-03/InvoiceLineItems.d.ts index e29222f9d9..6eeccc6298 100644 --- a/types/2019-12-03/InvoiceLineItems.d.ts +++ b/types/2019-12-03/InvoiceLineItems.d.ts @@ -37,7 +37,7 @@ declare module 'stripe' { invoice_item?: string; /** - * Whether this is a test line item. + * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; @@ -258,7 +258,7 @@ declare module 'stripe' { invoiceitem?: string; /** - * A set of key-value pairs that you can attach to an invoice item object. It can be useful for storing additional information about the invoice item in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -323,7 +323,7 @@ declare module 'stripe' { id?: string; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Invoices.d.ts b/types/2019-12-03/Invoices.d.ts index d10a489586..05d7ef8f65 100644 --- a/types/2019-12-03/Invoices.d.ts +++ b/types/2019-12-03/Invoices.d.ts @@ -538,6 +538,9 @@ declare module 'stripe' { */ footer?: string; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ metadata?: MetadataParam; /** @@ -649,6 +652,9 @@ declare module 'stripe' { */ footer?: string; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ metadata?: MetadataParam; /** @@ -906,7 +912,7 @@ declare module 'stripe' { invoiceitem?: string; /** - * A set of key-value pairs that you can attach to an invoice item object. It can be useful for storing additional information about the invoice item in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -971,7 +977,7 @@ declare module 'stripe' { id?: string; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Issuing/Authorizations.d.ts b/types/2019-12-03/Issuing/Authorizations.d.ts index d4d964fbca..10a02a9322 100644 --- a/types/2019-12-03/Issuing/Authorizations.d.ts +++ b/types/2019-12-03/Issuing/Authorizations.d.ts @@ -274,7 +274,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam | ''; } @@ -322,7 +322,7 @@ declare module 'stripe' { held_amount?: number; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam | ''; } @@ -334,7 +334,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam | ''; } diff --git a/types/2019-12-03/Issuing/Cardholders.d.ts b/types/2019-12-03/Issuing/Cardholders.d.ts index 57f8691754..d96d8192a1 100644 --- a/types/2019-12-03/Issuing/Cardholders.d.ts +++ b/types/2019-12-03/Issuing/Cardholders.d.ts @@ -1156,6 +1156,9 @@ declare module 'stripe' { */ is_default?: boolean; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ metadata?: MetadataParam; /** diff --git a/types/2019-12-03/Issuing/Cards.d.ts b/types/2019-12-03/Issuing/Cards.d.ts index affba828f7..682cb5ee25 100644 --- a/types/2019-12-03/Issuing/Cards.d.ts +++ b/types/2019-12-03/Issuing/Cards.d.ts @@ -1136,6 +1136,9 @@ declare module 'stripe' { */ expand?: Array; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ metadata?: MetadataParam; /** @@ -2135,6 +2138,9 @@ declare module 'stripe' { */ expand?: Array; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ metadata?: MetadataParam | ''; /** diff --git a/types/2019-12-03/Issuing/Disputes.d.ts b/types/2019-12-03/Issuing/Disputes.d.ts index e006e28650..2f6d68ff74 100644 --- a/types/2019-12-03/Issuing/Disputes.d.ts +++ b/types/2019-12-03/Issuing/Disputes.d.ts @@ -43,7 +43,7 @@ declare module 'stripe' { livemode: boolean; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ metadata: Metadata; diff --git a/types/2019-12-03/Issuing/Transactions.d.ts b/types/2019-12-03/Issuing/Transactions.d.ts index 8b336bfd79..26d173e512 100644 --- a/types/2019-12-03/Issuing/Transactions.d.ts +++ b/types/2019-12-03/Issuing/Transactions.d.ts @@ -142,6 +142,9 @@ declare module 'stripe' { */ expand?: Array; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ metadata?: MetadataParam | ''; } diff --git a/types/2019-12-03/Orders.d.ts b/types/2019-12-03/Orders.d.ts index 8b88c4078c..49c12ea66c 100644 --- a/types/2019-12-03/Orders.d.ts +++ b/types/2019-12-03/Orders.d.ts @@ -224,7 +224,7 @@ declare module 'stripe' { items?: Array; /** - * A set of key-value pairs that you can attach to an order object. Limited to 500 characters. Metadata can be useful for storing additional information about the order in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -296,7 +296,7 @@ declare module 'stripe' { expand?: Array; /** - * A set of key-value pairs that you can attach to a product object. It can be useful for storing additional information about the order in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -415,7 +415,7 @@ declare module 'stripe' { expand?: Array; /** - * A set of key-value pairs that you can attach to an order object. Limited to 500 characters. Metadata can be useful for storing additional information about the order in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/PaymentIntents.d.ts b/types/2019-12-03/PaymentIntents.d.ts index d82cdba2a6..8f97e89445 100644 --- a/types/2019-12-03/PaymentIntents.d.ts +++ b/types/2019-12-03/PaymentIntents.d.ts @@ -488,7 +488,7 @@ declare module 'stripe' { mandate_data?: PaymentIntentCreateParams.MandateData; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -808,7 +808,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/PaymentMethods.d.ts b/types/2019-12-03/PaymentMethods.d.ts index ceb0da0043..dd1b2ef3ff 100644 --- a/types/2019-12-03/PaymentMethods.d.ts +++ b/types/2019-12-03/PaymentMethods.d.ts @@ -373,7 +373,7 @@ declare module 'stripe' { ideal?: PaymentMethodCreateParams.Ideal; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -519,7 +519,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Payouts.d.ts b/types/2019-12-03/Payouts.d.ts index 488dd03998..fec9119a42 100644 --- a/types/2019-12-03/Payouts.d.ts +++ b/types/2019-12-03/Payouts.d.ts @@ -142,7 +142,7 @@ declare module 'stripe' { expand?: Array; /** - * A set of key-value pairs that you can attach to a payout object. It can be useful for storing additional information about the payout in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -182,7 +182,7 @@ declare module 'stripe' { expand?: Array; /** - * A set of key-value pairs that you can attach to a payout object. It can be useful for storing additional information about the payout in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; } diff --git a/types/2019-12-03/Products.d.ts b/types/2019-12-03/Products.d.ts index 58a4b8424a..5f6f7a93d0 100644 --- a/types/2019-12-03/Products.d.ts +++ b/types/2019-12-03/Products.d.ts @@ -192,7 +192,7 @@ declare module 'stripe' { images?: Array; /** - * A set of key-value pairs that you can attach to a product object. It can be useful for storing additional information about the product in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -297,7 +297,7 @@ declare module 'stripe' { images?: Array | ''; /** - * A set of key-value pairs that you can attach to a product object. It can be useful for storing additional information about the product in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Refunds.d.ts b/types/2019-12-03/Refunds.d.ts index 90dce95c68..0cdb9b0b16 100644 --- a/types/2019-12-03/Refunds.d.ts +++ b/types/2019-12-03/Refunds.d.ts @@ -100,6 +100,9 @@ declare module 'stripe' { */ expand?: Array; + /** + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + */ metadata?: MetadataParam; payment_intent?: string; diff --git a/types/2019-12-03/SKUs.d.ts b/types/2019-12-03/SKUs.d.ts index a8b7d65184..c8b35e15f6 100644 --- a/types/2019-12-03/SKUs.d.ts +++ b/types/2019-12-03/SKUs.d.ts @@ -181,7 +181,7 @@ declare module 'stripe' { image?: string; /** - * A set of key-value pairs that you can attach to a SKU object. It can be useful for storing additional information about the SKU in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -277,7 +277,7 @@ declare module 'stripe' { inventory?: SkuUpdateParams.Inventory; /** - * A set of key-value pairs that you can attach to a SKU object. It can be useful for storing additional information about the SKU in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/SetupIntents.d.ts b/types/2019-12-03/SetupIntents.d.ts index 65d8933ba3..d667c1b1bd 100644 --- a/types/2019-12-03/SetupIntents.d.ts +++ b/types/2019-12-03/SetupIntents.d.ts @@ -258,7 +258,7 @@ declare module 'stripe' { mandate_data?: SetupIntentCreateParams.MandateData; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -421,7 +421,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/SourceTransactions.d.ts b/types/2019-12-03/SourceTransactions.d.ts index 6cdd21a503..e69be4d85a 100644 --- a/types/2019-12-03/SourceTransactions.d.ts +++ b/types/2019-12-03/SourceTransactions.d.ts @@ -144,12 +144,12 @@ declare module 'stripe' { interface PaperCheck { /** - * String unix time for the available date. + * Time at which the deposited funds will be available for use. Measured in seconds since the Unix epoch. */ available_at?: string; /** - * Invoice ID associated with the paper check. + * Comma-separated list of invoice IDs associated with the paper check. */ invoices?: string; } diff --git a/types/2019-12-03/Sources.d.ts b/types/2019-12-03/Sources.d.ts index a292d04ffc..feccd4d994 100644 --- a/types/2019-12-03/Sources.d.ts +++ b/types/2019-12-03/Sources.d.ts @@ -749,9 +749,6 @@ declare module 'stripe' { */ mandate?: SourceCreateParams.Mandate; - /** - * A set of key-value pairs that you can attach to a source object. It can be useful for storing additional information about the source in a structured format. - */ metadata?: MetadataParam; /** @@ -1058,7 +1055,7 @@ declare module 'stripe' { mandate?: SourceUpdateParams.Mandate; /** - * A set of key-value pairs that you can attach to a source object. It can be useful for storing additional information about the source in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/SubscriptionItems.d.ts b/types/2019-12-03/SubscriptionItems.d.ts index 6709fb6896..17b72327b3 100644 --- a/types/2019-12-03/SubscriptionItems.d.ts +++ b/types/2019-12-03/SubscriptionItems.d.ts @@ -95,7 +95,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -165,7 +165,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/SubscriptionSchedules.d.ts b/types/2019-12-03/SubscriptionSchedules.d.ts index 7f0847bcc1..bce5986cef 100644 --- a/types/2019-12-03/SubscriptionSchedules.d.ts +++ b/types/2019-12-03/SubscriptionSchedules.d.ts @@ -305,7 +305,7 @@ declare module 'stripe' { from_subscription?: string; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -508,7 +508,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Subscriptions.d.ts b/types/2019-12-03/Subscriptions.d.ts index f34eb058dc..837cff87ad 100644 --- a/types/2019-12-03/Subscriptions.d.ts +++ b/types/2019-12-03/Subscriptions.d.ts @@ -313,7 +313,7 @@ declare module 'stripe' { items?: Array; /** - * A set of key-value pairs that you can attach to a `Subscription` object. It can be useful for storing additional information about the subscription in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -387,7 +387,7 @@ declare module 'stripe' { billing_thresholds?: Item.BillingThresholds | null; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -519,7 +519,7 @@ declare module 'stripe' { items?: Array; /** - * A set of key-value pairs that you can attach to a subscription object. This can be useful for storing additional information about the subscription in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -610,7 +610,7 @@ declare module 'stripe' { id?: string; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Terminal/Locations.d.ts b/types/2019-12-03/Terminal/Locations.d.ts index 47dc6b39be..fe99ae628b 100644 --- a/types/2019-12-03/Terminal/Locations.d.ts +++ b/types/2019-12-03/Terminal/Locations.d.ts @@ -72,7 +72,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Terminal/Readers.d.ts b/types/2019-12-03/Terminal/Readers.d.ts index 86ab539db5..335f901a38 100644 --- a/types/2019-12-03/Terminal/Readers.d.ts +++ b/types/2019-12-03/Terminal/Readers.d.ts @@ -109,7 +109,7 @@ declare module 'stripe' { location?: string; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; diff --git a/types/2019-12-03/Topups.d.ts b/types/2019-12-03/Topups.d.ts index 86c5d42466..958dbb5d37 100644 --- a/types/2019-12-03/Topups.d.ts +++ b/types/2019-12-03/Topups.d.ts @@ -113,7 +113,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; @@ -152,7 +152,7 @@ declare module 'stripe' { expand?: Array; /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: MetadataParam; } diff --git a/types/2019-12-03/Transfers.d.ts b/types/2019-12-03/Transfers.d.ts index 685b1e568b..b12f5626fa 100644 --- a/types/2019-12-03/Transfers.d.ts +++ b/types/2019-12-03/Transfers.d.ts @@ -60,7 +60,7 @@ declare module 'stripe' { livemode: boolean; /** - * A set of key-value pairs that you can attach to a transfer object. It can be useful for storing additional information about the transfer in a structured format. + * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ metadata: Metadata;