Class: Stripe::V2::Billing::IntentCreateParams::Action::Deactivate::PricingPlanSubscriptionDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/intent_create_params.rb

Defined Under Namespace

Classes: Overrides

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(overrides: nil, pricing_plan_subscription: nil) ⇒ PricingPlanSubscriptionDetails

Returns a new instance of PricingPlanSubscriptionDetails.



112
113
114
115
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 112

def initialize(overrides: nil, pricing_plan_subscription: nil)
  @overrides = overrides
  @pricing_plan_subscription = pricing_plan_subscription
end

Instance Attribute Details

#overridesObject

Allows users to override the partial period behavior.



108
109
110
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 108

def overrides
  @overrides
end

#pricing_plan_subscriptionObject

ID of the pricing plan subscription to deactivate.



110
111
112
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 110

def pricing_plan_subscription
  @pricing_plan_subscription
end