public function setFunding($value)
    {
        if ($value && !$value instanceof MerchantFunding) {
            $value = new MerchantFunding($value);
        }

        return $this->setParameter('funding', $value);
    }