Class: Stripe::V2::Billing::IntentService::CreateParams::Action::Deactivate
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentService::CreateParams::Action::Deactivate
- Defined in:
- lib/stripe/services/v2/billing/intent_service.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.
110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 110 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.
102 103 104 |
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 102 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.
104 105 106 |
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 104 def effective_at @effective_at end |
#pricing_plan_subscription_details ⇒ Object
Details for deactivating a pricing plan subscription.
106 107 108 |
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 106 def pricing_plan_subscription_details @pricing_plan_subscription_details end |
#type ⇒ Object
Type of the action details.
108 109 110 |
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 108 def type @type end |