Cardholder object represents an individual or business entity who is issued cards.
*
* Related guide: How to create a cardholder
*
* @property string $id Unique identifier for the object.
* @property string $object String representing the object's type. Objects of the same type share the same value.
* @property \Stripe\StripeObject $billing
* @property null|\Stripe\StripeObject $company Additional information about a company
cardholder.
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
* @property null|string $email The cardholder's email address.
* @property null|\Stripe\StripeObject $individual Additional information about an individual
cardholder.
* @property bool $livemode Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
* @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* @property string $name The cardholder's name. This will be printed on cards issued to them.
* @property null|string $phone_number The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the 3D Secure documentation for more details.
* @property null|string[] $preferred_locales The cardholder’s preferred locales (languages), ordered by preference. Locales can be de
, en
, es
, fr
, or it
. This changes the language of the 3D Secure flow and one-time password messages sent to the cardholder.
* @property \Stripe\StripeObject $requirements
* @property null|\Stripe\StripeObject $spending_controls Rules that control spending across this cardholder's cards. Refer to our documentation for more details.
* @property string $status Specifies whether to permit authorizations on this cardholder's cards.
* @property string $type One of individual
or company
. See Choose a cardholder type for more details.
*/
class Cardholder extends \WP_Ultimo\Dependencies\Stripe\ApiResource
{
const OBJECT_NAME = 'issuing.cardholder';
use \WP_Ultimo\Dependencies\Stripe\ApiOperations\All;
use \WP_Ultimo\Dependencies\Stripe\ApiOperations\Create;
use \WP_Ultimo\Dependencies\Stripe\ApiOperations\Retrieve;
use \WP_Ultimo\Dependencies\Stripe\ApiOperations\Update;
const STATUS_ACTIVE = 'active';
const STATUS_BLOCKED = 'blocked';
const STATUS_INACTIVE = 'inactive';
const TYPE_COMPANY = 'company';
const TYPE_INDIVIDUAL = 'individual';
}