Class: Stripe::V2::Billing::IntentCreateParams::Action::Modify
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentCreateParams::Action::Modify
- Defined in:
- lib/stripe/params/v2/billing/intent_create_params.rb
Defined Under Namespace
Classes: EffectiveAt, PricingPlanSubscriptionDetails
Instance Attribute Summary collapse
-
#collect_at ⇒ Object
Allows users to override the collect at behavior.
-
#effective_at ⇒ Object
When the modify action will take effect.
-
#pricing_plan_subscription_details ⇒ Object
Details for modifying a pricing plan subscription.
-
#type ⇒ Object
Type of the action details.
Instance Method Summary collapse
-
#initialize(collect_at: nil, effective_at: nil, pricing_plan_subscription_details: nil, type: nil) ⇒ Modify
constructor
A new instance of Modify.
Methods inherited from RequestParams
Constructor Details
#initialize(collect_at: nil, effective_at: nil, pricing_plan_subscription_details: nil, type: nil) ⇒ Modify
Returns a new instance of Modify.
220 221 222 223 224 225 226 227 228 229 230 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 220 def initialize( collect_at: nil, effective_at: nil, pricing_plan_subscription_details: nil, type: nil ) @collect_at = collect_at @effective_at = effective_at @pricing_plan_subscription_details = pricing_plan_subscription_details @type = type end |
Instance Attribute Details
#collect_at ⇒ Object
Allows users to override the collect at behavior.
212 213 214 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 212 def collect_at @collect_at end |
#effective_at ⇒ Object
When the modify action will take effect. If not specified, the default behavior is on_reserve.
214 215 216 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 214 def effective_at @effective_at end |
#pricing_plan_subscription_details ⇒ Object
Details for modifying a pricing plan subscription.
216 217 218 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 216 def pricing_plan_subscription_details @pricing_plan_subscription_details end |
#type ⇒ Object
Type of the action details.
218 219 220 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 218 def type @type end |