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.
1229 1230 1231 1232 |
# File 'lib/stripe/resources/payment_link.rb', line 1229 def initialize(enabled: nil, invoice_data: nil) @enabled = enabled @invoice_data = invoice_data end |
Instance Attribute Details
#enabled ⇒ Object
Whether the feature is enabled
1225 1226 1227 |
# File 'lib/stripe/resources/payment_link.rb', line 1225 def enabled @enabled end |
#invoice_data ⇒ Object
Invoice PDF configuration.
1227 1228 1229 |
# File 'lib/stripe/resources/payment_link.rb', line 1227 def invoice_data @invoice_data end |