Class: Stripe::Invoice::FinalizeInvoiceParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/resources/invoice.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(auto_advance: nil, expand: nil) ⇒ FinalizeInvoiceParams

Returns a new instance of FinalizeInvoiceParams.



1931
1932
1933
1934
# File 'lib/stripe/resources/invoice.rb', line 1931

def initialize(auto_advance: nil, expand: nil)
  @auto_advance = auto_advance
  @expand = expand
end

Instance Attribute Details

#auto_advanceObject

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.



1927
1928
1929
# File 'lib/stripe/resources/invoice.rb', line 1927

def auto_advance
  @auto_advance
end

#expandObject

Specifies which fields in the response should be expanded.



1929
1930
1931
# File 'lib/stripe/resources/invoice.rb', line 1929

def expand
  @expand
end