Class: Stripe::SetupIntentCancelParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SetupIntentCancelParams
- Defined in:
- lib/stripe/params/setup_intent_cancel_params.rb
Instance Attribute Summary collapse
-
#cancellation_reason ⇒ Object
Reason for canceling this SetupIntent.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(cancellation_reason: nil, expand: nil) ⇒ SetupIntentCancelParams
constructor
A new instance of SetupIntentCancelParams.
Methods inherited from RequestParams
Constructor Details
#initialize(cancellation_reason: nil, expand: nil) ⇒ SetupIntentCancelParams
Returns a new instance of SetupIntentCancelParams.
11 12 13 14 |
# File 'lib/stripe/params/setup_intent_cancel_params.rb', line 11 def initialize(cancellation_reason: nil, expand: nil) @cancellation_reason = cancellation_reason @expand = end |
Instance Attribute Details
#cancellation_reason ⇒ Object
Reason for canceling this SetupIntent. Possible values are: ‘abandoned`, `requested_by_customer`, or `duplicate`
7 8 9 |
# File 'lib/stripe/params/setup_intent_cancel_params.rb', line 7 def cancellation_reason @cancellation_reason end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
9 10 11 |
# File 'lib/stripe/params/setup_intent_cancel_params.rb', line 9 def @expand end |