public function setData($data = array())
    {
        /**
         * Since we base our signature off of the secure[data] parameter it cannot
         * be changed once the signature has been generated.
         */
        if (isset($this->requestSignature)) {
            throw new BadMethodCallException('The signature for this request has already been generated.');
        }

        $this->data = $data;
        $this->mergeRedirect();
    }
public function setData($data = array())
    {
        /**
         * Since we base our signature off of the secure[data] parameter it cannot
         * be changed once the signature has been generated.
         */
        if (isset($this->requestSignature)) {
            throw new BadMethodCallException('The signature for this request has already been generated.');
        }

        $this->data = $data;
        $this->mergeRedirect();
    }
public function setData ( $ data = array ( ) ) { /**
         * Since we base our signature off of the secure[data] parameter it cannot
         * be changed once the signature has been generated.
         */ if ( isset ( $ this -> requestSignature ) ) { throw new BadMethodCallException ( 'The signature for this request has already been generated.' ) ; } $ this -> data = $ data ; $ this -> mergeRedirect ( ) ; }
Tamper-proof data that you want to send to Chargify

@param array $data
Tamper - proof data that you want to send to Chargify