public function addCustomFields($customFields)
    {
        if (!$this->getCustomFields()) {
            return $this->setCustomFields(array($customFields));
        } else {
            return $this->setCustomFields(
                array_merge($this->getCustomFields(), array($customFields))
            );
        }
    }
public function addCustomFields($customFields)
    {
        if (!$this->getCustomFields()) {
            return $this->setCustomFields(array($customFields));
        } else {
            return $this->setCustomFields(
                array_merge($this->getCustomFields(), array($customFields))
            );
        }
    }
public function addCustomFields ( $ customFields ) { if ( ! $ this -> getCustomFields ( ) ) { return $ this -> setCustomFields ( array ( $ customFields ) ) ; } else { return $ this -> setCustomFields ( array_merge ( $ this -> getCustomFields ( ) , array ( $ customFields ) ) ) ; } }
Append CustomFields to the list.

@param \PayU\Api\CustomFields $customFields
@return $this
Append CustomFields to the list .