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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(enabled: nil, invoice_data: nil) ⇒ InvoiceCreation
Returns a new instance of InvoiceCreation.
337 338 339 340 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 337 def initialize(enabled: nil, invoice_data: nil) @enabled = enabled @invoice_data = invoice_data end |
Instance Attribute Details
#enabled ⇒ Object
Whether the feature is enabled
333 334 335 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 333 def enabled @enabled end |
#invoice_data ⇒ Object
Invoice PDF configuration.
335 336 337 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 335 def invoice_data @invoice_data end |