Skip to content

GooglePayParams() has private access #57

Open
itrcz opened this issue Feb 20, 2019 · 1 comment
Open

GooglePayParams() has private access #57

itrcz opened this issue Feb 20, 2019 · 1 comment

Comments

@itrcz
Copy link

itrcz commented Feb 20, 2019

Следуя документации
https://static2.tinkoff.ru/acquiring/manuals/android_sdk.pdf

Конструктор

GooglePayParams params = new GooglePayParams()
.setMerchantName(getString(R.string.merchant_name))
.setAddressRequired(false)
.setPhoneRequired(false)
.setTheme(WalletConstants.THEME_LIGHT)
.setEnvironment(WalletConstants.ENVIRONMENT_TEST)
.build();

ругается, что GooglePayParams() имеет приватный доступ

@Stasssm
Copy link
Contributor

Stasssm commented Feb 28, 2019

Добрый день.
Ошибка в документации. Попробуйте new GooglePayParams.Builder()вместо new GooglePayParams()

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

No branches or pull requests

2 participants