Sylius\Behat\Page\Shop\Checkout\CompletePageInterface::changeShippingMethod PHP 메소드

changeShippingMethod() 공개 메소드

    public function changeShippingMethod();

Usage Example

예제 #1
0
 /**
  * @When I go to the shipping step
  */
 public function iGoToTheShippingStep()
 {
     if ($this->selectPaymentPage->isOpen()) {
         $this->selectPaymentPage->changeShippingMethodByStepLabel();
         return;
     }
     if ($this->completePage->isOpen()) {
         $this->completePage->changeShippingMethod();
         return;
     }
     throw new UnexpectedPageException('It is impossible to go to shipping step from current page.');
 }