Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] ProcessPayment unused ApiClient #13

Open
YanDoroshenko opened this issue Feb 5, 2019 · 1 comment
Open

[question] ProcessPayment unused ApiClient #13

YanDoroshenko opened this issue Feb 5, 2019 · 1 comment

Comments

@YanDoroshenko
Copy link

Hey guys. I have a question. Why do you have an unused ApiClient object created in the coreServices/ProcessPayment example? Well, I know why, because it doesn't work without it, but why doesn't it work without it? Thanks.

@PeterSherk
Copy link

I've noticed that their ApiClient base constructor initializes a bunch of stuff they use for processing objects and making requests. Without it, their code will fail.

https://github.com/CyberSource/cybersource-rest-client-java/blob/master/src/main/java/Invokers/ApiClient.java.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants