コード例 #1
0
ファイル: Content.php プロジェクト: powerlinks/php-open-rtb
 /**
  * @param int $embeddable
  * @return $this
  */
 public function setEmbeddable($embeddable)
 {
     $this->validateIn($embeddable, BitType::getAll());
     $this->embeddable = $embeddable;
     return $this;
 }
コード例 #2
0
ファイル: Device.php プロジェクト: powerlinks/php-open-rtb
 /**
  * @param int $js
  * @return $this
  * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue
  */
 public function setJs($js)
 {
     $this->validateIn($js, BitType::getAll());
     $this->js = $js;
     return $this;
 }
コード例 #3
0
ファイル: Regs.php プロジェクト: powerlinks/php-open-rtb
 /**
  * @param int $coppa
  * @return $this
  * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue
  */
 public function setCoppa($coppa)
 {
     $this->validateIn($coppa, BitType::getAll());
     $this->coppa = $coppa;
     return $this;
 }
コード例 #4
0
ファイル: Video.php プロジェクト: powerlinks/php-open-rtb
 /**
  * @param int $boxingallowed
  * @return $this
  * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue
  */
 public function setBoxingallowed($boxingallowed)
 {
     $this->validateIn($boxingallowed, BitType::getAll());
     $this->boxingallowed = $boxingallowed;
     return $this;
 }
コード例 #5
0
ファイル: Pmp.php プロジェクト: powerlinks/php-open-rtb
 /**
  * @param int $private_auction
  * @return $this
  * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue
  */
 public function setPrivate_auction($private_auction)
 {
     $this->validateIn($private_auction, BitType::getAll());
     $this->private_auction = $private_auction;
     return $this;
 }
コード例 #6
0
ファイル: Site.php プロジェクト: powerlinks/php-open-rtb
 /**
  * @param $privacypolicy
  * @return $this
  * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue
  */
 public function setPrivacypolicy($privacypolicy)
 {
     $this->validateIn($privacypolicy, BitType::getAll());
     $this->privacypolicy = $privacypolicy;
     return $this;
 }
コード例 #7
0
ファイル: Imp.php プロジェクト: powerlinks/php-open-rtb
 /**
  * @param int $secure
  * @return $this
  * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue
  */
 public function setSecure($secure)
 {
     $this->validateIn($secure, BitType::getAll());
     $this->secure = (int) $secure;
     return $this;
 }
コード例 #8
0
 /**
  * @param int $allimps
  * @return $this
  * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue
  */
 public function setAllimps($allimps)
 {
     $this->validateIn($allimps, BitType::getAll());
     $this->allimps = $allimps;
     return $this;
 }
コード例 #9
0
ファイル: App.php プロジェクト: powerlinks/php-open-rtb
 /**
  * @param int $paid
  * @return $this
  * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue
  */
 public function setPaid($paid)
 {
     $this->validateIn($paid, BitType::getAll());
     $this->paid = $paid;
     return $this;
 }