ConnectionToken.php 936 B

12345678910111213141516171819202122
  1. <?php
  2. // File generated from our OpenAPI spec
  3. namespace Stripe\Terminal;
  4. /**
  5. * A Connection Token is used by the Stripe Terminal SDK to connect to a reader.
  6. *
  7. * Related guide: <a href="https://stripe.com/docs/terminal/fleet/locations">Fleet
  8. * Management</a>.
  9. *
  10. * @property string $object String representing the object's type. Objects of the same type share the same value.
  11. * @property 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>.
  12. * @property string $secret Your application should pass this token to the Stripe Terminal SDK.
  13. */
  14. class ConnectionToken extends \Stripe\ApiResource
  15. {
  16. const OBJECT_NAME = 'terminal.connection_token';
  17. use \Stripe\ApiOperations\Create;
  18. }