private function updatePayload()
    {
        if ($this->contactClient) {
            $this->sortPayloadFields();
            $jsonHelper  = new JSONHelper();
            $payloadJSON = $jsonHelper->encode($this->payload, 'Payload');
            $this->contactClient->setAPIPayload($payloadJSON);
        }
    }
private function updatePayload()
    {
        if ($this->contactClient) {
            $this->sortPayloadFields();
            $jsonHelper  = new JSONHelper();
            $payloadJSON = $jsonHelper->encode($this->payload, 'Payload');
            $this->contactClient->setAPIPayload($payloadJSON);
        }
    }
private function updatePayload ( ) { if ( $ this -> contactClient ) { $ this -> sortPayloadFields ( ) ; $ jsonHelper = new JSONHelper ( ) ; $ payloadJSON = $ jsonHelper -> encode ( $ this -> payload , 'Payload' ) ; $ this -> contactClient -> setAPIPayload ( $ payloadJSON ) ; } }
Update the payload with the parent ContactClient because we've updated the response expectation.
Update the payload with the parent ContactClient because we ve updated the response expectation .