<?php

namespace HiEvents\DomainObjects\Generated;

/**
 * THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY.
 * @package HiEvents\DomainObjects\Generated
 */
abstract class ProductPriceTaxAndFeesDomainObjectAbstract extends \HiEvents\DomainObjects\AbstractDomainObject
{
    final public const SINGULAR_NAME = 'product_price_tax_and_fees';
    final public const PLURAL_NAME = 'product_price_tax_and_fees';
    final public const ID = 'id';
    final public const PRODUCT_PRICE_ID = 'product_price_id';
    final public const TAX_AND_FEE_ID = 'tax_and_fee_id';
    final public const CREATED_AT = 'created_at';
    final public const UPDATED_AT = 'updated_at';
    final public const DELETED_AT = 'deleted_at';

    protected int $id;
    protected int $product_price_id;
    protected int $tax_and_fee_id;
    protected ?string $created_at = null;
    protected ?string $updated_at = null;
    protected ?string $deleted_at = null;

    public function toArray(): array
    {
        return [
                    'id' => $this->id ?? null,
                    'product_price_id' => $this->product_price_id ?? null,
                    'tax_and_fee_id' => $this->tax_and_fee_id ?? null,
                    'created_at' => $this->created_at ?? null,
                    'updated_at' => $this->updated_at ?? null,
                    'deleted_at' => $this->deleted_at ?? null,
                ];
    }

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

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

    public function setProductPriceId(int $product_price_id): self
    {
        $this->product_price_id = $product_price_id;
        return $this;
    }

    public function getProductPriceId(): int
    {
        return $this->product_price_id;
    }

    public function setTaxAndFeeId(int $tax_and_fee_id): self
    {
        $this->tax_and_fee_id = $tax_and_fee_id;
        return $this;
    }

    public function getTaxAndFeeId(): int
    {
        return $this->tax_and_fee_id;
    }

    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;
    }
}
