Class coresaletrack

CoreSaleTrack object used for MSR transactions.More…

#import <Core.h>

Inheritance diagram for CoreSaleTrack:

CoreSale CoreSaleTrackContactless

Instance Methods

(void) - setCardTypeBasedOnBin:
set card type based on bin provided More…
Instance Methods inherited from CoreSale
(void) - addTipWithAmount:
This method can be used to create tip object with amount.More…

Properties

NSString * ksn
This property represents KSN.More…
NSString * encryptedTrackData
This property represents encrypted track data.More…
Properties inherited from CoreSale
NSNumber * amount
This property represents amount.More…
NSString * orderId
This property represents order id.More…
NSNumber * autoReady
This property represents auto ready.More…
CoreTax * tax
This property represents tax.More…
CoreTip * tip
This property represents tip.More…
NSNumber * tipAmount
This property represents tip amount.More…
CoreSignature * signature
This property represents signature.More…
NSString * cardType
This property represents card type.More…
NSNumber * fallback
This property represents fallback.More…
NSString * cardHolderName
CoreTransactionType transactionType
This property represents transaction type.More…
NSString * deviceType
This property represents device type.More…
NSString * encryptedPinBlock
This property represents encrypted pin block.More…
NSString * pinBlockKsn
This property represents pin block KSN.More…
NSString * debitAccountType
This property represents debit account.More…
CoreTransactionInputMethod transactionInputMethod
SignatureCollection signatureCollection
This property signature represents AUTOMATIC (onSignatureRequired will be triggered) or MANUAL (signature is captured on the paper receipt) signature capture.More…
CoreSecureCard * coreSecureCard
This property represents the secure card.More…
TerminalCategory terminalCategory
This property represents the category of the terminal.More…
SaleRequestType saleRequestType
This property represents the sale request type.More…
BOOL isDelayedAuthEnabled
This property represents if sale is being processed as delayed auth.More…
BOOL isSignatureRequired
This property represents if sale needs to ask for signature in delayed auth mode.More…
BOOL isContactlessMsr
This property represents if contctless transaction is MSR.More…
NSString * serial
This property represents serial number of the device.More…
FallbackReason fallbackReason
This property represents reason for fallback.More…
NSString * deviceFirmwareVersion
This property represents device firmware version.More…
CoreEmvType emvType
This property represents emv type (Standard or quickchip).More…
NSString * dateTime
This property represents date time.More…
NSString * maskedPAN
This property represents masked PAN.More…
NSMutableArray * customFields
This property represents custom fields.More…

Detailed Description

CoreSaleTrack object used for MSR transactions.

CoreSaleTrack *sale =[[CoreSaleTrack alloc] init];
sale.encryptedTrackData = ...;
sale.ksn = "123456789";
sale.cardHolderName = @"Test user";
sale.cardType= @"VISA";
[[WTPSTerminal singleton] processSale:sale];

Method Documentation

setCardTypeBasedOnBin:()

  • - (void) setCardTypeBasedOnBin:
  • (NSString *)
  • maskedPan

set card type based on bin provided

Property Documentation

encryptedTrackData

    • - (NSString*) encryptedTrackData

  • readwriteatomic

This property represents encrypted track data.

ksn

    • - (NSString*) ksn

  • readwriteatomic

This property represents KSN.