HEX
Server: Apache
System: Linux efa57bbe-abb1-400d-2985-3b056fbc2701.secureserver.net 6.1.147-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 24 12:33:32 EDT 2025 x86_64
User: root (0)
PHP: 8.0.30.4
Disabled: NONE
Upload Files
File: //var/www/wp-content/mu-plugins/vendor/godaddy/mwc-core/src/Payments/Stripe/Models/Account.php
<?php

namespace GoDaddy\WordPress\MWC\Core\Payments\Stripe\Models;

use GoDaddy\WordPress\MWC\Common\Models\AbstractModel;
use GoDaddy\WordPress\MWC\Common\Traits\CanBulkAssignPropertiesTrait;

/**
 * The Account model.
 */
class Account extends AbstractModel
{
    use CanBulkAssignPropertiesTrait;

    /** @var string */
    protected $id;

    /** @var string */
    protected $name;

    /** @var string */
    protected $emailAddress;

    /** @var array */
    protected $capabilities;

    /**
     * Gets the ID.
     *
     * @return string|null
     */
    public function getId() : ?string
    {
        return $this->id;
    }

    /**
     * Sets the ID.
     *
     * @param string $value
     * @return Account
     */
    public function setId(string $value) : Account
    {
        $this->id = $value;

        return $this;
    }

    /**
     * Gets the name.
     *
     * @return string|null
     */
    public function getName() : ?string
    {
        return $this->name;
    }

    /**
     * Sets the name.
     *
     * @param string $value
     * @return Account
     */
    public function setName(string $value) : Account
    {
        $this->name = $value;

        return $this;
    }

    /**
     * Gets the email address.
     *
     * @return string|null
     */
    public function getEmailAddress() : ?string
    {
        return $this->emailAddress;
    }

    /**
     * Sets the email address.
     *
     * @param string $value
     * @return Account
     */
    public function setEmailAddress(string $value) : Account
    {
        $this->emailAddress = $value;

        return $this;
    }

    /**
     * Gets the capabilities.
     *
     * @return array|null
     */
    public function getCapabilities() : ?array
    {
        return $this->capabilities;
    }

    /**
     * Sets the capabilities.
     *
     * @param array $value
     * @return Account
     */
    public function setCapabilities(array $value) : Account
    {
        $this->capabilities = $value;

        return $this;
    }
}