NAME

Business::Cart::Generic::Schema::Result::Order

ACCESSORS

id

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

billing_address_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

customer_address_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

customer_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

delivery_address_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

date_added

data_type: 'timestamp'
is_nullable: 0

date_completed

data_type: 'timestamp'
default_value: '1900-01-01 00:00:00'
is_nullable: 0

date_modified

data_type: 'timestamp'
is_nullable: 0

order_status_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

payment_method_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

RELATIONS

order_histories

Type: has_many

Related object: Business::Cart::Generic::Schema::Result::OrderHistory

order_items

Type: has_many

Related object: Business::Cart::Generic::Schema::Result::OrderItem

delivery_address

Type: belongs_to

Related object: Business::Cart::Generic::Schema::Result::StreetAddress

payment_method

Type: belongs_to

Related object: Business::Cart::Generic::Schema::Result::PaymentMethod

customer_address

Type: belongs_to

Related object: Business::Cart::Generic::Schema::Result::StreetAddress

billing_address

Type: belongs_to

Related object: Business::Cart::Generic::Schema::Result::StreetAddress

order_status

Type: belongs_to

Related object: Business::Cart::Generic::Schema::Result::OrderStatuse

customer

Type: belongs_to

Related object: Business::Cart::Generic::Schema::Result::Customer