Пример #1
0
 /**
  * Constructor.
  *
  * Set Currency ID.
  *
  * @param  string $currencyId ID of Currency to show
  * @return void
  */
 public function __construct($currencyId)
 {
     parent::__construct();
     $this->currencyId = $currencyId;
 }
Пример #2
0
 /**
  * Constructor.
  *
  * Set booking ID.
  *
  * @param  string $bookingId ID of Booking to authorise payment for
  * @return void
  */
 public function __construct($bookingId)
 {
     parent::__construct();
     $this->method = RequestInterface::METHOD_POST;
     $this->bookingId = $bookingId;
 }
Пример #3
0
 /**
  * Constructor.
  *
  * Set Booking ID.
  *
  * @param  string $bookingId ID of Booking to show
  * @return void
  */
 public function __construct($bookingId)
 {
     parent::__construct();
     $this->bookingId = $bookingId;
 }
Пример #4
0
 /**
  * Constructor.
  *
  * Set Dwelling ID.
  *
  * @param  string $dwellingId ID of Dwelling to show
  * @return void
  */
 public function __construct($dwellingId)
 {
     parent::__construct();
     $this->dwellingId = $dwellingId;
 }
Пример #5
0
 /**
  * Constructor.
  *
  * Set Customer ID or email.
  *
  * @param  string $customerIdOrEmail ID or email of Customer to show
  * @return void
  */
 public function __construct($customerIdOrEmail)
 {
     parent::__construct();
     $this->customerIdOrEmail = $customerIdOrEmail;
 }
Пример #6
0
 /**
  * Constructor.
  *
  * @param  string $productId ID of Product to get Quote for
  * @return void
  */
 public function __construct($productId)
 {
     parent::__construct();
     $this->method = RequestInterface::METHOD_POST;
     $this->productId = $productId;
 }
Пример #7
0
 /**
  * Constructor.
  *
  * Set Customer ID.
  *
  * @param  string $customerId ID of Customer to update
  * @return void
  */
 public function __construct($customerId)
 {
     parent::__construct();
     $this->method = RequestInterface::METHOD_PUT;
     $this->customerId = $customerId;
 }
Пример #8
0
 /**
  * Constructor.
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->method = RequestInterface::METHOD_POST;
 }
Пример #9
0
 /**
  * Constructor.
  *
  * Set Dwelling ID.
  *
  * @param  string $quoteId ID of Quote to show
  * @return void
  */
 public function __construct($quoteId)
 {
     parent::__construct();
     $this->quoteId = $quoteId;
 }