Class: Stripe::AccountService::UpdateParams::Settings::Invoices
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountService::UpdateParams::Settings::Invoices
- Defined in:
- lib/stripe/services/account_service.rb
Instance Attribute Summary collapse
-
#default_account_tax_ids ⇒ Object
The list of default Account Tax IDs to automatically include on invoices.
-
#hosted_payment_method_save ⇒ Object
Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
Instance Method Summary collapse
-
#initialize(default_account_tax_ids: nil, hosted_payment_method_save: nil) ⇒ Invoices
constructor
A new instance of Invoices.
Methods inherited from RequestParams
Constructor Details
#initialize(default_account_tax_ids: nil, hosted_payment_method_save: nil) ⇒ Invoices
Returns a new instance of Invoices.
1759 1760 1761 1762 |
# File 'lib/stripe/services/account_service.rb', line 1759 def initialize(default_account_tax_ids: nil, hosted_payment_method_save: nil) @default_account_tax_ids = default_account_tax_ids @hosted_payment_method_save = hosted_payment_method_save end |
Instance Attribute Details
#default_account_tax_ids ⇒ Object
The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized.
1755 1756 1757 |
# File 'lib/stripe/services/account_service.rb', line 1755 def default_account_tax_ids @default_account_tax_ids end |
#hosted_payment_method_save ⇒ Object
Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
1757 1758 1759 |
# File 'lib/stripe/services/account_service.rb', line 1757 def hosted_payment_method_save @hosted_payment_method_save end |