mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 16:24:50 +00:00
Bump stripe-php from 19.0.0 to 19.4.1
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Stripe;
|
||||
/**
|
||||
* Issue a credit note to adjust an invoice's amount after the invoice is finalized.
|
||||
*
|
||||
* Related guide: <a href="https://stripe.com/docs/billing/invoices/credit-notes">Credit notes</a>
|
||||
* Related guide: <a href="https://docs.stripe.com/billing/invoices/credit-notes">Credit notes</a>
|
||||
*
|
||||
* @property string $id Unique identifier for the object.
|
||||
* @property string $object String representing the object's type. Objects of the same type share the same value.
|
||||
@@ -16,6 +16,7 @@ namespace Stripe;
|
||||
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
|
||||
* @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
|
||||
* @property Customer|string $customer ID of the customer.
|
||||
* @property null|string $customer_account ID of the account representing the customer.
|
||||
* @property null|CustomerBalanceTransaction|string $customer_balance_transaction Customer balance transaction related to this credit note.
|
||||
* @property int $discount_amount The integer amount in cents (or local equivalent) representing the total amount of discount that was credited.
|
||||
* @property ((object{amount: int, discount: Discount|string}&StripeObject))[] $discount_amounts The aggregate amounts calculated per discount for all line items.
|
||||
@@ -24,7 +25,7 @@ namespace Stripe;
|
||||
* @property Collection<CreditNoteLineItem> $lines Line items that make up the credit note
|
||||
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
|
||||
* @property null|string $memo Customer-facing text that appears on the credit note PDF.
|
||||
* @property null|StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
||||
* @property null|StripeObject $metadata Set of <a href="https://docs.stripe.com/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
||||
* @property string $number A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice.
|
||||
* @property null|int $out_of_band_amount Amount that was credited outside of Stripe.
|
||||
* @property string $pdf The link to download the PDF of the credit note.
|
||||
@@ -34,7 +35,7 @@ namespace Stripe;
|
||||
* @property null|string $reason Reason for issuing this credit note, one of <code>duplicate</code>, <code>fraudulent</code>, <code>order_change</code>, or <code>product_unsatisfactory</code>
|
||||
* @property ((object{amount_refunded: int, payment_record_refund: null|(object{payment_record: string, refund_group: string}&StripeObject), refund: Refund|string, type: null|string}&StripeObject))[] $refunds Refunds related to this credit note.
|
||||
* @property null|(object{amount_subtotal: int, amount_tax: int, amount_total: int, shipping_rate: null|ShippingRate|string, taxes?: ((object{amount: int, rate: TaxRate, taxability_reason: null|string, taxable_amount: null|int}&StripeObject))[]}&StripeObject) $shipping_cost The details of the cost of shipping, including the ShippingRate applied to the invoice.
|
||||
* @property string $status Status of this credit note, one of <code>issued</code> or <code>void</code>. Learn more about <a href="https://stripe.com/docs/billing/invoices/credit-notes#voiding">voiding credit notes</a>.
|
||||
* @property string $status Status of this credit note, one of <code>issued</code> or <code>void</code>. Learn more about <a href="https://docs.stripe.com/billing/invoices/credit-notes#voiding">voiding credit notes</a>.
|
||||
* @property int $subtotal The integer amount in cents (or local equivalent) representing the amount of the credit note, excluding exclusive tax and invoice level discounts.
|
||||
* @property null|int $subtotal_excluding_tax The integer amount in cents (or local equivalent) representing the amount of the credit note, excluding all tax and invoice level discounts.
|
||||
* @property int $total The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax and all discount.
|
||||
@@ -107,7 +108,7 @@ class CreditNote extends ApiResource
|
||||
/**
|
||||
* Returns a list of credit notes.
|
||||
*
|
||||
* @param null|array{created?: array|int, customer?: string, ending_before?: string, expand?: string[], invoice?: string, limit?: int, starting_after?: string} $params
|
||||
* @param null|array{created?: array|int, customer?: string, customer_account?: string, ending_before?: string, expand?: string[], invoice?: string, limit?: int, starting_after?: string} $params
|
||||
* @param null|array|string $opts
|
||||
*
|
||||
* @return Collection<CreditNote> of ApiResources
|
||||
|
||||
Reference in New Issue
Block a user