PHP Interface Sylius\Behat\Page\Shop\Cart\SummaryPageInterface

Author: Łukasz Chruściel ([email protected])
Author: Anna Walasek ([email protected])
Inheritance: extends Sylius\Behat\Page\PageInterface
Afficher le fichier Open project: sylius/sylius Interface Usage Examples

Méthodes publiques

Méthode Description
applyCoupon ( string $couponCode )
changeQuantity ( string $productName, integer $quantity )
clearCart ( )
getBaseGrandTotal ( ) : string
getCartTotal ( ) : string
getGrandTotal ( ) : string
getItemTotal ( string $productName ) : string
getItemUnitPrice ( string $productName ) : string
getItemUnitRegularPrice ( string $productName ) : string
getPromotionCouponValidationMessage ( ) : string
getPromotionTotal ( ) : string
getQuantity ( $productName ) : integer
getShippingTotal ( ) : string
getTaxTotal ( ) : string
hasItemNamed ( string $name ) : boolean
hasItemWithCode ( string $code ) : boolean
hasItemWithOptionValue ( string $productName, string $optionName, string $optionValue ) : string
hasItemWithVariantNamed ( string $variantName ) : boolean
hasProductOutOfStockValidationMessage ( Sylius\Component\Core\Model\ProductInterface $product ) : boolean
isEmpty ( ) : boolean
isItemDiscounted ( string $productName ) : boolean
isSingleItemOnPage ( ) : boolean
removeProduct ( string $productName )
updateCart ( )
waitForRedirect ( integer $timeout )

Method Details

applyCoupon() public méthode

public applyCoupon ( string $couponCode )
$couponCode string

changeQuantity() public méthode

public changeQuantity ( string $productName, integer $quantity )
$productName string
$quantity integer

clearCart() public méthode

public clearCart ( )

getBaseGrandTotal() public méthode

public getBaseGrandTotal ( ) : string
Résultat string

getCartTotal() public méthode

public getCartTotal ( ) : string
Résultat string

getGrandTotal() public méthode

public getGrandTotal ( ) : string
Résultat string

getItemTotal() public méthode

public getItemTotal ( string $productName ) : string
$productName string
Résultat string

getItemUnitPrice() public méthode

public getItemUnitPrice ( string $productName ) : string
$productName string
Résultat string

getItemUnitRegularPrice() public méthode

public getItemUnitRegularPrice ( string $productName ) : string
$productName string
Résultat string

getPromotionCouponValidationMessage() public méthode

getPromotionTotal() public méthode

public getPromotionTotal ( ) : string
Résultat string

getQuantity() public méthode

public getQuantity ( $productName ) : integer
$productName
Résultat integer

getShippingTotal() public méthode

public getShippingTotal ( ) : string
Résultat string

getTaxTotal() public méthode

public getTaxTotal ( ) : string
Résultat string

hasItemNamed() public méthode

public hasItemNamed ( string $name ) : boolean
$name string
Résultat boolean

hasItemWithCode() public méthode

public hasItemWithCode ( string $code ) : boolean
$code string
Résultat boolean

hasItemWithOptionValue() public méthode

public hasItemWithOptionValue ( string $productName, string $optionName, string $optionValue ) : string
$productName string
$optionName string
$optionValue string
Résultat string

hasItemWithVariantNamed() public méthode

public hasItemWithVariantNamed ( string $variantName ) : boolean
$variantName string
Résultat boolean

hasProductOutOfStockValidationMessage() public méthode

public hasProductOutOfStockValidationMessage ( Sylius\Component\Core\Model\ProductInterface $product ) : boolean
$product Sylius\Component\Core\Model\ProductInterface
Résultat boolean

isEmpty() public méthode

public isEmpty ( ) : boolean
Résultat boolean

isItemDiscounted() public méthode

public isItemDiscounted ( string $productName ) : boolean
$productName string
Résultat boolean

isSingleItemOnPage() public méthode

public isSingleItemOnPage ( ) : boolean
Résultat boolean

removeProduct() public méthode

public removeProduct ( string $productName )
$productName string

updateCart() public méthode

public updateCart ( )

waitForRedirect() public méthode

public waitForRedirect ( integer $timeout )
$timeout integer