GooglePayTokenRequest
data class GooglePayTokenRequest(val tokenJsonPayload: String, val onSuccess: (tokenDetails: TokenDetails) -> Unit, val onFailure: (errorMessage: String) -> Unit)
Used for Creating a Google Pay token request
Parameters
tokenJsonPayload
the representation of String
onSuccess
invokes when token api returns success response holding the TokenDetails
onFailure
invokes when token api returns failure response holding the errorMessage
Constructors
Link copied to clipboard
constructor(tokenJsonPayload: String, onSuccess: (tokenDetails: TokenDetails) -> Unit, onFailure: (errorMessage: String) -> Unit)