Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

8.7 KB
Raw Blame
<?php

namespace HiEvents\DomainObjects\Generated;

use HiEvents\DomainObjects\AbstractDomainObject;

/**
 * THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY.
 */
abstract class AccountDomainObjectAbstract extends AbstractDomainObject
{
    final public const SINGULAR_NAME = 'account';

    final public const PLURAL_NAME = 'accounts';

    final public const ID = 'id';

    final public const ACCOUNT_CONFIGURATION_ID = 'account_configuration_id';

    final public const ACCOUNT_MESSAGING_TIER_ID = 'account_messaging_tier_id';

    final public const CURRENCY_CODE = 'currency_code';

    final public const TIMEZONE = 'timezone';

    final public const CREATED_AT = 'created_at';

    final public const UPDATED_AT = 'updated_at';

    final public const DELETED_AT = 'deleted_at';

    final public const NAME = 'name';

    final public const EMAIL = 'email';

    final public const STRIPE_ACCOUNT_ID = 'stripe_account_id';

    final public const SHORT_ID = 'short_id';

    final public const STRIPE_CONNECT_SETUP_COMPLETE = 'stripe_connect_setup_complete';

    final public const ACCOUNT_VERIFIED_AT = 'account_verified_at';

    final public const STRIPE_CONNECT_ACCOUNT_TYPE = 'stripe_connect_account_type';

    final public const IS_MANUALLY_VERIFIED = 'is_manually_verified';

    final public const COUNTRY = 'country';

    final public const REQUIRE_TWO_FACTOR_AUTHENTICATION = 'require_two_factor_authentication';

    final public const SUSPENDED_AT = 'suspended_at';

    final public const SUSPENSION_REASON = 'suspension_reason';

    protected int $id;

    protected ?int $account_configuration_id = null;

    protected ?int $account_messaging_tier_id = null;

    protected string $currency_code = 'USD';

    protected ?string $timezone = null;

    protected ?string $created_at = null;

    protected ?string $updated_at = null;

    protected ?string $deleted_at = null;

    protected string $name;

    protected string $email;

    protected ?string $stripe_account_id = null;

    protected string $short_id;

    protected ?bool $stripe_connect_setup_complete = false;

    protected ?string $account_verified_at = null;

    protected ?string $stripe_connect_account_type = null;

    protected bool $is_manually_verified = false;

    protected ?string $country = null;

    protected bool $require_two_factor_authentication = false;

    protected ?string $suspended_at = null;

    protected ?string $suspension_reason = null;

    public function toArray(): array
    {
        return [
            'id' => $this->id ?? null,
            'account_configuration_id' => $this->account_configuration_id ?? null,
            'account_messaging_tier_id' => $this->account_messaging_tier_id ?? null,
            'currency_code' => $this->currency_code ?? null,
            'timezone' => $this->timezone ?? null,
            'created_at' => $this->created_at ?? null,
            'updated_at' => $this->updated_at ?? null,
            'deleted_at' => $this->deleted_at ?? null,
            'name' => $this->name ?? null,
            'email' => $this->email ?? null,
            'stripe_account_id' => $this->stripe_account_id ?? null,
            'short_id' => $this->short_id ?? null,
            'stripe_connect_setup_complete' => $this->stripe_connect_setup_complete ?? null,
            'account_verified_at' => $this->account_verified_at ?? null,
            'stripe_connect_account_type' => $this->stripe_connect_account_type ?? null,
            'is_manually_verified' => $this->is_manually_verified ?? null,
            'country' => $this->country ?? null,
            'require_two_factor_authentication' => $this->require_two_factor_authentication ?? null,
            'suspended_at' => $this->suspended_at ?? null,
            'suspension_reason' => $this->suspension_reason ?? null,
        ];
    }

    public function setId(int $id): self
    {
        $this->id = $id;

        return $this;
    }

    public function getId(): int
    {
        return $this->id;
    }

    public function setAccountConfigurationId(?int $account_configuration_id): self
    {
        $this->account_configuration_id = $account_configuration_id;

        return $this;
    }

