Direct Payment Integrator V6 - Online Help
Direct Payment Integrator V6
Questions / Feedback?

FDMSLevel2 Component

Properties   Methods   Events   Configuration Settings   Errors  

The FDMSLevel2 component is a tool used to create Level2 Corporate Purchasing Card addendum aggregates, which can then be passed to the FDMSSETTLE component and settled.

Syntax

nsoftware.InPayDirect.Fdmslevel2

Remarks

The properties required to build a Level 2 addendum depends upon the value of the CardType property. The following tables indicate which properties are valid for what card type:

American Express

Visa

MasterCard

The following example illustrates how to add Level 2 data to a transaction to be settled:


  FDMSECommerce.Authorize()

  FDMSLevel2.CardType = ctVisa
  FDMSLevel2.CommercialCardType = FDMSECommerce.ResponseCommercialCard  
  FDMSLevel2.OrderDate = "060828" 'September 28th, 2006
  FDMSLevel2.FreightTaxAmount = "0"
  FDMSLevel2.FreightAmount = "600"
  FDMSLevel2.PurchaseIdentifier = "123456PURCHID"
  FDMSLevel2.InvoiceNumber = "CUSTCODE"
  FDMSLevel2.ShippedToZip = "90210"
  FDMSLevel2.ShippedFromZip = "90210"
  FDMSLevel2.TaxAmount = "120"

  FDMSSettle.DetailRecords.Add(New FDMSRecordType(FDMSECommerce.GetDetailAggregate(), FDMSLevel2.GetAddendum()))
  
	

Note that while Level 2 addendum data is only applicable to corporate purchasing cards, you may send Level 2 data for all Visa, Master Card, and American Express cards if you wish.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

CardTypeThe card type for which a Level 2 or Level 3 addendum will be created.
CommercialCardTypeIndicates the type of commercial card being settled.
DestinationCountryCountry the goods are to be shipped to.
DestinationStateState or province to which the goods are to be shipped.
DestinationZipThe zip code to which the commodity was shipped.
DiscountAmountAmount of any discount subtracted from the line item totals.
DutyAmountDuty fees (if any) for imported goods.
FreightAmountShipping charges associated with this transaction.
FreightTaxAmountPortion of the FreightAmount that is tax.
FreightTaxRateRate used to calculate the FreightTaxAmount .
InvoiceNumberCustomer Reference Identifier.
MerchantReferenceMerchant Reference Number.
MerchantTaxIdMerchant's government tax Id number.
MerchantTypeMasterCard merchant classification code.
OrderDateDate of the order in YYMMDD format.
PurchaseIdentifierOptional purchase order number assigned by the merchant.
ShippedFromZipZip code the goods are being shipped from.
TaxAmountSales tax charged in addition to the original TransactionAmount .

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

ConfigSets or retrieves a configuration setting .
GetAddendumReturns a Level 2 Purchasing card addendum based on the specified CardType .
ResetClears all properties to their default values.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

ErrorInformation about errors during data delivery.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

CodePageThe system code page used for Unicode to Multibyte translations.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0