mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
stripe: Update missing fields and add a deprecated field for backwards compatibility (#34694)
This commit is contained in:
committed by
Armando Aguirre
parent
c7a220ca57
commit
7c72ecac37
Vendored
+27
@@ -885,6 +885,13 @@ declare namespace Stripe {
|
||||
*/
|
||||
receipt_number: string | null;
|
||||
|
||||
/**
|
||||
* This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the
|
||||
* latest state of the charge, including any refunds. If the charge is for an Invoice, the
|
||||
* receipt will be stylized as an Invoice receipt.
|
||||
*/
|
||||
receipt_url: string;
|
||||
|
||||
/**
|
||||
* Whether or not the charge has been fully refunded. If the charge is only partially refunded,
|
||||
* this attribute will still be false.
|
||||
@@ -1501,6 +1508,11 @@ declare namespace Stripe {
|
||||
*/
|
||||
email?: string;
|
||||
|
||||
/**
|
||||
* The prefix for the customer used to generate unique invoice numbers.
|
||||
*/
|
||||
invoice_prefix?: string;
|
||||
|
||||
shipping?: IShippingInformation;
|
||||
|
||||
/**
|
||||
@@ -2111,6 +2123,11 @@ declare namespace Stripe {
|
||||
*/
|
||||
statement_descriptor: string;
|
||||
|
||||
/**
|
||||
* The status of the invoice, one of draft, open, paid, uncollectible, or void.
|
||||
*/
|
||||
status: string;
|
||||
|
||||
/**
|
||||
* The subscription that this invoice was prepared for, if any.
|
||||
*/
|
||||
@@ -2215,6 +2232,11 @@ declare namespace Stripe {
|
||||
*/
|
||||
subscription: string;
|
||||
|
||||
/**
|
||||
* The subscription item that generated this invoice item. Left empty if the line item is not an explicit result of a subscription.
|
||||
*/
|
||||
subscription_item: string;
|
||||
|
||||
/**
|
||||
* A string identifying the type of the source of this line item, either an invoiceitem or a subscription
|
||||
*/
|
||||
@@ -2412,6 +2434,11 @@ declare namespace Stripe {
|
||||
*/
|
||||
created?: IDateFilter;
|
||||
|
||||
/**
|
||||
* @deprecated Use created property instead as of api version 2019-03-14.
|
||||
*/
|
||||
date?: IDateFilter;
|
||||
|
||||
/**
|
||||
* The identifier of the customer whose invoices to return. If none is provided, all invoices will be returned.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user