GooglePayTokenRequest
constructor(tokenJsonPayload: String, onSuccess: (tokenDetails: TokenDetails) -> Unit, onFailure: (errorMessage: String) -> Unit)
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