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.
441 442 443 444 |
# File 'lib/stripe/services/checkout/session_service.rb', line 441 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.
437 438 439 |
# File 'lib/stripe/services/checkout/session_service.rb', line 437 def enabled @enabled end |
#invoice_data ⇒ Object
Parameters passed when creating invoices for payment-mode Checkout Sessions.
439 440 441 |
# File 'lib/stripe/services/checkout/session_service.rb', line 439 def invoice_data @invoice_data end |