PHP Класс Sylius\Behat\Page\Shop\Checkout\CompletePage

Автор: Mateusz Zalewski ([email protected])
Наследование: extends Sylius\Behat\Page\SymfonyPage, implements Sylius\Behat\Page\Shop\Checkout\CompletePageInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__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 )

Защищенные методы

Метод Описание
getDefinedElements ( )

Приватные методы

Метод Описание
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

Описание методов

__construct() публичный Метод

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

addNotes() публичный Метод

public addNotes ( $notes )

changeAddress() публичный Метод

public changeAddress ( )

changePaymentMethod() публичный Метод

public changePaymentMethod ( )

changeShippingMethod() публичный Метод

confirmOrder() публичный Метод

public confirmOrder ( )

getBaseCurrencyOrderTotal() публичный Метод

getDefinedElements() защищенный Метод

protected getDefinedElements ( )

getRouteName() публичный Метод

public getRouteName ( )

hasBillingAddress() публичный Метод

public hasBillingAddress ( Sylius\Component\Core\Model\AddressInterface $address )
$address Sylius\Component\Core\Model\AddressInterface

hasBillingProvinceName() публичный Метод

public hasBillingProvinceName ( $provinceName )

hasCurrency() публичный Метод

public hasCurrency ( $currencyCode )

hasItemWithProductAndQuantity() публичный Метод

public hasItemWithProductAndQuantity ( $productName, $quantity )

hasLocale() публичный Метод

public hasLocale ( $localeName )

hasOrderTotal() публичный Метод

public hasOrderTotal ( $total )

hasPaymentMethod() публичный Метод

public hasPaymentMethod ( Sylius\Component\Payment\Model\PaymentMethodInterface $paymentMethod )
$paymentMethod Sylius\Component\Payment\Model\PaymentMethodInterface

hasProductDiscountedUnitPriceBy() публичный Метод

public hasProductDiscountedUnitPriceBy ( Sylius\Component\Core\Model\ProductInterface $product, $amount )
$product Sylius\Component\Core\Model\ProductInterface

hasProductOutOfStockValidationMessage() публичный Метод

public hasProductOutOfStockValidationMessage ( Sylius\Component\Core\Model\ProductInterface $product )
$product Sylius\Component\Core\Model\ProductInterface

hasProductUnitPrice() публичный Метод

public hasProductUnitPrice ( Sylius\Component\Core\Model\ProductInterface $product, $price )
$product Sylius\Component\Core\Model\ProductInterface

hasPromotion() публичный Метод

public hasPromotion ( $promotionName )

hasPromotionTotal() публичный Метод

public hasPromotionTotal ( $promotionTotal )

hasShippingAddress() публичный Метод

public hasShippingAddress ( Sylius\Component\Core\Model\AddressInterface $address )
$address Sylius\Component\Core\Model\AddressInterface

hasShippingMethod() публичный Метод

public hasShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod )
$shippingMethod Sylius\Component\Core\Model\ShippingMethodInterface

hasShippingProvinceName() публичный Метод

public hasShippingProvinceName ( $provinceName )

hasShippingTotal() публичный Метод

public hasShippingTotal ( $price )

hasTaxTotal() публичный Метод

public hasTaxTotal ( $taxTotal )