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.



845
846
847
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 845

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

Instance Attribute Details

#priceObject

ID of a price to remove.



843
844
845
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 843

def price
  @price
end