Class: Stripe::AccountCreateParams::Settings::Invoices

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(hosted_payment_method_save: nil) ⇒ Invoices

Returns a new instance of Invoices.



1872
1873
1874
# File 'lib/stripe/params/account_create_params.rb', line 1872

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

Instance Attribute Details

#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.



1870
1871
1872
# File 'lib/stripe/params/account_create_params.rb', line 1870

def hosted_payment_method_save
  @hosted_payment_method_save
end