PHP Class Sylius\Behat\Page\Shop\Account\Order\ShowPage

Author: Grzegorz Sadowski ([email protected])
Inheritance: extends Sylius\Behat\Page\SymfonyPage, implements Sylius\Behat\Page\Shop\Account\Order\ShowPageInterface
Show file Open project: sylius/sylius

Public Methods

Method Description
__construct ( Behat\Mink\Session $session, array $parameters, Symfony\Component\Routing\RouterInterface $router, Sylius\Behat\Service\Accessor\TableAccessorInterface $tableAccessor )
countItems ( )
getItemPrice ( )
getNumber ( )
getPaymentPrice ( )
getRouteName ( )
getSubtotal ( )
getTotal ( )
hasBillingAddress ( $customerName, $street, $postcode, $city, $countryName )
hasBillingProvinceName ( $provinceName )
hasShippingAddress ( $customerName, $street, $postcode, $city, $countryName )
hasShippingProvinceName ( $provinceName )
isProductInTheList ( $name )

Protected Methods

Method Description
getDefinedElements ( )

Private Methods

Method Description
hasAddress ( string $elementText, string $customerName, string $street, string $postcode, string $city, string $countryName ) : boolean

Method Details

__construct() public method

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

countItems() public method

public countItems ( )

getDefinedElements() protected method

protected getDefinedElements ( )

getItemPrice() public method

public getItemPrice ( )

getNumber() public method

public getNumber ( )

getPaymentPrice() public method

public getPaymentPrice ( )

getRouteName() public method

public getRouteName ( )

getSubtotal() public method

public getSubtotal ( )

getTotal() public method

public getTotal ( )

hasBillingAddress() public method

public hasBillingAddress ( $customerName, $street, $postcode, $city, $countryName )

hasBillingProvinceName() public method

public hasBillingProvinceName ( $provinceName )

hasShippingAddress() public method

public hasShippingAddress ( $customerName, $street, $postcode, $city, $countryName )

hasShippingProvinceName() public method

public hasShippingProvinceName ( $provinceName )

isProductInTheList() public method

public isProductInTheList ( $name )