Class: Stripe::QuoteCreateParams::Line::Action::RemoveItem

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

Returns a new instance of RemoveItem.



252
253
254
# File 'lib/stripe/params/quote_create_params.rb', line 252

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

Instance Attribute Details

#priceObject

ID of a price to remove.



250
251
252
# File 'lib/stripe/params/quote_create_params.rb', line 250

def price
  @price
end