2019-05-03 02:22:27 +02:00
|
|
|
<?php
|
|
|
|
|
|
2021-01-03 23:37:44 +01:00
|
|
|
// File generated from our OpenAPI spec
|
|
|
|
|
|
2019-05-03 02:22:27 +02:00
|
|
|
namespace Stripe\Terminal;
|
|
|
|
|
|
|
|
|
|
/**
|
2021-01-03 23:37:44 +01:00
|
|
|
* A Connection Token is used by the Stripe Terminal SDK to connect to a reader.
|
2019-05-03 02:22:27 +02:00
|
|
|
*
|
2023-04-24 18:42:04 +02:00
|
|
|
* Related guide: <a href="https://stripe.com/docs/terminal/fleet/locations">Fleet
|
2021-01-03 23:37:44 +01:00
|
|
|
* Management</a>.
|
2019-05-03 02:22:27 +02:00
|
|
|
*
|
2021-01-03 23:37:44 +01:00
|
|
|
* @property string $object String representing the object's type. Objects of the same type share the same value.
|
2023-04-24 18:42:04 +02:00
|
|
|
* @property null|string $location The id of the location that this connection token is scoped to. Note that location scoping only applies to internet-connected readers. For more details, see <a href="https://stripe.com/docs/terminal/fleet/locations#connection-tokens">the docs on scoping connection tokens</a>.
|
2021-01-03 23:37:44 +01:00
|
|
|
* @property string $secret Your application should pass this token to the Stripe Terminal SDK.
|
2019-05-03 02:22:27 +02:00
|
|
|
*/
|
|
|
|
|
class ConnectionToken extends \Stripe\ApiResource
|
|
|
|
|
{
|
2021-01-03 23:37:44 +01:00
|
|
|
const OBJECT_NAME = 'terminal.connection_token';
|
2019-05-03 02:22:27 +02:00
|
|
|
|
|
|
|
|
use \Stripe\ApiOperations\Create;
|
|
|
|
|
}
|