    public function getAccountConfigurationId(): ?int
    {
        return $this->account_configuration_id;
    }

    public function setAccountMessagingTierId(?int $account_messaging_tier_id): self
    {
        $this->account_messaging_tier_id = $account_messaging_tier_id;

        return $this;
    }

    public function getAccountMessagingTierId(): ?int
    {
        return $this->account_messaging_tier_id;
    }

    public function setCurrencyCode(string $currency_code): self
    {
        $this->currency_code = $currency_code;

        return $this;
    }

    public function getCurrencyCode(): string
    {
        return $this->currency_code;
    }

    public function setTimezone(?string $timezone): self
    {
        $this->timezone = $timezone;

        return $this;
    }

    public function getTimezone(): ?string
    {
        return $this->timezone;
    }

    public function setCreatedAt(?string $created_at): self
    {
        $this->created_at = $created_at;

        return $this;
    }

    public function getCreatedAt(): ?string
    {
        return $this->created_at;
    }

    public function setUpdatedAt(?string $updated_at): self
    {
        $this->updated_at = $updated_at;

        return $this;
    }

    public function getUpdatedAt(): ?string
    {
        return $this->updated_at;
    }

    public function setDeletedAt(?string $deleted_at): self
    {
        $this->deleted_at = $deleted_at;

        return $this;
    }

    public function getDeletedAt(): ?string
    {
        return $this->deleted_at;
    }

    public function setName(string $name): self
    {
        $this->name = $name;

        return $this;
    }

    public function getName(): string
    {
        return $this->name;
    }

    public function setEmail(string $email): self
    {
        $this->email = $email;

        return $this;
    }

    public function getEmail(): string
    {
        return $this->email;
    }

    public function setStripeAccountId(?string $stripe_account_id): self
    {
        $this->stripe_account_id = $stripe_account_id;

        return $this;
    }

    public function getStripeAccountId(): ?string
    {
        return $this->stripe_account_id;
    }

    public function setShortId(string $short_id): self
    {
        $this->short_id = $short_id;

        return $this;
    }

    public function getShortId(): string
    {
        return $this->short_id;
    }

    public function setStripeConnectSetupComplete(?bool $stripe_connect_setup_complete): self
    {
        $this->stripe_connect_setup_complete = $stripe_connect_setup_complete;

        return $this;
    }

    public function getStripeConnectSetupComplete(): ?bool
    {
        return $this->stripe_connect_setup_complete;
    }

    public function setAccountVerifiedAt(?string $account_verified_at): self
    {
        $this->account_verified_at = $account_verified_at;

        return $this;
    }

    public function getAccountVerifiedAt(): ?string
    {
        return $this->account_verified_at;
    }

    public function setStripeConnectAccountType(?string $stripe_connect_account_type): self
    {
        $this->stripe_connect_account_type = $stripe_connect_account_type;

        return $this;
    }

    public function getStripeConnectAccountType(): ?string
    {
        return $this->stripe_connect_account_type;
    }

    public function setIsManuallyVerified(bool $is_manually_verified): self
    {
        $this->is_manually_verified = $is_manually_verified;

        return $this;
    }

    public function getIsManuallyVerified(): bool
    {
        return $this->is_manually_verified;
    }

    public function setCountry(?string $country): self
    {
        $this->country = $country;

        return $this;
    }

    public function getCountry(): ?string
    {
        return $this->country;
    }

    public function setRequireTwoFactorAuthentication(bool $require_two_factor_authentication): self
    {
        $this->require_two_factor_authentication = $require_two_factor_authentication;

        return $this;
    }

    public function getRequireTwoFactorAuthentication(): bool
    {
        return $this->require_two_factor_authentication;
    }

    public function setSuspendedAt(?string $suspended_at): self
    {
        $this->suspended_at = $suspended_at;

        return $this;
    }

    public function getSuspendedAt(): ?string
    {
        return $this->suspended_at;
    }

    public function setSuspensionReason(?string $suspension_reason): self
    {
        $this->suspension_reason = $suspension_reason;

        return $this;
    }

    public function getSuspensionReason(): ?string
    {
        return $this->suspension_reason;
    }
}