<?php


namespace Fifa\ConnectId\Sdk\Model\Transfer;

class ReleaseBuyoutFee
{
    /**
     * @var TransferFeeDetails
     */
    public $FeeDetails;

    /**
     * ReleaseBuyoutFee constructor.
     * @param TransferFeeDetails $feeDetails
     */
    public function __construct(TransferFeeDetails $feeDetails)
    {
        $this->FeeDetails = $feeDetails;
    }

    /**
     * @return string
     */
    public function __toString()
    {
        $transferFee = $this->FeeDetails->__toString();
        return sprintf('Release buyout fee. Details: %s', $transferFee);
    }
}