mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
* updated rubocop * manual changes * generated changes * remove commented * Add typed: true annotations to rbi * regenerate --------- Co-authored-by: David Brownman <xavdid@stripe.com>
17 lines
556 B
Ruby
17 lines
556 B
Ruby
# File generated from our OpenAPI spec
|
|
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
class PaymentIntentCancelParams < Stripe::RequestParams
|
|
# Reason for canceling this PaymentIntent. Possible values are: `duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`
|
|
attr_accessor :cancellation_reason
|
|
# Specifies which fields in the response should be expanded.
|
|
attr_accessor :expand
|
|
|
|
def initialize(cancellation_reason: nil, expand: nil)
|
|
@cancellation_reason = cancellation_reason
|
|
@expand = expand
|
|
end
|
|
end
|
|
end
|