Class: Stripe::InvoiceFinalizeInvoiceParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceFinalizeInvoiceParams
- Defined in:
- lib/stripe/params/invoice_finalize_invoice_params.rb
Instance Attribute Summary collapse
-
#auto_advance ⇒ Object
Controls whether Stripe performs [automatic collection](stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(auto_advance: nil, expand: nil) ⇒ InvoiceFinalizeInvoiceParams
constructor
A new instance of InvoiceFinalizeInvoiceParams.
Methods inherited from RequestParams
Constructor Details
#initialize(auto_advance: nil, expand: nil) ⇒ InvoiceFinalizeInvoiceParams
Returns a new instance of InvoiceFinalizeInvoiceParams.
11 12 13 14 |
# File 'lib/stripe/params/invoice_finalize_invoice_params.rb', line 11 def initialize(auto_advance: nil, expand: nil) @auto_advance = auto_advance @expand = end |
Instance Attribute Details
#auto_advance ⇒ Object
Controls whether Stripe performs [automatic collection](stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If ‘false`, the invoice’s state doesn’t automatically advance without an explicit action.
7 8 9 |
# File 'lib/stripe/params/invoice_finalize_invoice_params.rb', line 7 def auto_advance @auto_advance end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
9 10 11 |
# File 'lib/stripe/params/invoice_finalize_invoice_params.rb', line 9 def @expand end |