Class: Stripe::PaymentLinkService::UpdateParams::InvoiceCreation
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkService::UpdateParams::InvoiceCreation
- Defined in:
- lib/stripe/services/payment_link_service.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.
1019 1020 1021 1022 |
# File 'lib/stripe/services/payment_link_service.rb', line 1019 def initialize(enabled: nil, invoice_data: nil) @enabled = enabled @invoice_data = invoice_data end |
Instance Attribute Details
#enabled ⇒ Object
Whether the feature is enabled
1015 1016 1017 |
# File 'lib/stripe/services/payment_link_service.rb', line 1015 def enabled @enabled end |
#invoice_data ⇒ Object
Invoice PDF configuration.
1017 1018 1019 |
# File 'lib/stripe/services/payment_link_service.rb', line 1017 def invoice_data @invoice_data end |