Iyzipay\Model\Mapper\InstallmentInfoMapper::mapInstallmentInfoFrom PHP Method

mapInstallmentInfoFrom() public method

public mapInstallmentInfoFrom ( InstallmentInfo $installment, $jsonObject )
$installment Iyzipay\Model\InstallmentInfo
    public function mapInstallmentInfoFrom(InstallmentInfo $installment, $jsonObject)
    {
        parent::mapResourceFrom($installment, $jsonObject);
        if (isset($jsonObject->installmentDetails)) {
            $installment->setInstallmentDetails($this->mapInstallmentDetails($jsonObject->installmentDetails));
        }
        return $installment;
    }