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

        return $this->setParameter('funding', $value);
    }
public function setFunding($value)
    {
        if ($value && !$value instanceof MerchantFunding) {
            $value = new MerchantFunding($value);
        }

        return $this->setParameter('funding', $value);
    }
public function setFunding ( $ value ) { if ( $ value && ! $ value instanceof MerchantFunding ) { $ value = new MerchantFunding ( $ value ) ; } return $ this -> setParameter ( 'funding' , $ value ) ; }
Sets the funding.

@param MerchantFunding|array $value
@return $this
Sets the funding .