Class: Stripe::V2::Core::AccountCreateParams::Configuration::Customer::Billing::Invoice::Rendering

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amount_tax_display: nil, template: nil) ⇒ Rendering

Returns a new instance of Rendering.



42
43
44
45
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 42

def initialize(amount_tax_display: nil, template: nil)
  @amount_tax_display = amount_tax_display
  @template = template
end

Instance Attribute Details

#amount_tax_displayObject

Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either ‘include_inclusive_tax` or `exclude_tax`.



38
39
40
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 38

def amount_tax_display
  @amount_tax_display
end

#templateObject

ID of the invoice rendering template to use for future invoices.



40
41
42
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 40

def template
  @template
end