stripe-ruby/lib/stripe/resources/reserve_transaction.rb
helenye-stripe bc1d5a8721
Add method parameter type classes to all resources and services (#1505)
* barebones request params

* fixes

* manual changes

* Generated changes

* Add search params

* manual change - update to cast params

* add more test

* add newliens (generated)
2024-12-20 10:39:59 -08:00

27 lines
789 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