File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
src/@ionic-native/plugins/all-in-one-sdk Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export class AllInOneSDK extends IonicNativePlugin {
57
57
* @return {Promise<PaytmResponse> } Returns a promise that resolves when a transaction completes(both failed and successful).
58
58
*/
59
59
@Cordova ( )
60
- startTransaction ( options : PaymentIntentModel ) : Promise < PaytmResponse > {
60
+ startTransaction ( options : PaymentIntentModel | PaymentAssistIntentModel ) : Promise < PaytmResponse > {
61
61
return ;
62
62
}
63
63
}
@@ -82,3 +82,14 @@ export interface PaymentIntentModel {
82
82
callbackUrl : string ; // Callback URL
83
83
restrictAppInvoke : boolean ; // To enable or disable the paytm app invocation
84
84
}
85
+
86
+ export interface PaymentAssistIntentModel {
87
+ mid : string ; // Merchant ID
88
+ orderId : string ; // Order ID
89
+ txnToken : string ; // Transaction Token
90
+ amount : string ; // Amount
91
+ isStaging : boolean ; // Environment
92
+ callbackUrl : string ; // Callback URL
93
+ restrictAppInvoke : boolean ; // To enable or disable the paytm app invocation
94
+ enableAssist : boolean ; // To enable or disable the Assist (Otp auto read)
95
+ }
You can’t perform that action at this time.
0 commit comments