Reader.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. // File generated from our OpenAPI spec
  3. namespace Stripe\Terminal;
  4. /**
  5. * A Reader represents a physical device for accepting payment details.
  6. *
  7. * Related guide: <a
  8. * href="https://stripe.com/docs/terminal/readers/connecting">Connecting to a
  9. * Reader</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 null|string $device_sw_version The current software version of the reader.
  14. * @property string $device_type Type of reader, one of <code>bbpos_chipper2x</code> or <code>verifone_P400</code>.
  15. * @property null|string $ip_address The local IP address of the reader.
  16. * @property string $label Custom label given to the reader for easier identification.
  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 null|string $location The location identifier of the reader.
  19. * @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.
  20. * @property string $serial_number Serial number of the reader.
  21. * @property null|string $status The networking status of the reader.
  22. */
  23. class Reader extends \Stripe\ApiResource
  24. {
  25. const OBJECT_NAME = 'terminal.reader';
  26. use \Stripe\ApiOperations\All;
  27. use \Stripe\ApiOperations\Create;
  28. use \Stripe\ApiOperations\Delete;
  29. use \Stripe\ApiOperations\Retrieve;
  30. use \Stripe\ApiOperations\Update;
  31. }