Class: Stripe::PaymentPlanCreateParams::CollectsOn::InvoiceDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_plan_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(invoice: nil) ⇒ InvoiceDetails

Returns a new instance of InvoiceDetails.



11
12
13
# File 'lib/stripe/params/payment_plan_create_params.rb', line 11

def initialize(invoice: nil)
  @invoice = invoice
end

Instance Attribute Details

#invoiceObject

The ID of the invoice.



9
10
11
# File 'lib/stripe/params/payment_plan_create_params.rb', line 9

def invoice
  @invoice
end