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¶
mCreatedDateTime¶
mCurrencyCode¶
mDiscountAmount¶
mGratuityAmount¶
mMerchantId¶
mPoiDeviceType¶
mPoiId¶
mPoiName¶
mPoiSerialNumber¶
mReferenceId¶
mTaxAmount¶
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¶
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¶
getDiscountAmount¶
getGratuityAmount¶
getMerchantId¶
getPoiDeviceType¶
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¶
getPoiSerialNumber¶
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¶
getTotalAmount¶
getTransactionType¶
-
public TransactionType
getTransactionType
()¶ A type indicator for the main operation or service that was performed as part of the transaction event. See
TransactionType