Class: Stripe::V2::Core::AccountCreateParams::Configuration::Customer::Billing::Invoice
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountCreateParams::Configuration::Customer::Billing::Invoice
- Defined in:
- lib/stripe/params/v2/core/account_create_params.rb
Defined Under Namespace
Classes: CustomField, Rendering
Instance Attribute Summary collapse
-
#custom_fields ⇒ Object
The list of up to 4 default custom fields to be displayed on invoices for this customer.
-
#footer ⇒ Object
Default invoice footer.
-
#next_sequence ⇒ Object
Sequence number to use on the customer account’s next invoice.
-
#prefix ⇒ Object
Prefix used to generate unique invoice numbers.
-
#rendering ⇒ Object
Default invoice PDF rendering options.
Instance Method Summary collapse
-
#initialize(custom_fields: nil, footer: nil, next_sequence: nil, prefix: nil, rendering: nil) ⇒ Invoice
constructor
A new instance of Invoice.
Methods inherited from RequestParams
Constructor Details
#initialize(custom_fields: nil, footer: nil, next_sequence: nil, prefix: nil, rendering: nil) ⇒ Invoice
Returns a new instance of Invoice.
58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 58 def initialize( custom_fields: nil, footer: nil, next_sequence: nil, prefix: nil, rendering: nil ) @custom_fields = custom_fields = @next_sequence = next_sequence @prefix = prefix @rendering = rendering end |
Instance Attribute Details
#custom_fields ⇒ Object
The list of up to 4 default custom fields to be displayed on invoices for this customer.
48 49 50 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 48 def custom_fields @custom_fields end |
#footer ⇒ Object
Default invoice footer.
50 51 52 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 50 def end |
#next_sequence ⇒ Object
Sequence number to use on the customer account’s next invoice. Defaults to 1.
52 53 54 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 52 def next_sequence @next_sequence end |
#prefix ⇒ Object
Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers.
54 55 56 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 54 def prefix @prefix end |
#rendering ⇒ Object
Default invoice PDF rendering options.
56 57 58 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 56 def rendering @rendering end |