Class: Stripe::PaymentLink::UpdateParams::InvoiceCreation
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLink::UpdateParams::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.
1296 1297 1298 1299 |
# File 'lib/stripe/resources/payment_link.rb', line 1296 def initialize(enabled: nil, invoice_data: nil) @enabled = enabled @invoice_data = invoice_data end |
Instance Attribute Details
#enabled ⇒ Object
Whether the feature is enabled
1292 1293 1294 |
# File 'lib/stripe/resources/payment_link.rb', line 1292 def enabled @enabled end |
#invoice_data ⇒ Object
Invoice PDF configuration.
1294 1295 1296 |
# File 'lib/stripe/resources/payment_link.rb', line 1294 def invoice_data @invoice_data end |