| 1 |
<?php |
| 2 |
|
| 3 |
// File generated from our OpenAPI spec |
| 4 |
|
| 5 |
namespace Stripe\FinancialConnections; |
| 6 |
|
| 7 |
/** |
| 8 |
* A Financial Connections Session is the secure way to programmatically launch the |
| 9 |
* client-side Stripe.js modal that lets your users link their accounts. |
| 10 |
* |
| 11 |
* @property string $id Unique identifier for the object. |
| 12 |
* @property string $object String representing the object's type. Objects of the same type share the same value. |
| 13 |
* @property null|\Stripe\StripeObject $account_holder The account holder for whom accounts are collected in this session. |
| 14 |
* @property \Stripe\Collection<\Stripe\FinancialConnections\Account> $accounts The accounts that were collected as part of this Session. |
| 15 |
* @property string $client_secret A value that will be passed to the client to launch the authentication flow. |
| 16 |
* @property \Stripe\StripeObject $filters |
| 17 |
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode. |
| 18 |
* @property string[] $permissions Permissions requested for accounts collected during this session. |
| 19 |
* @property string $return_url For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app. |
| 20 |
*/ |
| 21 |
class Session extends \Stripe\ApiResource |
| 22 |
{ |
| 23 |
const OBJECT_NAME = 'financial_connections.session'; |
| 24 |
|
| 25 |
use \Stripe\ApiOperations\Create; |
| 26 |
use \Stripe\ApiOperations\Retrieve; |
| 27 |
} |
| 28 |
|