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
When the invoice will be collected.
-
#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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
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.
243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 243 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.
233 234 235 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 233 def cancellation_details @cancellation_details end |
#collect_at ⇒ Object
When the invoice will be collected. If not specified, the default behavior is on_effective_at.
235 236 237 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 235 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.
237 238 239 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 237 def effective_at @effective_at end |
#pricing_plan_subscription_details ⇒ Object
Details for deactivating a pricing plan subscription.
239 240 241 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 239 def pricing_plan_subscription_details @pricing_plan_subscription_details end |
#type ⇒ Object
Type of the action details.
241 242 243 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 241 def type @type end |