HostTransaction

public final class HostTransaction

The transaction information. This will have multiple components describing the payment, instrument/source, merchant and the sales context.

Fields

mCashbackAmount

final String mCashbackAmount

mCreatedDateTime

final String mCreatedDateTime

mCurrencyCode

final String mCurrencyCode

mDiscountAmount

final String mDiscountAmount

mGratuityAmount

final String mGratuityAmount

mMerchantId

final String mMerchantId

mPoiDeviceType

final String mPoiDeviceType

mPoiId

final String mPoiId

mPoiName

final String mPoiName

mPoiSerialNumber

final String mPoiSerialNumber

mReferenceId

final String mReferenceId

mTaxAmount

final String mTaxAmount

mTotalAmount

final String mTotalAmount

mTransactionType

final TransactionType mTransactionType

Constructors

HostTransaction

public HostTransaction(String referenceId, TransactionType transactionType, String currencyCode, String totalAmount, String gratuityAmount, String cashbackAmount, String discountAmount, String taxAmount, String createdDateTime, String merchantId, String poiId, String poiName, String poiSerialNumber, String poiDeviceType)

Methods

getCashbackAmount

public String getCashbackAmount()

The amount of cashback. This is optional.

getCreatedDateTime

public String getCreatedDateTime()

The time that the transaction occured at the POI/Terminal, this is referred to as the acceptor datetime in ISO8583 specification DE 12. In some cases this may reflect the date time when the transaction was received at a client Gateway or Switch where this is not managed by Verifone. This format should include the necessary timezone information

getCurrencyCode

public String getCurrencyCode()

Three-letter ISO 4217 alphabetical currency code. e.g. USD. Values correspond to ISO 4217.

getDiscountAmount

public String getDiscountAmount()

The discount amount for the total quantity.

getGratuityAmount

public String getGratuityAmount()

The amount of gratuity or Tip if applicable.

getMerchantId

public String getMerchantId()

The Code identifying the card acceptor as issued by the Acquiring Institution. This may not be unique across institutions. Also referred to as the MID. ISO8583 - DE 42

getPoiDeviceType

public String getPoiDeviceType()

The device type where transaction was captured, if known. This could be a model number or other description e.g. VX690.

getPoiId

public String getPoiId()

The Code identifying the card accepting device as issued by the Acquiring Institution. This may not be unique across institutions hence the use of a unique surrogate key. Also referred to as the TID. ISO8583 - DE 41 or Terminal ID. This value will be validated against the authenticated Identity. So must match the range of identifiers that have been allocated to the Merchant Entity who authenticates to the API.

getPoiName

public String getPoiName()

The identifier used to represent this POI from an estate management perspective. This is not the same as the TID which will be derived from the relationship with an Acquirer Agreement.

getPoiSerialNumber

public String getPoiSerialNumber()

A value to indicate the device serial number where known.

getReferenceId

public String getReferenceId()

A client (user friendly) identifier for the transaction generated at the outset of a business event. The format will be dependent on the calling system. A reference supplied by the system retaining the original source information and used to assist in locating that transaction or a copy of the transaction. This value is critical in matching values that are sent to other Payment processors or Acquirers. This value would correspond to the ISO8583 specification as RRN in attribute DE 37, which limits the value to being an alphanumeric value 12 characters.

getTaxAmount

public String getTaxAmount()

The tax for this merchandise based on total quantity.

getTotalAmount

public String getTotalAmount()

A amount type represented as money for all financial-related fields, such as balance, payment due…

getTransactionType

public TransactionType getTransactionType()

A type indicator for the main operation or service that was performed as part of the transaction event. See TransactionType

toString

public String toString()