Quote

Program ID

MetraPipeline.QuotePlugIn.1

Description

This plug-in determines the amount specified in the credit card pre-authorization transaction.  It determines the amount in one of three ways:

To change the plug-in property values, edit the config/pipeline/quote/quote.xml file.

Required input properties

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.

Required output properties

Tag name

Value type

Description

_Amount

decimal

This is the amount specified in the credit card authorization transaction.

Additional configuration tags

None.

Configuration example

<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>