Name

Levies — specify levy sections to apply

SYNOPSIS

levy_name...

DESCRIPTION

Specify Levy sections that are to be applied.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Defining Levies

Levy    salestax    description    "Sales Tax (%s)"
Levy    salestax    keep_if_zero   1
Levy    salestax    type           salestax
Levy    salestax    sort           002

Levy    shipping    keep_if_zero   0
Levy    shipping    type           shipping
Levy    shipping    mode_variable  mv_shipmode
Levy    shipping    mode           USPS

Levies  salestax shipping

NOTES

See the levy glossary entry for a complete discussion.

AVAILABILITY

Levies is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 707

['Levies',        'array',           ''],

Source: lib/Vend/Config.pm
Line 3763 (context shows lines 3763-3783)

sub parse_array {
my($item,$settings) = @_;
return '' unless $settings;
my(@setting) = grep /\S/, split /[\s,]+/, $settings;

my $c;

if(defined $C) {
  $c = $C->{$item} || [];
}
else {
  no strict 'refs';
  $c = ${"Global::$item"} || [];
}

for (@setting) {
  check_legal($item, $_);
  push @{$c}, $_;
}
$c;
}

AUTHORS

Interchange Development Group

SEE ALSO

levy-list(7ic), Levy(7ic)

DocBook! Interchange!