Sha256: 287e418de6bf6a07e46a615d31366727a1bc55d59e4a2288657243fb96618385

Contents?: true

Size: 503 Bytes

Versions: 41

Compression:

Stored size: 503 Bytes

Contents

module Caboose
  class OrderTransaction < ActiveRecord::Base
    self.table_name  = 'store_order_transactions'
    self.primary_key = 'id'
    
    belongs_to :order
    attr_accessible :id,    
      :order_id,
      :transaction_id,
      :transaction_type,
      :amount,
      :auth_code,
      :date_processed,
      :response_code,
      :success 
        
    TYPE_AUTHORIZE = 'auth'
    TYPE_CAPTURE   = 'capture'
    TYPE_VOID      = 'void'
    TYPE_REFUND    = 'refund'
    
  end
end
   
    

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
caboose-cms-0.5.106 app/models/caboose/order_transaction.rb
caboose-cms-0.5.105 app/models/caboose/order_transaction.rb
caboose-cms-0.5.104 app/models/caboose/order_transaction.rb
caboose-cms-0.5.103 app/models/caboose/order_transaction.rb
caboose-cms-0.5.102 app/models/caboose/order_transaction.rb
caboose-cms-0.5.101 app/models/caboose/order_transaction.rb
caboose-cms-0.5.100 app/models/caboose/order_transaction.rb
caboose-cms-0.5.99 app/models/caboose/order_transaction.rb
caboose-cms-0.5.98 app/models/caboose/order_transaction.rb
caboose-cms-0.5.97 app/models/caboose/order_transaction.rb
caboose-cms-0.5.96 app/models/caboose/order_transaction.rb
caboose-cms-0.5.95 app/models/caboose/order_transaction.rb
caboose-cms-0.5.94 app/models/caboose/order_transaction.rb
caboose-cms-0.5.93 app/models/caboose/order_transaction.rb
caboose-cms-0.5.92 app/models/caboose/order_transaction.rb
caboose-cms-0.5.91 app/models/caboose/order_transaction.rb
caboose-cms-0.5.90 app/models/caboose/order_transaction.rb
caboose-cms-0.5.89 app/models/caboose/order_transaction.rb
caboose-cms-0.5.88 app/models/caboose/order_transaction.rb
caboose-cms-0.5.87 app/models/caboose/order_transaction.rb