Class: Stripe::V2::Core::AccountUpdateParams::Configuration::Customer::Billing::Invoice

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

Defined Under Namespace

Classes: CustomField, Rendering

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(custom_fields: nil, footer: nil, next_sequence: nil, prefix: nil, rendering: nil) ⇒ Invoice

Returns a new instance of Invoice.



315
316
317
318
319
320
321
322
323
324
325
326
327
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 315

def initialize(
  custom_fields: nil,
  footer: nil,
  next_sequence: nil,
  prefix: nil,
  rendering: nil
)
  @custom_fields = custom_fields
  @footer = footer
  @next_sequence = next_sequence
  @prefix = prefix
  @rendering = rendering
end

Instance Attribute Details

#custom_fieldsObject

The list of up to 4 default custom fields to be displayed on invoices for this customer.



305
306
307
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 305

def custom_fields
  @custom_fields
end

Default invoice footer.



307
308
309
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 307

def footer
  @footer
end

#next_sequenceObject

Sequence number to use on the customer account’s next invoice. Defaults to 1.



309
310
311
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 309

def next_sequence
  @next_sequence
end

#prefixObject

Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers.



311
312
313
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 311

def prefix
  @prefix
end

#renderingObject

Default invoice PDF rendering options.



313
314
315
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 313

def rendering
  @rendering
end