Terminal Authenticaion

Prior to transactions being run, your app must authenticate.

Terminal.initializeAs(new AnyPayTerminal("ee455f50", "password"));
Terminal.getInstance().getEndpoint().setUrl("https://testpayments.anywherecommerce.com/merchant");
Terminal.getInstance().authenticate(new AuthenticationListener() {
	@Override
  public void onAuthenticationComplete() {
  	// Terminal Authenticated Successfully
  }

  @Override
  public void onAuthenticationFailed(MeaningfulError error) {
  	// Terminal Authentication Failed
  }
});