Class: Stripe::Checkout::Session::CreateParams::InvoiceCreation::InvoiceData::RenderingOptions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/checkout/session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amount_tax_display: nil) ⇒ RenderingOptions

Returns a new instance of RenderingOptions.



1394
1395
1396
# File 'lib/stripe/resources/checkout/session.rb', line 1394

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

Instance Attribute Details

#amount_tax_displayObject

How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of ‘exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.



1392
1393
1394
# File 'lib/stripe/resources/checkout/session.rb', line 1392

def amount_tax_display
  @amount_tax_display
end