Back to project page Java-Yandex.Money-API-SDK.
The source code is released under:
MIT License
If you think the Android project Java-Yandex.Money-API-SDK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.samples.yamodroid; /*from www . ja va 2s . c o m*/ import ru.yandex.money.api.rights.*; import java.util.Collection; import java.util.LinkedList; /** * @author dvmelnikov */ public class Consts { public static String CLIENT_ID = "24C38EA565ECEDF1E7501628163E4E5C08B3FB8F6FA7B2E957AE0A0DA8159464"; public static String REDIRECT_URI = "yamodroidtest://localhost/authresult"; public static Collection<Permission> getPermissions() { Collection<Permission> scope = new LinkedList<Permission>(); scope.add(new AccountInfo()); scope.add(new OperationHistory()); scope.add(new OperationDetails()); scope.add(new MoneySource(true, true)); scope.add(new PaymentP2P().limit(30, "100")); scope.add(new Payment().toPattern("337").limit(1, "10")); return scope; } }