Class: Stripe::ProductCatalog::TrialOfferCreateParams::Duration::Relative
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ProductCatalog::TrialOfferCreateParams::Duration::Relative
- Defined in:
- lib/stripe/params/product_catalog/trial_offer_create_params.rb
Instance Attribute Summary collapse
-
#iterations ⇒ Object
The number of recurring price’s interval to apply for the trial period.
Instance Method Summary collapse
-
#initialize(iterations: nil) ⇒ Relative
constructor
A new instance of Relative.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(iterations: nil) ⇒ Relative
Returns a new instance of Relative.
12 13 14 |
# File 'lib/stripe/params/product_catalog/trial_offer_create_params.rb', line 12 def initialize(iterations: nil) @iterations = iterations end |
Instance Attribute Details
#iterations ⇒ Object
The number of recurring price’s interval to apply for the trial period.
10 11 12 |
# File 'lib/stripe/params/product_catalog/trial_offer_create_params.rb', line 10 def iterations @iterations end |