9 #import <Foundation/Foundation.h> 10 #import <UIKit/UIKit.h> 14 #import "WPPaymentInfo.h" 15 #import "WPPaymentToken.h" 16 #import "WPAuthorizationInfo.h" 17 #import "WPConstantsExternal.h" 45 didFailAuthorization:(NSError *)error;
70 didFailTokenization:(NSError *)error;
84 - (void) insertPayerEmailWithCompletion:(
void (^)(NSString *email))completion;
103 - (void) selectEMVApplication:(NSArray *)applications
104 completion:(
void (^)(NSInteger selectedIndex))completion;
118 - (void) didFailToReadPaymentInfoWithError:(NSError *)error;
130 - (void) selectCardReader:(NSArray *)cardReaderNames
131 completion:(
void (^)(NSInteger selectedIndex))completion;
153 - (void) cardReaderDidChangeStatus:(
id)status;
164 - (void) shouldResetCardReaderWithCompletion:(
void (^)(BOOL shouldReset))completion;
177 - (void) authorizeAmountWithCompletion:(
void (^)(NSDecimalNumber *amount, NSString *currencyCode,
long accountId))completion;
193 - (void) didStoreSignature:(NSString *)signatureUrl
194 forCheckoutId:(NSString *)checkoutId;
203 - (void) didFailToStoreSignatureImage:(UIImage *)image
204 forCheckoutId:(NSString *)checkoutId
205 withError:(NSError *)error;
220 - (void) didGetBatteryLevel:(
int)batteryLevel;
227 - (void) didFailToGetBatteryLevelwithError:(NSError *)error;
258 #pragma mark Tokenization 272 tokenizationDelegate:(id<WPTokenizationDelegate>)tokenizationDelegate;
278 #pragma mark Card Reader 300 - (void) startTransactionForReadingWithCardReaderDelegate:(id<WPCardReaderDelegate>) cardReaderDelegate;
320 - (void) startTransactionForTokenizingWithCardReaderDelegate:(id<WPCardReaderDelegate>) cardReaderDelegate
321 tokenizationDelegate:(id<WPTokenizationDelegate>) tokenizationDelegate
322 authorizationDelegate:(id<WPAuthorizationDelegate>) authorizationDelegate;
334 #pragma mark Checkout 350 - (void) storeSignatureImage:(UIImage *)image
351 forCheckoutId:(NSString *)checkoutId
352 checkoutDelegate:(id<WPCheckoutDelegate>) checkoutDelegate;
357 #pragma mark Battery Level 369 - (void) getCardReaderBatteryLevelWithCardReaderDelegate:(id<WPCardReaderDelegate>) cardReaderDelegate
370 batteryLevelDelegate:(id<WPBatteryLevelDelegate>) batteryLevelDelegate;
375 #pragma mark Remember card reader Definition: WPPaymentToken.h:14
void forgetRememberedCardReader()
WPConfig * config
Definition: WePay.h:240
Definition: WPAuthorizationInfo.h:14
Definition: WPPaymentInfo.h:14
NSString * getRememberedCardReader()
Definition: WPConfig.h:15