You are here

CreateBatchParameters.php in TMGMT Translator Smartling 8.4

File

vendor/smartling/api-sdk-php/src/Batch/Params/CreateBatchParameters.php
View source
<?php

namespace Smartling\Batch\Params;

use Smartling\Parameters\BaseParameters;

/**
 * Class CreateBatchParameters
 *
 * @package Smartling\Facade\Params
 */
class CreateBatchParameters extends BaseParameters {

  /**
   * @param $uid
   *
   * @return $this
   */
  public function setTranslationJobUid($uid) {
    $this
      ->set('translationJobUid', $uid);
    return $this;
  }

  /**
   * @param $authorize
   *
   * @return $this
   */
  public function setAuthorize($authorize) {
    $this
      ->set('authorize', (bool) $authorize);
    return $this;
  }

  /**
   * @param $callbackUrl
   *
   * @return $this
   */
  public function setCallbackUrl($callbackUrl) {
    $this
      ->set('callbackUrl', $callbackUrl);
    return $this;
  }

}

Classes

Namesort descending Description
CreateBatchParameters Class CreateBatchParameters