Class coresaleemv

CoreSaleEmv object used for EMV transactions.More…

#import <Core.h>

Inheritance diagram for CoreSaleEmv:

CoreSale

Instance Methods

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

Properties

NSMutableDictionary * emvTags
This property represents tip emv tags.More…
NSString * tlvString
This property represents tlv string from the device.More…
NSString * ksn
This property represents KSN.More…
NSString * encryptedC2
This property represents encrypted C2 tag.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

CoreSaleEmv object used for EMV transactions.

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

Method Documentation

setCardTypeBasedOnAid:()

  • - (void) setCardTypeBasedOnAid:
  • (NSString *)
  • aid

set card type based on AID provided

Property Documentation

emvTags

    • - (NSMudivDictionary*) emvTags

  • readwriteatomic

This property represents tip emv tags.

encryptedC2

    • - (NSString*) encryptedC2

  • readwriteatomic

This property represents encrypted C2 tag.

ksn

    • - (NSString*) ksn

  • readwriteatomic

This property represents KSN.

tlvString

    • - (NSString*) tlvString

  • readwriteatomic

This property represents tlv string from the device.