-
Introduction
-
Commands & Actions
-
Transaction Sequence
-
MasterPass
-
Visa Checkout
-
Foreign Exchange
-
Parameter Description & Action
-
Gateway Domain Knowledge
-
Transaction Result Codes
-
Out Of Band
-
Payment Facilitator
-
Tokenization
-
SOAP API
-
Pos Device Intergration
-
Acquire Contact Information
-
3D Secure
-
Enterprise API Samples
-
Card on File
-
Additional Data Transactions
Fleet cards facilitate the tracking of costs and managing statistical information of a fleet of vehicles.
A Fleet transaction refer to special processing for a Fleet card.
Fleet transactions are currently only available within distributor Nedbank.
If a fleet card is received with other distributors, then the fleet specific parameters are ignored.
Coding for Fleetcards
The following optional input parameters are Fleet specific per transaction:
- CustomerReferenceIdentifier
The following optional input parameters are Fleet specific per Line item:
- ProductCode
- Quantity
- QuantityDecimalPlaces
- UnitCost
The latest available values of the ProductCode field are obtained via the “Inventory” download command (See section 22). Only use the ProductCodes with Type='Fleet'. The list at the time of writing is given in 7.4
Since Line items are repeated, the advanced Enterprise methods openElement and closeElement must be used. The following is a code snippet in C#:
enterprise.setTag("CustomerReferenceIdentifier", customerReferenceIdentifier);
foreach (DataRow dr in myTable.Rows)
{
enterprise.openElement("LineItem");
enterprise.setTag("ProductCode", dr["Product Code"]);
enterprise.setTag("Quantity", dr["Quantity"]);
enterprise.setTag("QuantityDecimalPlaces", dr["QuantityDecimalPlaces"]);
enterprise.setTag("UnitCost", dr["Unit Cost"]);
enterprise.closeElement();
}