Class: Stripe::InvoiceUpdateParams::Rendering::Pdf
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceUpdateParams::Rendering::Pdf
- Defined in:
- lib/stripe/params/invoice_update_params.rb
Instance Attribute Summary collapse
-
#page_size ⇒ Object
Page size for invoice PDF.
Instance Method Summary collapse
-
#initialize(page_size: nil) ⇒ Pdf
constructor
A new instance of Pdf.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(page_size: nil) ⇒ Pdf
Returns a new instance of Pdf.
332 333 334 |
# File 'lib/stripe/params/invoice_update_params.rb', line 332 def initialize(page_size: nil) @page_size = page_size end |
Instance Attribute Details
#page_size ⇒ Object
Page size for invoice PDF. Can be set to a4, letter, or auto.
If set to auto, invoice PDF page size defaults to a4 for customers with
Japanese locale and letter for customers with other locales.
330 331 332 |
# File 'lib/stripe/params/invoice_update_params.rb', line 330 def page_size @page_size end |