Class: Stripe::InvoiceCreatePreviewParams::ScheduleDetails::Amendment::ItemAction::Remove

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/invoice_create_preview_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(price: nil) ⇒ Remove

Returns a new instance of Remove.



620
621
622
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 620

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

Instance Attribute Details

#priceObject

ID of a price to remove.



618
619
620
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 618

def price
  @price
end