|
|
@@ -26,25 +26,50 @@ npx cap sync
|
|
|
|
|
|
<docgen-index>
|
|
|
|
|
|
-* [`echo(...)`](#echo)
|
|
|
+* [`launch(...)`](#launch)
|
|
|
+* [Interfaces](#interfaces)
|
|
|
+* [Type Aliases](#type-aliases)
|
|
|
|
|
|
</docgen-index>
|
|
|
|
|
|
<docgen-api>
|
|
|
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->
|
|
|
|
|
|
-### echo(...)
|
|
|
+### launch(...)
|
|
|
|
|
|
```typescript
|
|
|
-echo(options: { value: string; }) => Promise<{ value: string; }>
|
|
|
+launch(options: UpiLaunchOptions) => Promise<void>
|
|
|
```
|
|
|
|
|
|
-| Param | Type |
|
|
|
-| ------------- | ------------------------------- |
|
|
|
-| **`options`** | <code>{ value: string; }</code> |
|
|
|
-
|
|
|
-**Returns:** <code>Promise<{ value: string; }></code>
|
|
|
+| Param | Type |
|
|
|
+| ------------- | ------------------------------------------------------------- |
|
|
|
+| **`options`** | <code><a href="#upilaunchoptions">UpiLaunchOptions</a></code> |
|
|
|
|
|
|
--------------------
|
|
|
|
|
|
+
|
|
|
+### Interfaces
|
|
|
+
|
|
|
+
|
|
|
+#### UpiLaunchOptions
|
|
|
+
|
|
|
+| Prop | Type | Description |
|
|
|
+| ------------- | ----------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
|
|
+| **`app`** | <code><a href="#upiapp">UpiApp</a></code> | Note: Typescript v5.2+ users should import OrientationLockType from @capacitor/screen-orientation. |
|
|
|
+| **`vpa`** | <code>string</code> | |
|
|
|
+| **`amount`** | <code>string</code> | |
|
|
|
+| **`name`** | <code>string</code> | |
|
|
|
+| **`number`** | <code>string</code> | |
|
|
|
+| **`bankId`** | <code>string</code> | |
|
|
|
+| **`ifsc`** | <code>string</code> | |
|
|
|
+| **`message`** | <code>string</code> | |
|
|
|
+
|
|
|
+
|
|
|
+### Type Aliases
|
|
|
+
|
|
|
+
|
|
|
+#### UpiApp
|
|
|
+
|
|
|
+<code>'PhonePe' | 'Paytm'</code>
|
|
|
+
|
|
|
</docgen-api>
|