setVenmoRequest

fun setVenmoRequest(venmoRequest: VenmoRequest)

Sets the Venmo request configuration and wires up the click handler.

When the button is clicked, it creates a payment auth request and either launches the Venmo flow or notifies the callback of any failures.

Parameters

venmoRequest

the Venmo request containing payment details and configuration