Class: Stripe::AccountUpdateParams::Settings::Invoices

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(default_account_tax_ids: nil, hosted_payment_method_save: nil) ⇒ Invoices

Returns a new instance of Invoices.



1830
1831
1832
1833
# File 'lib/stripe/params/account_update_params.rb', line 1830

def initialize(default_account_tax_ids: nil, hosted_payment_method_save: nil)
  @default_account_tax_ids = 
  @hosted_payment_method_save = hosted_payment_method_save
end

Instance Attribute Details

#default_account_tax_idsObject

The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized.



1826
1827
1828
# File 'lib/stripe/params/account_update_params.rb', line 1826

def 
  @default_account_tax_ids
end

#hosted_payment_method_saveObject

Whether to save the payment method after a payment is completed for a one-time invoice or a subscription invoice when the customer already has a default payment method on the hosted invoice page.



1828
1829
1830
# File 'lib/stripe/params/account_update_params.rb', line 1828

def hosted_payment_method_save
  @hosted_payment_method_save
end