Class: Stripe::QuoteUpdateParams::Line::Action::RemoveItem

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/quote_update_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) ⇒ RemoveItem

Returns a new instance of RemoveItem.



240
241
242
# File 'lib/stripe/params/quote_update_params.rb', line 240

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

Instance Attribute Details

#priceObject

ID of a price to remove.



238
239
240
# File 'lib/stripe/params/quote_update_params.rb', line 238

def price
  @price
end