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

#to_h

Constructor Details

#initialize(price: nil) ⇒ RemoveItem

Returns a new instance of RemoveItem.



248
249
250
# File 'lib/stripe/params/quote_create_params.rb', line 248

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

Instance Attribute Details

#priceObject

ID of a price to remove.



246
247
248
# File 'lib/stripe/params/quote_create_params.rb', line 246

def price
  @price
end