public function disable()
    {
        $url = $this->generateUrl(array(), 'disable');

        $dataArray = array(
            'id' => $this->id,
        );

        return $this->post($dataArray, $url);
    }
public function disable()
    {
        $url = $this->generateUrl(array(), 'disable');

        $dataArray = array(
            'id' => $this->id,
        );

        return $this->post($dataArray, $url);
    }
public function disable ( ) { $ url = $ this -> generateUrl ( array ( ) , 'disable' ) ; $ dataArray = array ( 'id' => $ this -> id , ) ; return $ this -> post ( $ dataArray , $ url ) ; }
Disable a gift card.
Disabling a gift card is permanent and cannot be undone.

@return array
Disable a gift card . Disabling a gift card is permanent and cannot be undone .