Class: Stripe::V2::Billing::IntentService::CreateParams::Action::Modify
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::IntentService::CreateParams::Action::Modify
- 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 modify action will take effect.
-
#pricing_plan_subscription_details ⇒ Object
Details for modifying 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) ⇒ Modify
constructor
A new instance of Modify.
Methods inherited from RequestParams
Constructor Details
#initialize(billing_details: nil, effective_at: nil, pricing_plan_subscription_details: nil, type: nil) ⇒ Modify
Returns a new instance of Modify.
190 191 192 193 194 195 196 197 198 199 200 |
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 190 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.
182 183 184 |
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 182 def billing_details @billing_details end |
#effective_at ⇒ Object
When the modify action will take effect. If not specified, the default behavior is on_reserve.
184 185 186 |
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 184 def effective_at @effective_at end |
#pricing_plan_subscription_details ⇒ Object
Details for modifying a pricing plan subscription.
186 187 188 |
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 186 def pricing_plan_subscription_details @pricing_plan_subscription_details end |
#type ⇒ Object
Type of the action details.
188 189 190 |
# File 'lib/stripe/services/v2/billing/intent_service.rb', line 188 def type @type end |