mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-02 00:12:08 -04:00
Update generated code for v901
This commit is contained in:
parent
c2f09bc395
commit
3f60df3581
@ -1 +1 @@
|
||||
v898
|
||||
v901
|
||||
@ -316,6 +316,8 @@ module Stripe
|
||||
end
|
||||
|
||||
# Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to [deletion](https://stripe.com/docs/api#delete_invoice), however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.
|
||||
#
|
||||
# Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or <a href="#create_credit_note">credit note](https://stripe.com/docs/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.
|
||||
def void_invoice(params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
@ -326,6 +328,8 @@ module Stripe
|
||||
end
|
||||
|
||||
# Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to [deletion](https://stripe.com/docs/api#delete_invoice), however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.
|
||||
#
|
||||
# Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or <a href="#create_credit_note">credit note](https://stripe.com/docs/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.
|
||||
def self.void_invoice(invoice, params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user