Method | Description | |
---|---|---|
__construct ( Behat\Mink\Session $session, array $parameters, Symfony\Component\Routing\RouterInterface $router, Sylius\Behat\Service\Accessor\TableAccessorInterface $tableAccessor ) | ||
addNotes ( $notes ) | ||
changeAddress ( ) | ||
changePaymentMethod ( ) | ||
changeShippingMethod ( ) | ||
confirmOrder ( ) | ||
getBaseCurrencyOrderTotal ( ) | ||
getRouteName ( ) | ||
hasBillingAddress ( Sylius\Component\Core\Model\AddressInterface $address ) | ||
hasBillingProvinceName ( $provinceName ) | ||
hasCurrency ( $currencyCode ) | ||
hasItemWithProductAndQuantity ( $productName, $quantity ) | ||
hasLocale ( $localeName ) | ||
hasOrderTotal ( $total ) | ||
hasPaymentMethod ( Sylius\Component\Payment\Model\PaymentMethodInterface $paymentMethod ) | ||
hasProductDiscountedUnitPriceBy ( Sylius\Component\Core\Model\ProductInterface $product, $amount ) | ||
hasProductOutOfStockValidationMessage ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
hasProductUnitPrice ( Sylius\Component\Core\Model\ProductInterface $product, $price ) | ||
hasPromotion ( $promotionName ) | ||
hasPromotionTotal ( $promotionTotal ) | ||
hasShippingAddress ( Sylius\Component\Core\Model\AddressInterface $address ) | ||
hasShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
hasShippingProvinceName ( $provinceName ) | ||
hasShippingTotal ( $price ) | ||
hasTaxTotal ( $taxTotal ) |
Method | Description | |
---|---|---|
getDefinedElements ( ) |
Method | Description | |
---|---|---|
getBaseTotalFromString ( string $total ) : integer | ||
getCountryName ( string $countryCode ) : string | ||
getPriceFromString ( string $price ) : integer | ||
getProductRowElement ( Sylius\Component\Core\Model\ProductInterface $product ) : Behat\Mink\Element\NodeElement | ||
getTotalFromString ( string $total ) : integer | ||
hasAddressPart ( string $address, string $addressPart, $optional = false ) : boolean | ||
isAddressValid ( string $displayedAddress, Sylius\Component\Core\Model\AddressInterface $address ) : boolean |
public __construct ( Behat\Mink\Session $session, array $parameters, Symfony\Component\Routing\RouterInterface $router, Sylius\Behat\Service\Accessor\TableAccessorInterface $tableAccessor ) | ||
$session | Behat\Mink\Session | |
$parameters | array | |
$router | Symfony\Component\Routing\RouterInterface | |
$tableAccessor | Sylius\Behat\Service\Accessor\TableAccessorInterface |
public hasBillingAddress ( Sylius\Component\Core\Model\AddressInterface $address ) | ||
$address | Sylius\Component\Core\Model\AddressInterface |
public hasItemWithProductAndQuantity ( $productName, $quantity ) |
public hasPaymentMethod ( Sylius\Component\Payment\Model\PaymentMethodInterface $paymentMethod ) | ||
$paymentMethod | Sylius\Component\Payment\Model\PaymentMethodInterface |
public hasProductDiscountedUnitPriceBy ( Sylius\Component\Core\Model\ProductInterface $product, $amount ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public hasProductOutOfStockValidationMessage ( Sylius\Component\Core\Model\ProductInterface $product ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public hasProductUnitPrice ( Sylius\Component\Core\Model\ProductInterface $product, $price ) | ||
$product | Sylius\Component\Core\Model\ProductInterface |
public hasShippingAddress ( Sylius\Component\Core\Model\AddressInterface $address ) | ||
$address | Sylius\Component\Core\Model\AddressInterface |
public hasShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) | ||
$shippingMethod | Sylius\Component\Core\Model\ShippingMethodInterface |