示例#1
0
文件: HotelRes.php 项目: c2is/ota
 /**
  * @param $bookingCompanyCode
  * @return $this
  */
 public function setBookingCompanyCode($bookingCompanyCode)
 {
     if (!$this->pos->getSource()->getBookingChannel()) {
         $this->pos->getSource()->setBookingChannel(new BookingChannel());
     }
     $this->pos->getSource()->getBookingChannel()->getCompanyName()->setCode($bookingCompanyCode);
     return $this;
 }
示例#2
0
文件: HotelSearch.php 项目: c2is/ota
 /**
  * @param $companyName
  * @return $this
  */
 public function setCompanyName($companyName)
 {
     $this->pos->getSource()->getRequestorId()->getCompanyName()->setName($companyName);
     return $this;
 }