stripe-ruby/lib/stripe/resources/reserve_transaction.rb
helenye-stripe dc5174725f
Add RBI annotations for fields and params (#1559)
* Introduce types to ruby

* rubocop

* forgot these files

* other request methods

* more tests, fix for raw request

* Add README entry for types

* rebase and regen
2025-03-31 14:29:41 -07:00

23 lines
785 B
Ruby

# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
class ReserveTransaction < APIResource
OBJECT_NAME = "reserve_transaction"
def self.object_name
"reserve_transaction"
end
# Attribute for field amount
attr_reader :amount
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
attr_reader :currency
# An arbitrary string attached to the object. Often useful for displaying to users.
attr_reader :description
# Unique identifier for the object.
attr_reader :id
# String representing the object's type. Objects of the same type share the same value.
attr_reader :object
end
end