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.
1068 1069 1070 1071 |
# File 'lib/stripe/services/payment_link_service.rb', line 1068 def initialize(enabled: nil, invoice_data: nil) @enabled = enabled @invoice_data = invoice_data end |
Instance Attribute Details
#enabled ⇒ Object
Whether the feature is enabled
1063 1064 1065 |
# File 'lib/stripe/services/payment_link_service.rb', line 1063 def enabled @enabled end |
#invoice_data ⇒ Object
Invoice PDF configuration.
1066 1067 1068 |
# File 'lib/stripe/services/payment_link_service.rb', line 1066 def invoice_data @invoice_data end |