mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-05 00:02:50 -04:00
* 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
23 lines
785 B
Ruby
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
|