Class: Stripe::PaymentLinkCreateParams::InvoiceCreation
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::InvoiceCreation
- Defined in:
- lib/stripe/params/payment_link_create_params.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.
322 323 324 325 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 322 def initialize(enabled: nil, invoice_data: nil) @enabled = enabled @invoice_data = invoice_data end |
Instance Attribute Details
#enabled ⇒ Object
Whether the feature is enabled
318 319 320 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 318 def enabled @enabled end |
#invoice_data ⇒ Object
Invoice PDF configuration.
320 321 322 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 320 def invoice_data @invoice_data end |