NAME

Interchange6::Schema::Result::PaymentOrder

TABLE: payment_orders

ACCESSORS

payment_orders_id

data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
sequence: 'payment_orders_payment_orders_id_seq'

payment_mode

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 32

payment_action

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 32

payment_id

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 32

auth_code

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 255

sessions_id

data_type: 'varchar'
is_foreign_key: 1
is_nullable: 0
size: 255

order_number

data_type: 'varchar'
is_foreign_key: 1
is_nullable: 1
size: 24

amount

data_type: 'numeric'
default_value: 0.0
is_nullable: 0
size: [11,2]

status

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 32

payment_sessions_id

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 255

payment_error_code

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 32

payment_error_message

data_type: 'text'
default_value: (empty string)
is_nullable: 0

created

data_type: 'datetime'
set_on_create: 1
is_nullable: 0

last_modified

data_type: 'datetime'
set_on_create: 1
set_on_update: 1
is_nullable: 0

PRIMARY KEY

RELATIONS

Order

Type: belongs_to

Related object: Interchange6::Schema::Result::Order

Session

Type: belongs_to

Related object: Interchange6::Schema::Result::Session