mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-17 00:03:02 -04:00
32 lines
1.1 KiB
Ruby
32 lines
1.1 KiB
Ruby
# File generated from our OpenAPI spec
|
|
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
module Terminal
|
|
# Returns data collected by Terminal readers. This data is only stored for 24 hours.
|
|
class ReaderCollectedData < APIResource
|
|
OBJECT_NAME = "terminal.reader_collected_data"
|
|
def self.object_name
|
|
"terminal.reader_collected_data"
|
|
end
|
|
|
|
class Magstripe < Stripe::StripeObject
|
|
# The raw magstripe data collected by the reader.
|
|
attr_reader :data
|
|
end
|
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
attr_reader :created
|
|
# Unique identifier for the object.
|
|
attr_reader :id
|
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
attr_reader :livemode
|
|
# The magstripe data collected by the reader.
|
|
attr_reader :magstripe
|
|
# String representing the object's type. Objects of the same type share the same value.
|
|
attr_reader :object
|
|
# The type of data collected by the reader.
|
|
attr_reader :type
|
|
end
|
|
end
|
|
end
|