public function pushSetSubscriptionState($subscriptionID, $stateValue)
    {
        $data = array(
            'id' => $subscriptionID,
            'state' => $stateValue,
        );

        $requestResult = $this->sendRequest('push/subscriptions/state', 'POST', $data);

        return $this->handleResult($requestResult);
    }
public function pushSetSubscriptionState($subscriptionID, $stateValue)
    {
        $data = array(
            'id' => $subscriptionID,
            'state' => $stateValue,
        );

        $requestResult = $this->sendRequest('push/subscriptions/state', 'POST', $data);

        return $this->handleResult($requestResult);
    }
public function pushSetSubscriptionState ( $ subscriptionID , $ stateValue ) { $ data = array ( 'id' => $ subscriptionID , 'state' => $ stateValue , ) ; $ requestResult = $ this -> sendRequest ( 'push/subscriptions/state' , 'POST' , $ data ) ; return $ this -> handleResult ( $ requestResult ) ; }
Set state for subscription

@param $subscriptionID
@param $stateValue

@return mixed
Set state for subscription