Class: Stripe::PaymentLink::CreateParams::InvoiceCreation
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLink::CreateParams::InvoiceCreation
- Defined in:
- lib/stripe/resources/payment_link.rb
Defined Under Namespace
Classes: InvoiceData
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Whether the feature is enabled.
-
#invoice_data ⇒ Object
Invoice PDF configuration.
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.
602 603 604 605 |
# File 'lib/stripe/resources/payment_link.rb', line 602 def initialize(enabled: nil, invoice_data: nil) @enabled = enabled @invoice_data = invoice_data end |
Instance Attribute Details
#enabled ⇒ Object
Whether the feature is enabled
598 599 600 |
# File 'lib/stripe/resources/payment_link.rb', line 598 def enabled @enabled end |
#invoice_data ⇒ Object
Invoice PDF configuration.
600 601 602 |
# File 'lib/stripe/resources/payment_link.rb', line 600 def invoice_data @invoice_data end |