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.



351
352
353
# File 'lib/stripe/params/quote_create_params.rb', line 351

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

Instance Attribute Details

#priceObject

ID of a price to remove.



349
350
351
# File 'lib/stripe/params/quote_create_params.rb', line 349

def price
  @price
end