Class: Stripe::SetupIntentUpdateParams::SetupDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SetupIntentUpdateParams::SetupDetails
- Defined in:
- lib/stripe/params/setup_intent_update_params.rb
Defined Under Namespace
Classes: Benefit
Instance Attribute Summary collapse
-
#benefit ⇒ Object
Benefit details for this SetupIntent.
-
#location ⇒ Object
The ID of the Payment Location for this SetupIntent.
Instance Method Summary collapse
-
#initialize(benefit: nil, location: nil) ⇒ SetupDetails
constructor
A new instance of SetupDetails.
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.
1317 1318 1319 1320 |
# File 'lib/stripe/params/setup_intent_update_params.rb', line 1317 def initialize(benefit: nil, location: nil) @benefit = benefit @location = location end |
Instance Attribute Details
#benefit ⇒ Object
Benefit details for this SetupIntent
1313 1314 1315 |
# File 'lib/stripe/params/setup_intent_update_params.rb', line 1313 def benefit @benefit end |
#location ⇒ Object
The ID of the Payment Location for this SetupIntent.
1315 1316 1317 |
# File 'lib/stripe/params/setup_intent_update_params.rb', line 1315 def location @location end |