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>
22 lines
882 B
Ruby
22 lines
882 B
Ruby
# File generated from our OpenAPI spec
|
|
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
module Treasury
|
|
class DebitReversalCreateParams < Stripe::RequestParams
|
|
# Specifies which fields in the response should be expanded.
|
|
attr_accessor :expand
|
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
attr_accessor :metadata
|
|
# The ReceivedDebit to reverse.
|
|
attr_accessor :received_debit
|
|
|
|
def initialize(expand: nil, metadata: nil, received_debit: nil)
|
|
@expand = expand
|
|
@metadata = metadata
|
|
@received_debit = received_debit
|
|
end
|
|
end
|
|
end
|
|
end
|