MetraPipeline.QuotePlugIn.1
This plug-in determines the amount specified in the credit card pre-authorization transaction. It determines the amount in one of three ways:
A flat rate specified by the CSR. This overrides the chargetype tag.
Global setting applied to pre-authorization transactions. To define the global setting, the flatrate property that is metered must be zero, the chargetype property must be set to flat rate, and the flatamount property must be set to global setting.
Calculate an amount. The calculation is schedulatedduration * numberconnections * per minute. To do this, the chargetype must be set to calculate and the flatrate property must be set to zero. If these conditions are true, then the plug-in will look at the perminute property and use that value. The value of the perminute property defaults to ten cents per minute.
To change the plug-in property values, edit the config/pipeline/quote/quote.xml file.
Tag name |
Value type |
Description |
csrassignedflatrate |
decimal |
An amount specified by the CSR. This plug-in ignores the global pre-authorization setting and does not calculate an amount when this tag has a value greater the 0.0. |
scheduledduration |
Integer |
Conference call duration in minutes. |
numberofconnections |
Integer |
Number of participants. |
chargetype |
String |
In absence of a CSR specified amount, this plug-in uses the value of this tag to determine whether to use a global setting or to calculate the amount. Supported values are flatrate and calculate. |
applyminimum |
Bool |
Set the pre-authorization amount to the minimum amount if the calculated falls below the minimum amount setting. Applies to calculated amount only. |
minimumamount |
decimal |
Minimum pre-authorization amount applied to calculated amounts. applyminimum must be set to TRUE to apply this value. |
perminute |
decimal |
Per minute value used in the estimation calculation. |
flatamount |
decimal |
Global setting used in all pre-authorization transactions. |
Tag name |
Value type |
Description |
_Amount |
decimal |
This is the amount specified in the credit card authorization transaction. |
None.
<configdata>
<csrassignedflatrate>flatrate</csrassignedflatrate>
<scheduledduration>scheduledduration</scheduledduration>
<numberconnections>numberconnections</numberconnections>
<transactionid>transactionid</transactionid>
<testsession>testsession</testsession>
<amount>_Amount</amount>
<chargetype>calculate</chargetype>
<applyminimum ptype="BOOL">FALSE</applyminimum>
<minimumamount ptype="decimal">0.0</minimumamount>
<perminute ptype="decimal">0.10</perminute>
<flatamount ptype="decimal">0</flatamount>
</configdata>