Class: Stripe::PaymentIntentService::CancelParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentService::CancelParams
- Defined in:
- lib/stripe/services/payment_intent_service.rb
Instance Attribute Summary collapse
-
#cancellation_reason ⇒ Object
Reason for canceling this PaymentIntent.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(cancellation_reason: nil, expand: nil) ⇒ CancelParams
constructor
A new instance of CancelParams.
Methods inherited from RequestParams
Constructor Details
#initialize(cancellation_reason: nil, expand: nil) ⇒ CancelParams
Returns a new instance of CancelParams.
4691 4692 4693 4694 |
# File 'lib/stripe/services/payment_intent_service.rb', line 4691 def initialize(cancellation_reason: nil, expand: nil) @cancellation_reason = cancellation_reason @expand = end |
Instance Attribute Details
#cancellation_reason ⇒ Object
Reason for canceling this PaymentIntent. Possible values are: ‘duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`
4687 4688 4689 |
# File 'lib/stripe/services/payment_intent_service.rb', line 4687 def cancellation_reason @cancellation_reason end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
4689 4690 4691 |
# File 'lib/stripe/services/payment_intent_service.rb', line 4689 def @expand end |