Class: Stripe::SetupIntentRetrieveParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SetupIntentRetrieveParams
- Defined in:
- lib/stripe/params/setup_intent_retrieve_params.rb
Instance Attribute Summary collapse
-
#client_secret ⇒ Object
The client secret of the SetupIntent.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(client_secret: nil, expand: nil) ⇒ SetupIntentRetrieveParams
constructor
A new instance of SetupIntentRetrieveParams.
Methods inherited from RequestParams
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 = end |
Instance Attribute Details
#client_secret ⇒ Object
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 |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
9 10 11 |
# File 'lib/stripe/params/setup_intent_retrieve_params.rb', line 9 def end |