|
WePay iOS SDK
7.0.0-prerelease-1
|
#import <WPMockConfig.h>
Properties | |
| BOOL | useMockCardReader |
| BOOL | useMockWepayClient |
| BOOL | cardReadTimeOut |
| BOOL | cardReadFailure |
| BOOL | cardTokenizationFailure |
| BOOL | EMVAuthFailure |
| BOOL | multipleEMVApplication |
| BOOL | batteryLevelError |
| BOOL | mockCardReaderIsDetected |
| NSString * | mockPaymentMethod |
The Class MockConfig contains the configuration required when using mock card reader and/or WPClient implementation.
|
readwriteatomic |
Determines if a battery info failure should be mocked. Defaults to NO.
|
readwriteatomic |
Determines if a card reading failure should be mocked. Defaults to NO.
|
readwriteatomic |
Determines if a card reader timeout should be mocked. Defaults to NO.
|
readwriteatomic |
Determines if a card tokenization failure should be mocked. Defaults to NO.
|
readwriteatomic |
Determines if an EMV authorization failure should be mocked. Defaults to NO.
|
readwriteatomic |
Determines if the mock card reader is available for the purpose of establishing a connection. Defaults to YES.
|
readwriteatomic |
The payment method to mock. Defaults to kWPPaymentMethodSwipe.
|
readwriteatomic |
Determines if multiple EMV application should be mocked. Dafaults to NO.
|
readwriteatomic |
Determines if mock card reader implementation is used. Defaults to YES.
|
readwriteatomic |
e Determines if mock WepayClient implementation is used. Defaults to YES.