PHP Interface Sylius\Behat\Page\Admin\Customer\ShowPageInterface

Author: Łukasz Chruściel ([email protected])
Inheritance: extends Sylius\Behat\Page\PageInterface
Show file Open project: sylius/sylius Interface Usage Examples

Public Methods

Method Description
deleteAccount ( ) Deletes the user on whose show page we are currently on.
getCustomerEmail ( ) : string
getCustomerName ( ) : string
getDefaultAddress ( ) : string
getGroupName ( ) : string
getRegistrationDate ( ) : DateTime
getSuccessFlashMessage ( ) : string
hasAccount ( ) : boolean
hasDefaultAddressProvinceName ( string $provinceName ) : boolean
hasEmailVerificationInformation ( ) : boolean
hasImpersonateButton ( ) : boolean
hasVerifiedEmail ( ) : boolean
impersonate ( )
isRegistered ( ) : boolean Checks if the customer on whose page we are currently on is registered, if not throws an exception.
isSubscribedToNewsletter ( ) : boolean

Method Details

deleteAccount() public method

Deletes the user on whose show page we are currently on.
public deleteAccount ( )

getCustomerEmail() public method

public getCustomerEmail ( ) : string
return string

getCustomerName() public method

public getCustomerName ( ) : string
return string

getDefaultAddress() public method

public getDefaultAddress ( ) : string
return string

getGroupName() public method

public getGroupName ( ) : string
return string

getRegistrationDate() public method

public getRegistrationDate ( ) : DateTime
return DateTime

getSuccessFlashMessage() public method

public getSuccessFlashMessage ( ) : string
return string

hasAccount() public method

public hasAccount ( ) : boolean
return boolean

hasDefaultAddressProvinceName() public method

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

hasEmailVerificationInformation() public method

hasImpersonateButton() public method

public hasImpersonateButton ( ) : boolean
return boolean

hasVerifiedEmail() public method

public hasVerifiedEmail ( ) : boolean
return boolean

impersonate() public method

public impersonate ( )

isRegistered() public method

Checks if the customer on whose page we are currently on is registered, if not throws an exception.
public isRegistered ( ) : boolean
return boolean

isSubscribedToNewsletter() public method