PHP 클래스 Sylius\Behat\Page\Shop\Checkout\CompletePage

저자: Mateusz Zalewski ([email protected])
상속: extends Sylius\Behat\Page\SymfonyPage, implements Sylius\Behat\Page\Shop\Checkout\CompletePageInterface
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__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 )