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: BillingDetails, EffectiveAt, PricingPlanSubscriptionDetails
Instance Attribute Summary collapse
-
#billing_details ⇒ Object
Configuration for the billing details.
-
#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(billing_details: 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(billing_details: nil, effective_at: nil, pricing_plan_subscription_details: nil, type: nil) ⇒ Deactivate
Returns a new instance of Deactivate.
93 94 95 96 97 98 99 100 101 102 103 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 93 def initialize( billing_details: nil, effective_at: nil, pricing_plan_subscription_details: nil, type: nil ) @billing_details = billing_details @effective_at = effective_at @pricing_plan_subscription_details = pricing_plan_subscription_details @type = type end |
Instance Attribute Details
#billing_details ⇒ Object
Configuration for the billing details.
85 86 87 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 85 def billing_details @billing_details end |
#effective_at ⇒ Object
When the deactivate action will take effect. If not specified, the default behavior is on_reserve.
87 88 89 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 87 def effective_at @effective_at end |
#pricing_plan_subscription_details ⇒ Object
Details for deactivating a pricing plan subscription.
89 90 91 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 89 def pricing_plan_subscription_details @pricing_plan_subscription_details end |
#type ⇒ Object
Type of the action details.
91 92 93 |
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 91 def type @type end |