public function replaceBinaryBatch(
        $batchId, Api\MtBatchBinarySmsCreate $batch
    ) {
        $json = Serialize::binaryBatch($batch);
        $result = $this->_put($this->_batchUrl($batchId), $json);
        return Deserialize::batchResponse($result);
    }
public function replaceBinaryBatch(
        $batchId, Api\MtBatchBinarySmsCreate $batch
    ) {
        $json = Serialize::binaryBatch($batch);
        $result = $this->_put($this->_batchUrl($batchId), $json);
        return Deserialize::batchResponse($result);
    }
public function replaceBinaryBatch ( $ batchId , Api \ MtBatchBinarySmsCreate $ batch ) { $ json = Serialize :: binaryBatch ( $ batch ) ; $ result = $ this -> _put ( $ this -> _batchUrl ( $ batchId ) , $ json ) ; return Deserialize :: batchResponse ( $ result ) ; }
Replaces the batch with the given ID with the given binary
batch.

@param string                     $batchId identifier of the batch
@param Api\MtBatchBinarySmsCreate $batch   the replacement batch

@return Api\MtBatchBinarySmsResult the resulting batch
Replaces the batch with the given ID with the given binary batch .