NAME
Interchange6::Schema::Result::PriceModifier
DESCRIPTION
Use cases:
group pricing based on roles
tier pricing (volume discounts)
promotion/action pricing using start_date and end_date
ACCESSORS
price_modifiers_id
data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
primary key
sku
data_type: 'varchar'
is_foreign_key: 1
is_nullable: 0
size: 64
quantity
data_type: 'integer'
default_value: 0
is_nullable: 0
roles_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
price
data_type: 'numeric'
default_value: 0.0
is_nullable: 0
size: [10,2]
start_date
data_type: 'date'
is_nullable: 1
end_date
data_type: 'date'
is_nullable: 1
RELATIONS
role
Type: belongs_to
Related object: Interchange6::Schema::Result::Role
product
Type: belongs_to
Related object: Interchange6::Schema::Result::Product