Class: Stripe::AccountService::UpdateParams::Settings::Invoices

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_service.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.



2057
2058
2059
2060
# File 'lib/stripe/services/account_service.rb', line 2057

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.



2053
2054
2055
# File 'lib/stripe/services/account_service.rb', line 2053

def 
  @default_account_tax_ids
end

#hosted_payment_method_saveObject

Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.



2055
2056
2057
# File 'lib/stripe/services/account_service.rb', line 2055

def hosted_payment_method_save
  @hosted_payment_method_save
end