Class: Stripe::Subscription::PendingInvoiceItemInterval
- Inherits:
-
Stripe::StripeObject
- Object
- Stripe::StripeObject
- Stripe::Subscription::PendingInvoiceItemInterval
- Defined in:
- lib/stripe/resources/subscription.rb
Constant Summary
Constants inherited from Stripe::StripeObject
Stripe::StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#interval ⇒ Object
readonly
Specifies invoicing frequency.
-
#interval_count ⇒ Object
readonly
The number of intervals between invoices.
Attributes inherited from Stripe::StripeObject
Method Summary
Methods inherited from Stripe::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
#interval ⇒ Object (readonly)
Specifies invoicing frequency. Either ‘day`, `week`, `month` or `year`.
174 175 176 |
# File 'lib/stripe/resources/subscription.rb', line 174 def interval @interval end |
#interval_count ⇒ Object (readonly)
The number of intervals between invoices. For example, ‘interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
176 177 178 |
# File 'lib/stripe/resources/subscription.rb', line 176 def interval_count @interval_count end |