Cardholder.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. // File generated from our OpenAPI spec
  3. namespace Stripe\Issuing;
  4. /**
  5. * An Issuing <code>Cardholder</code> object represents an individual or business
  6. * entity who is <a href="https://stripe.com/docs/issuing">issued</a> cards.
  7. *
  8. * Related guide: <a
  9. * href="https://stripe.com/docs/issuing/cards#create-cardholder">How to create a
  10. * Cardholder</a>
  11. *
  12. * @property string $id Unique identifier for the object.
  13. * @property string $object String representing the object's type. Objects of the same type share the same value.
  14. * @property \Stripe\StripeObject $billing
  15. * @property null|\Stripe\StripeObject $company Additional information about a <code>company</code> cardholder.
  16. * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
  17. * @property null|string $email The cardholder's email address.
  18. * @property null|\Stripe\StripeObject $individual Additional information about an <code>individual</code> cardholder.
  19. * @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.
  20. * @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.
  21. * @property string $name The cardholder's name. This will be printed on cards issued to them.
  22. * @property null|string $phone_number The cardholder's phone number.
  23. * @property \Stripe\StripeObject $requirements
  24. * @property null|\Stripe\StripeObject $spending_controls Rules that control spending across this cardholder's cards. Refer to our <a href="https://stripe.com/docs/issuing/controls/spending-controls">documentation</a> for more details.
  25. * @property string $status Specifies whether to permit authorizations on this cardholder's cards.
  26. * @property string $type One of <code>individual</code> or <code>company</code>.
  27. */
  28. class Cardholder extends \Stripe\ApiResource
  29. {
  30. const OBJECT_NAME = 'issuing.cardholder';
  31. use \Stripe\ApiOperations\All;
  32. use \Stripe\ApiOperations\Create;
  33. use \Stripe\ApiOperations\Retrieve;
  34. use \Stripe\ApiOperations\Update;
  35. }