Class: Stripe::QuoteCreateParams::FromQuote
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::QuoteCreateParams::FromQuote
- Defined in:
- lib/stripe/params/quote_create_params.rb
Instance Attribute Summary collapse
-
#is_revision ⇒ Object
Whether this quote is a revision of the previous quote.
-
#quote ⇒ Object
The ‘id` of the quote that will be cloned.
Instance Method Summary collapse
-
#initialize(is_revision: nil, quote: nil) ⇒ FromQuote
constructor
A new instance of FromQuote.
Methods inherited from RequestParams
Constructor Details
#initialize(is_revision: nil, quote: nil) ⇒ FromQuote
Returns a new instance of FromQuote.
50 51 52 53 |
# File 'lib/stripe/params/quote_create_params.rb', line 50 def initialize(is_revision: nil, quote: nil) @is_revision = is_revision @quote = quote end |
Instance Attribute Details
#is_revision ⇒ Object
Whether this quote is a revision of the previous quote.
46 47 48 |
# File 'lib/stripe/params/quote_create_params.rb', line 46 def is_revision @is_revision end |
#quote ⇒ Object
The ‘id` of the quote that will be cloned.
48 49 50 |
# File 'lib/stripe/params/quote_create_params.rb', line 48 def quote @quote end |