Class: Stripe::Quote::Computed::Upfront
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Quote::Computed::Upfront
- Defined in:
- lib/stripe/resources/quote.rb
Defined Under Namespace
Classes: TotalDetails
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#amount_subtotal ⇒ Object
readonly
Total before any discounts or taxes are applied.
-
#amount_total ⇒ Object
readonly
Total after discounts and taxes are applied.
-
#line_items ⇒ Object
readonly
The line items that will appear on the next invoice after this quote is accepted.
-
#total_details ⇒ Object
readonly
Attribute for field total_details.
Attributes inherited from StripeObject
Method Summary
Methods inherited from StripeObject
#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#amount_subtotal ⇒ Object (readonly)
Total before any discounts or taxes are applied.
124 125 126 |
# File 'lib/stripe/resources/quote.rb', line 124 def amount_subtotal @amount_subtotal end |
#amount_total ⇒ Object (readonly)
Total after discounts and taxes are applied.
126 127 128 |
# File 'lib/stripe/resources/quote.rb', line 126 def amount_total @amount_total end |
#line_items ⇒ Object (readonly)
The line items that will appear on the next invoice after this quote is accepted. This does not include pending invoice items that exist on the customer but may still be included in the next invoice.
128 129 130 |
# File 'lib/stripe/resources/quote.rb', line 128 def line_items @line_items end |
#total_details ⇒ Object (readonly)
Attribute for field total_details
130 131 132 |
# File 'lib/stripe/resources/quote.rb', line 130 def total_details @total_details end |