class VirtualProductOrderHandleEvent extends ActionEvent

This event allow modules to get information on a virtual product :

  • download path if a file is attached to the product sale element
  • use stock or not
  • the pse is a virtual product ? As (virtual) product can have only some PSE really virtual.

Class VirtualProductCreateEvent

Methods

__set($name, $value)

No description

__get($name)

No description

bindForm( Form $form)

No description

__construct( Order $order, $pseId)

No description

getOrder()

No description

setOrder( Order $order)

No description

string
getPath()

No description

setPath( string $path)

No description

int
getPseId()

No description

setPseId( int $pseId)

No description

boolean
isUseStock()

No description

setUseStock( boolean $useStock)

No description

boolean
isVirtual()

No description

setVirtual( boolean $virtual)

No description

Details

in ActionEvent at line 30
__set($name, $value)

Parameters

$name
$value

in ActionEvent at line 35
__get($name)

Parameters

$name

in ActionEvent at line 44
bindForm( Form $form)

Parameters

Form $form

at line 48
__construct( Order $order, $pseId)

Parameters

Order $order
$pseId

at line 57
Order getOrder()

Return Value

Order

at line 65
setOrder( Order $order)

Parameters

Order $order

at line 75
string getPath()

Return Value

string

at line 83
setPath( string $path)

Parameters

string $path

at line 94
int getPseId()

Return Value

int

at line 102
setPseId( int $pseId)

Parameters

int $pseId

at line 112
boolean isUseStock()

Return Value

boolean

at line 120
setUseStock( boolean $useStock)

Parameters

boolean $useStock

at line 130
boolean isVirtual()

Return Value

boolean

at line 138
setVirtual( boolean $virtual)

Parameters

boolean $virtual