You are here

class CreateBatchParameters in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/Batch/Params/CreateBatchParameters.php \Smartling\Batch\Params\CreateBatchParameters

Class CreateBatchParameters

@package Smartling\Facade\Params

Hierarchy

Expanded class hierarchy of CreateBatchParameters

4 files declare their use of CreateBatchParameters
batch-example.php in vendor/smartling/api-sdk-php/examples/batch-example.php
BatchApi.php in vendor/smartling/api-sdk-php/src/Batch/BatchApi.php
BatchApiTest.php in vendor/smartling/api-sdk-php/tests/unit/BatchApiTest.php
SmartlingApiWrapper.php in src/Smartling/SmartlingApiWrapper.php
SmartlingApiWrapper.php.

File

vendor/smartling/api-sdk-php/src/Batch/Params/CreateBatchParameters.php, line 12

Namespace

Smartling\Batch\Params
View source
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;
  }

}

Members