PHP Interface Sylius\Behat\Page\Shop\Checkout\CompletePageInterface

Author: Mateusz Zalewski ([email protected])
Inheritance: extends Sylius\Behat\Page\SymfonyPageInterface
Show file Open project: sylius/sylius Interface Usage Examples

Public Methods

Method Description
addNotes ( string $notes )
changeAddress ( )
changePaymentMethod ( )
changeShippingMethod ( )
confirmOrder ( )
getBaseCurrencyOrderTotal ( ) : string
hasBillingAddress ( Sylius\Component\Core\Model\AddressInterface $address ) : boolean
hasBillingProvinceName ( string $provinceName ) : boolean
hasCurrency ( string $currencyCode ) : boolean
hasItemWithProductAndQuantity ( string $productName, string $quantity ) : boolean
hasLocale ( string $localeName ) : boolean
hasOrderTotal ( float $total ) : boolean
hasPaymentMethod ( Sylius\Component\Payment\Model\PaymentMethodInterface $paymentMethod ) : boolean
hasProductDiscountedUnitPriceBy ( Sylius\Component\Core\Model\ProductInterface $product, float $amount ) : boolean
hasProductOutOfStockValidationMessage ( Sylius\Component\Core\Model\ProductInterface $product ) : boolean
hasProductUnitPrice ( Sylius\Component\Core\Model\ProductInterface $product, string $price ) : boolean
hasPromotion ( string $promotionName ) : boolean
hasPromotionTotal ( string $promotionTotal ) : boolean
hasShippingAddress ( Sylius\Component\Core\Model\AddressInterface $address ) : boolean
hasShippingMethod ( Sylius\Component\Core\Model\ShippingMethodInterface $shippingMethod ) : boolean
hasShippingProvinceName ( string $provinceName ) : boolean
hasShippingTotal ( string $price ) : boolean
hasTaxTotal ( string $taxTotal ) : boolean

Method Details

addNotes() public method

public addNotes ( string $notes )
$notes string

changeAddress() public method

public changeAddress ( )

changePaymentMethod() public method

public changePaymentMethod ( )

changeShippingMethod() public method

confirmOrder() public method

public confirmOrder ( )

getBaseCurrencyOrderTotal() public method

hasBillingAddress() public method

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

hasBillingProvinceName() public method

public hasBillingProvinceName ( string $provinceName ) : boolean
$provinceName string
return boolean

hasCurrency() public method

public hasCurrency ( string $currencyCode ) : boolean
$currencyCode string
return boolean

hasItemWithProductAndQuantity() public method

public hasItemWithProductAndQuantity ( string $productName, string $quantity ) : boolean
$productName string
$quantity string
return boolean

hasLocale() public method

public hasLocale ( string $localeName ) : boolean
$localeName string
return boolean

hasOrderTotal() public method

public hasOrderTotal ( float $total ) : boolean
$total float
return boolean

hasPaymentMethod() public method

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

hasProductDiscountedUnitPriceBy() public method

public hasProductDiscountedUnitPriceBy ( Sylius\Component\Core\Model\ProductInterface $product, float $amount ) : boolean
$product Sylius\Component\Core\Model\ProductInterface
$amount float
return boolean

hasProductOutOfStockValidationMessage() public method

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

hasProductUnitPrice() public method

public hasProductUnitPrice ( Sylius\Component\Core\Model\ProductInterface $product, string $price ) : boolean
$product Sylius\Component\Core\Model\ProductInterface
$price string
return boolean

hasPromotion() public method

public hasPromotion ( string $promotionName ) : boolean
$promotionName string
return boolean

hasPromotionTotal() public method

public hasPromotionTotal ( string $promotionTotal ) : boolean
$promotionTotal string
return boolean

hasShippingAddress() public method

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

hasShippingMethod() public method

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

hasShippingProvinceName() public method

public hasShippingProvinceName ( string $provinceName ) : boolean
$provinceName string
return boolean

hasShippingTotal() public method

public hasShippingTotal ( string $price ) : boolean
$price string
return boolean

hasTaxTotal() public method

public hasTaxTotal ( string $taxTotal ) : boolean
$taxTotal string
return boolean