Class: Stripe::SetupIntentConfirmParams::SetupDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/setup_intent_confirm_params.rb

Defined Under Namespace

Classes: Benefit

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(benefit: nil, location: nil) ⇒ SetupDetails

Returns a new instance of SetupDetails.



1359
1360
1361
1362
# File 'lib/stripe/params/setup_intent_confirm_params.rb', line 1359

def initialize(benefit: nil, location: nil)
  @benefit = benefit
  @location = location
end

Instance Attribute Details

#benefitObject

Benefit details for this SetupIntent



1355
1356
1357
# File 'lib/stripe/params/setup_intent_confirm_params.rb', line 1355

def benefit
  @benefit
end

#locationObject

The ID of the Payment Location for this SetupIntent.



1357
1358
1359
# File 'lib/stripe/params/setup_intent_confirm_params.rb', line 1357

def location
  @location
end