constants library
Constants
-
apiBody
→ const List<
String> - List of HTTP body types used by the library.
-
apiEndpoint
→ const List<
String> - List of API endpoints used by the library.
-
apiHeaders
→ const List<
String> - List of HTTP headers used by the library.
-
apiMethod
→ const List<
String> - List of HTTP methods used by the library.
-
apiurl
→ const List<
String> - List of API URLs used by the library.
-
pageurl
→ const List<
String> - useApi → const int
-
versison
→ const List<
String> - List of API versions used by the library.
Functions
-
getApiUrl(
) → String - Returns the API URL at the given index with the primary version string appended.
-
getInitiateTransactionUrl(
) → String - Returns the URL for initiating a transaction.
-
getPageUrl(
) → String -
getVersion(
) → String - Returns the primary API version string.
-
paymentPageUrl(
String trxnId, String apiKey, String apiSecret) → String