dispose

public void dispose()

Closes the PaymentConnector's connection. Should be called after removing any listeners