WebViewConfiguration

data class WebViewConfiguration(val paymentUrl: String, val successUrl: String, val errorUrl: String)

Class responsible for storing web view configuration. Keep in mind that Android web view normalizes urls in accordance to RFC 3986. You have to pass normalized successUrl and errorUrl urls.

Parameters

paymentUrl

url that will be displayed in the web view, Tpay backend returns it if needed

successUrl

url that Tpay frontend will redirect to when payment is completed

errorUrl

url that Tpay frontend will redirect to when payment couldn't be completed

Constructors

Link copied to clipboard
fun WebViewConfiguration(paymentUrl: String, successUrl: String, errorUrl: String)

Functions

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard