WePay iOS SDK  7.0.0-prerelease-1
WPMockConfig Class Reference

#import <WPMockConfig.h>

Inheritance diagram for WPMockConfig:

Properties

BOOL useMockCardReader
 
BOOL useMockWepayClient
 
BOOL cardReadTimeOut
 
BOOL cardReadFailure
 
BOOL cardTokenizationFailure
 
BOOL EMVAuthFailure
 
BOOL multipleEMVApplication
 
BOOL batteryLevelError
 
BOOL mockCardReaderIsDetected
 
NSString * mockPaymentMethod
 

Detailed Description

The Class MockConfig contains the configuration required when using mock card reader and/or WPClient implementation.

Property Documentation

◆ batteryLevelError

- (BOOL) batteryLevelError
readwriteatomic

Determines if a battery info failure should be mocked. Defaults to NO.

◆ cardReadFailure

- (BOOL) cardReadFailure
readwriteatomic

Determines if a card reading failure should be mocked. Defaults to NO.

◆ cardReadTimeOut

- (BOOL) cardReadTimeOut
readwriteatomic

Determines if a card reader timeout should be mocked. Defaults to NO.

◆ cardTokenizationFailure

- (BOOL) cardTokenizationFailure
readwriteatomic

Determines if a card tokenization failure should be mocked. Defaults to NO.

◆ EMVAuthFailure

- (BOOL) EMVAuthFailure
readwriteatomic

Determines if an EMV authorization failure should be mocked. Defaults to NO.

◆ mockCardReaderIsDetected

- (BOOL) mockCardReaderIsDetected
readwriteatomic

Determines if the mock card reader is available for the purpose of establishing a connection. Defaults to YES.

◆ mockPaymentMethod

- (NSString*) mockPaymentMethod
readwriteatomic

The payment method to mock. Defaults to kWPPaymentMethodSwipe.

◆ multipleEMVApplication

- (BOOL) multipleEMVApplication
readwriteatomic

Determines if multiple EMV application should be mocked. Dafaults to NO.

◆ useMockCardReader

- (BOOL) useMockCardReader
readwriteatomic

Determines if mock card reader implementation is used. Defaults to YES.

◆ useMockWepayClient

- (BOOL) useMockWepayClient
readwriteatomic

e Determines if mock WepayClient implementation is used. Defaults to YES.


The documentation for this class was generated from the following file: