You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,20 +58,20 @@ Set the public key, private key and other required parameters. The `RavePayManag
58
58
.setMeta(List<Meta>)
59
59
.withTheme(styleId)
60
60
.initialize();
61
-
*`setAmount()` - This is the amount to be charged from card/account. `double`
62
-
*`setCountry()` - This is the route country for the transaction with respect to the currency. `String`
63
-
*`setCurrency` - This is the specified currency to charge the card in. `String`
64
-
*`setEmail()` - This is the email address of the customer. `String`
65
-
*`setfName()` - This is the first name of the card holder or the customer. `String`
66
-
*`setlName()` - This is the last name of the card holder or the customer. `String`
61
+
*`setAmount()` - This is the amount to be charged from card/account. `double` - `[Required]`. If `amount` is not specified, the user is presented with a field in the UI to enter the amount. However if specified, the amount field is hidden
62
+
*`setCountry()` - This is the route country for the transaction with respect to the currency. `String` - `[Required]`
63
+
*`setCurrency` - This is the specified currency to charge the card in. `String` - `[Required]`
64
+
*`setEmail()` - This is the email address of the customer. `String` - `[Required]`
65
+
*`setfName()` - This is the first name of the card holder or the customer. `String` - `[Required]`
66
+
*`setlName()` - This is the last name of the card holder or the customer. `String` - `[Required]`
67
67
*`setNarration()` - This is a custom description added by the merchant. `String`
68
-
*`setPublicKey()` - Merchant's public key `String`
*`setTxRef()` - This is the unique reference, unique to the particular transaction being carried out. It is generated by the merchant for every transaction `String`
68
+
*`setPublicKey()` - Merchant's public key `String` - `[Required]`
*`setTxRef()` - This is the unique reference, unique to the particular transaction being carried out. It is generated by the merchant for every transaction `String` - `[Required]`
71
71
*`acceptAccountPayments()` - Set to `true` if you want to accept payments via bank accounts, else set to false. `boolean`. Defaults to `true`
72
72
*`acceptCardPayments()` - Set to `true` if you want to accept payments via cards, else set to `false`. `boolean`. Defaults to `true`
73
73
*`onStagingEnv()` - Set to `true` if you want your transactions to run in the staging environment otherwise set to `false`. Defaults to `false`
74
-
*`allowSaveCardFeature` - Set to `true` if you want your users to be able to save their cards for later reuse otherwise set to `false`.
74
+
*`allowSaveCardFeature` - Set to `true` if you want your users to be able to save their cards for later reuse otherwise set to `false`. - `[Required]`
75
75
*`setMeta()` - Pass in any other custom data you wish to pass. It takes in a `List` of `Meta` objects
0 commit comments