Add test implementation for charges, documents & payment intents

This commit is contained in:
René Preuß
2019-11-19 17:12:27 +01:00
parent da1b6b7796
commit 203dc18766
15 changed files with 290 additions and 28 deletions

View File

@@ -15,24 +15,24 @@ class Scope
*/
// Deprecated scope.
const API = 'api';
public const API = 'api';
// Read nonpublic user information, including email address.
const READ_USER = 'read_user';
public const READ_USER = 'read_user';
/*
* v1 API
*/
// Read authorized user´s email address.
const USERS_READ_EMAIL = 'users:read:email';
public const USERS_READ_EMAIL = 'users:read:email';
// Manage a authorized user object.
const USERS_EDIT = 'users:edit';
public const USERS_EDIT = 'users:edit';
// Read authorized user´s transactions.
const TRANSACTIONS_READ = 'transactions:read';
public const TRANSACTIONS_READ = 'transactions:read';
// Create a new charge for the authorized user.
const CHARGES_CREATE = 'charges:create';
public const CHARGES_CREATE = 'charges:create';
}