Class: Stripe::SetupIntentRetrieveParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/setup_intent_retrieve_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(client_secret: nil, expand: nil) ⇒ SetupIntentRetrieveParams

Returns a new instance of SetupIntentRetrieveParams.



11
12
13
14
# File 'lib/stripe/params/setup_intent_retrieve_params.rb', line 11

def initialize(client_secret: nil, expand: nil)
  @client_secret = client_secret
  @expand = expand
end

Instance Attribute Details

#client_secretObject

The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.



7
8
9
# File 'lib/stripe/params/setup_intent_retrieve_params.rb', line 7

def client_secret
  @client_secret
end

#expandObject

Specifies which fields in the response should be expanded.



9
10
11
# File 'lib/stripe/params/setup_intent_retrieve_params.rb', line 9

def expand
  @expand
end