Class: Payment
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Payment
- Includes:
- AASM
- Defined in:
- app/models/payment.rb
Overview
Table Definition ###########################
create_table :payments do |t|
t.column :success, :boolean
t.column :reference_number, :string
t.column :financial_txn_id, :integer
t.column :current_state, :string
t.column :authorization_code, :string
t.string :external_identifier
t.
end
add_index :payments, :financial_txn_id