Class: Stripe::Checkout::SessionService::CreateParams::InvoiceCreation
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionService::CreateParams::InvoiceCreation
- Defined in:
- lib/stripe/services/checkout/session_service.rb
Defined Under Namespace
Classes: InvoiceData
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Set to ‘true` to enable invoice creation.
-
#invoice_data ⇒ Object
Parameters passed when creating invoices for payment-mode Checkout Sessions.
Instance Method Summary collapse
-
#initialize(enabled: nil, invoice_data: nil) ⇒ InvoiceCreation
constructor
A new instance of InvoiceCreation.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, invoice_data: nil) ⇒ InvoiceCreation
Returns a new instance of InvoiceCreation.
437 438 439 440 |
# File 'lib/stripe/services/checkout/session_service.rb', line 437 def initialize(enabled: nil, invoice_data: nil) @enabled = enabled @invoice_data = invoice_data end |
Instance Attribute Details
#enabled ⇒ Object
Set to ‘true` to enable invoice creation.
433 434 435 |
# File 'lib/stripe/services/checkout/session_service.rb', line 433 def enabled @enabled end |
#invoice_data ⇒ Object
Parameters passed when creating invoices for payment-mode Checkout Sessions.
435 436 437 |
# File 'lib/stripe/services/checkout/session_service.rb', line 435 def invoice_data @invoice_data end |