示例#1
0
 /**
  * @param $bookingCompanyCode
  * @return $this
  */
 public function setBookingCompanyCode($bookingCompanyCode)
 {
     if (!$this->pos->getBookingChannel()) {
         $this->pos->setBookingChannel(new BookingChannel());
     }
     $this->pos->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;
 }