<?php


namespace Fifa\ConnectId\Sdk\Model\Transfer;


class Club
{
    /**
     * @var string
     * @required
     */
    public $ClubFIFAId;

    /**
     * @var string
     * @required
     */
    public $AssociationFIFAId;

    /**
     * @var string
     * @required
     */
    public $InternationalLongName;

    /**
     * @var string
     */
    public $LocalName;

    /**
     * Club constructor.
     * @param string $ClubFIFAId
     * @param string $AssociationFIFAId
     * @param string $InternationalLongName
     */
    public function __construct(string $ClubFIFAId, string $AssociationFIFAId, string $InternationalLongName)
    {
        $this->ClubFIFAId = $ClubFIFAId;
        $this->AssociationFIFAId = $AssociationFIFAId;
        $this->InternationalLongName = $InternationalLongName;
    }

    /**
     * @return string
     */
    public function __toString()
    {
        $required = sprintf('ClubFIFAId: %s, AssociationFIFAId: %s, InternationalLongName: %s', $this->ClubFIFAId, $this->AssociationFIFAId, $this->InternationalLongName);
        $optional = sprintf('$LocalName: %s', $this->LocalName);

        return sprintf('%s, %s', $required, $optional);
    }
}