1 | //
|
2 | // RazorpayEventEmitter.h
|
3 | // RazorpayCheckout
|
4 | //
|
5 | // Created by Akshay Bhalotia on 19/09/16.
|
6 | // Copyright © 2016 Facebook. All rights reserved.
|
7 | //
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | @interface RazorpayEventEmitter : RCTEventEmitter
|
14 |
|
15 | + (void)onPaymentSuccess:(NSString *)payment_id
|
16 | andData:(NSDictionary *)response;
|
17 | + (void)onPaymentError:(int)code
|
18 | description:(NSString *)str
|
19 | andData:(NSDictionary *)response;
|
20 | + (void)onExternalWalletSelected:(NSString *)walletName
|
21 | andData:(NSDictionary *)paymentData;
|
22 | @end
|