Class: Stripe::SetupIntentUpdateParams::SetupDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/setup_intent_update_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.



1336
1337
1338
1339
# File 'lib/stripe/params/setup_intent_update_params.rb', line 1336

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

Instance Attribute Details

#benefitObject

Benefit details for this SetupIntent



1332
1333
1334
# File 'lib/stripe/params/setup_intent_update_params.rb', line 1332

def benefit
  @benefit
end

#locationObject

The ID of the Payment Location for this SetupIntent.



1334
1335
1336
# File 'lib/stripe/params/setup_intent_update_params.rb', line 1334

def location
  @location
end