Class: Stripe::PaymentIntentRetrieveParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentRetrieveParams
- Defined in:
- lib/stripe/params/payment_intent_retrieve_params.rb
Instance Attribute Summary collapse
-
#client_secret ⇒ Object
The client secret of the PaymentIntent.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(client_secret: nil, expand: nil) ⇒ PaymentIntentRetrieveParams
constructor
A new instance of PaymentIntentRetrieveParams.
Methods inherited from RequestParams
Constructor Details
#initialize(client_secret: nil, expand: nil) ⇒ PaymentIntentRetrieveParams
Returns a new instance of PaymentIntentRetrieveParams.
11 12 13 14 |
# File 'lib/stripe/params/payment_intent_retrieve_params.rb', line 11 def initialize(client_secret: nil, expand: nil) @client_secret = client_secret @expand = end |
Instance Attribute Details
#client_secret ⇒ Object
The client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source.
7 8 9 |
# File 'lib/stripe/params/payment_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/payment_intent_retrieve_params.rb', line 9 def @expand end |