Class: Stripe::SetupIntentCreateParams::SetupDetails

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



1370
1371
1372
1373
# File 'lib/stripe/params/setup_intent_create_params.rb', line 1370

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

Instance Attribute Details

#benefitObject

Benefit details for this SetupIntent



1366
1367
1368
# File 'lib/stripe/params/setup_intent_create_params.rb', line 1366

def benefit
  @benefit
end

#locationObject

The ID of the Payment Location for this SetupIntent.



1368
1369
1370
# File 'lib/stripe/params/setup_intent_create_params.rb', line 1368

def location
  @location
end