Class: Stripe::V2::Billing::IntentCreateParams::Action::Deactivate
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentCreateParams::Action::Deactivate
- Defined in:
- lib/stripe/params/v2/billing/intent_create_params.rb
Defined Under Namespace
Classes: CancellationDetails, EffectiveAt, PricingPlanSubscriptionDetails
Instance Attribute Summary collapse
-
#cancellation_details ⇒ Object
Details about why the cancellation is being requested.
-
#collect_at ⇒ Object
Allows users to override the collect at behavior.
-
#effective_at ⇒ Object
When the deactivate action will take effect.
-
#pricing_plan_subscription_details ⇒ Object
Details for deactivating a pricing plan subscription.
-
#type ⇒ Object
Type of the action details.
Instance Method Summary collapse
-
#initialize(cancellation_details: nil, collect_at: nil, effective_at: nil, pricing_plan_subscription_details: nil, type: nil) ⇒ Deactivate
constructor
A new instance of Deactivate.
Methods inherited from RequestParams
Constructor Details
#initialize(cancellation_details: nil, collect_at: nil, effective_at: nil, pricing_plan_subscription_details: nil, type: nil) ⇒ Deactivate
Returns a new instance of Deactivate.
202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 202 def initialize( cancellation_details: nil, collect_at: nil, effective_at: nil, pricing_plan_subscription_details: nil, type: nil ) @cancellation_details = cancellation_details @collect_at = collect_at @effective_at = effective_at @pricing_plan_subscription_details = pricing_plan_subscription_details @type = type end |
Instance Attribute Details
#cancellation_details ⇒ Object
Details about why the cancellation is being requested.
192 193 194 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 192 def cancellation_details @cancellation_details end |
#collect_at ⇒ Object
Allows users to override the collect at behavior.
194 195 196 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 194 def collect_at @collect_at end |
#effective_at ⇒ Object
When the deactivate action will take effect. If not specified, the default behavior is on_reserve.
196 197 198 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 196 def effective_at @effective_at end |
#pricing_plan_subscription_details ⇒ Object
Details for deactivating a pricing plan subscription.
198 199 200 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 198 def pricing_plan_subscription_details @pricing_plan_subscription_details end |
#type ⇒ Object
Type of the action details.
200 201 202 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 200 def type @type end |