Import template field properties

The following fields are used to configure the JExpr properties of a flexible rate card template.

Skip Expression
Values: true, false
Purpose: (Optional) Defines an expression that if true will cause the importer to skip the specified entry.
Example:
lineNumber <= 1
The header line will be skipped.
Invalidation Expression
Values: true, false
Purpose: (Optional) Defines an expression that if true will determine that the CSV file is invalid and cause the import to be aborted.
Example:
$$ < 15
The import will abort if any line has less than 15 columns.
Destination Name
Format: String
Purpose: Specifies the name of the destination that the tariff represents.
Example:
$1
The destination name is the first column.
Destination Prefix
Format: String
Purpose: Specifies the prefix of numbers that a CDR must have to use this tariff.
Example:
$2
The destination prefix is the second column.
Tariff Type Name
Format: String
Purpose: Specifies the name of the tariff type to use for this tariff. If this tariff type does not exist the import will be aborted.
Example:
$3
The tariff type name is the third column.
Tariff Flag Fall
Format: BigDecimal
Purpose: Specifies the flag fall amount to use for this tariff.
Example:
$4::BigDecimal
The tariff flag fall is the fourth column.
Tariff Rate per Charging Unit
Format: BigDecimal
Purpose: Specifies the rate per charging unit to use for this tariff.
Example:
$5::BigDecimal
The tariff rate per charging unit is the fifth column.
Tariff Charging Unit Size
Format: Integer
Purpose: Specifies the charging unit size to use for this tariff.
Example:
60
Indicates that the Tariff Rate per Charging Unit is a per minute rate.
Tariff Charging Increment
Format: Integer
Purpose: Specifies the charging increment to use for this tariff.
Example:
30
Indicates that calls are charged in 30 second increments.
Tariff Minimum Charge
Format: BigDecimal
Purpose: (Optional) Specifies the minimum charge to use for this tariff.
Example:
$6::BigDecimal
The tariff minimum charge is the sixth column.
Tariff Maximum Charge
Format: BigDecimal
Purpose: (Optional) Specifies the maximum charge to use for this tariff.
Example:
$7::BigDecimal
The tariff maximum charge is the seventh column.
Tariff Call Type
Format: CallType
Purpose: Specifies the call type to use for this tariff.
Example:
CallType.getVoice()
The tariff is categorised as ordinary voice call type.
Tariff Decimal Places
Format: Integer
Purpose: Specifies the number of decimal places to use for this tariff.
Example:
6
The tariff charge is displayed to 6 decimal places.
Tariff Rounding Mode
Format: RoundingType
Purpose: Specifies the roundingType to use for this tariff.
Example:
RoundingType.getHalfUp()
The tariff is rounded to it's nearest neighbour.