Skip to content

Commit d6b1d93

Browse files
committed
Update NativeWalletSpec for paper
1 parent add81f1 commit d6b1d93

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

android/src/paper/java/NativeWalletSpec.java

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import com.facebook.react.bridge.ReactApplicationContext;
1818
import com.facebook.react.bridge.ReactContextBaseJavaModule;
1919
import com.facebook.react.bridge.ReactMethod;
20+
import com.facebook.react.bridge.ReadableMap;
2021
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
2122
import javax.annotation.Nonnull;
2223

@@ -34,5 +35,21 @@ public NativeWalletSpec(ReactApplicationContext reactContext) {
3435

3536
@ReactMethod
3637
@DoNotStrip
37-
public abstract void multiply(double a, double b, Promise promise);
38+
public abstract void checkWalletAvailability(Promise promise);
39+
40+
@ReactMethod
41+
@DoNotStrip
42+
public abstract void getSecureWalletInfo(Promise promise);
43+
44+
@ReactMethod
45+
@DoNotStrip
46+
public abstract void getCardStatus(String last4Digits, Promise promise);
47+
48+
@ReactMethod
49+
@DoNotStrip
50+
public abstract void getCardTokenStatus(String tsp, String tokenRefId, Promise promise);
51+
52+
@ReactMethod
53+
@DoNotStrip
54+
public abstract void addCardToWallet(ReadableMap cardData, Promise promise);
3855
}

0 commit comments

Comments
 (0)