get Google Pay Configuration
suspend fun getGooglePayConfiguration(): Pair<WalletResponses.GetGooglePayConfigurationResponse?, NetworkingError?>
Fetches the Google Pay merchant configuration using the merchant's publishable key.
Return
A Pair where the first element is the WalletResponses.GetGooglePayConfigurationResponse on success, and the second element is a NetworkingError on failure; one of the two will be null.
fun getGooglePayConfiguration(completionHandler: (WalletResponses.GetGooglePayConfigurationResponse?, NetworkingError?) -> Unit)
Fetches the Google Pay merchant configuration using the merchant's publishable key and delivers the result to the provided callback.
Parameters
completion Handler
Invoked with the parsed WalletResponses.GetGooglePayConfigurationResponse on success, or a NetworkingError on failure; one of the two arguments will be null.