Class: Stripe::Quote::Computed::Recurring
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Quote::Computed::Recurring
- 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.
-
#interval ⇒ Object
readonly
The frequency at which a subscription is billed.
-
#interval_count ⇒ Object
readonly
The number of intervals (specified in the ‘interval` attribute) between subscription billings.
-
#total_details ⇒ Object
readonly
Attribute for field total_details.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, 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.
123 124 125 |
# File 'lib/stripe/resources/quote.rb', line 123 def amount_subtotal @amount_subtotal end |
#amount_total ⇒ Object (readonly)
Total after discounts and taxes are applied.
125 126 127 |
# File 'lib/stripe/resources/quote.rb', line 125 def amount_total @amount_total end |
#interval ⇒ Object (readonly)
The frequency at which a subscription is billed. One of ‘day`, `week`, `month` or `year`.
127 128 129 |
# File 'lib/stripe/resources/quote.rb', line 127 def interval @interval end |
#interval_count ⇒ Object (readonly)
The number of intervals (specified in the ‘interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.
129 130 131 |
# File 'lib/stripe/resources/quote.rb', line 129 def interval_count @interval_count end |
#total_details ⇒ Object (readonly)
Attribute for field total_details
131 132 133 |
# File 'lib/stripe/resources/quote.rb', line 131 def total_details @total_details end |
Class Method Details
.field_remappings ⇒ Object
137 138 139 |
# File 'lib/stripe/resources/quote.rb', line 137 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
133 134 135 |
# File 'lib/stripe/resources/quote.rb', line 133 def self.inner_class_types @inner_class_types = { total_details: TotalDetails } end |