Location.php 1.2 KB

123456789101112131415161718192021222324252627282930
  1. <?php
  2. // File generated from our OpenAPI spec
  3. namespace Stripe\Terminal;
  4. /**
  5. * A Location represents a grouping of readers.
  6. *
  7. * Related guide: <a
  8. * href="https://stripe.com/docs/terminal/readers/fleet-management#create">Fleet
  9. * Management</a>.
  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 \Stripe\StripeObject $address
  14. * @property string $display_name The display name of the location.
  15. * @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.
  16. * @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
  17. */
  18. class Location extends \Stripe\ApiResource
  19. {
  20. const OBJECT_NAME = 'terminal.location';
  21. use \Stripe\ApiOperations\All;
  22. use \Stripe\ApiOperations\Create;
  23. use \Stripe\ApiOperations\Delete;
  24. use \Stripe\ApiOperations\Retrieve;
  25. use \Stripe\ApiOperations\Update;
  26. }