Class: Stripe::V2::Billing::IntentCreateParams::Action::Modify

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

Defined Under Namespace

Classes: BillingDetails, EffectiveAt, PricingPlanSubscriptionDetails

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(billing_details: nil, effective_at: nil, pricing_plan_subscription_details: nil, type: nil) ⇒ Modify

Returns a new instance of Modify.



173
174
175
176
177
178
179
180
181
182
183
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 173

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_detailsObject

Configuration for the billing details.



165
166
167
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 165

def billing_details
  @billing_details
end

#effective_atObject

When the modify action will take effect. If not specified, the default behavior is on_reserve.



167
168
169
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 167

def effective_at
  @effective_at
end

#pricing_plan_subscription_detailsObject

Details for modifying a pricing plan subscription.



169
170
171
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 169

def pricing_plan_subscription_details
  @pricing_plan_subscription_details
end

#typeObject

Type of the action details.



171
172
173
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 171

def type
  @type
end