class OrderManualEvent extends OrderEvent

Methods

__set($name, $value)

No description

__get($name)

No description

bindForm( Form $form)

No description

__construct( Order $order, Currency $currency, Lang $lang, Cart $cart, Customer $customer)

No description

$this
setOrder( Order $order)

No description

from  OrderEvent
$this
setCartItemId( int $cartItemId)

No description

from  OrderEvent
int
getCartItemId()

No description

from  OrderEvent
$this
setPlacedOrder( Order $order)

No description

from  OrderEvent
$this
setInvoiceAddress( int $address)

No description

from  OrderEvent
$this
setDeliveryAddress( int $address)

No description

from  OrderEvent
$this
setDeliveryModule( int $module)

No description

from  OrderEvent
$this
setPaymentModule( int $module)

No description

from  OrderEvent
$this
setPostage( double $postage)

No description

from  OrderEvent
$this
setRef( string $ref)

No description

from  OrderEvent
$this
setStatus( int $status)

No description

from  OrderEvent
$this
setDeliveryRef( string $deliveryRef)

No description

from  OrderEvent
getOrder()

No description

from  OrderEvent
getPlacedOrder()

No description

from  OrderEvent
null|int
getInvoiceAddress()

No description

from  OrderEvent
null|int
getDeliveryAddress()

No description

from  OrderEvent
null|int
getDeliveryModule()

No description

from  OrderEvent
null|int
getPaymentModule()

No description

from  OrderEvent
null|double
getPostage()

No description

from  OrderEvent
null|string
getRef()

No description

from  OrderEvent
null|int
getStatus()

No description

from  OrderEvent
null|string
getDeliveryRef()

No description

from  OrderEvent
$this
setResponse( Response $response)

No description

from  OrderEvent
Response
getResponse()

No description

from  OrderEvent
bool
hasResponse()

No description

from  OrderEvent
null
getPostageTax()

No description

from  OrderEvent
$this
setPostageTax( null $postageTax)

No description

from  OrderEvent
null
getPostageTaxRuleTitle()

No description

from  OrderEvent
$this
setPostageTaxRuleTitle( null $postageTaxRuleTitle)

No description

from  OrderEvent
getCurrency()

No description

$this
setCurrency( Currency $currency)

No description

getLang()

No description

$this
setLang( Lang $lang)

No description

getCart()

No description

$this
setCart( Cart $cart)

No description

getCustomer()

No description

$this
setCustomer( Customer $customer)

No description

boolean
getUseOrderDefinedAddresses()

No description

$this
setUseOrderDefinedAddresses( boolean $useOrderDefinedAddresses)

If true, the order will be created using the delivery and invoice addresses defined in $this->order instead of creating new OrderAdresses using the Order::getChoosenXXXAddress().

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 36
__construct( Order $order, Currency $currency, Lang $lang, Cart $cart, Customer $customer)

Parameters

Order $order
Currency $currency
Lang $lang
Cart $cart
Customer $customer

in OrderEvent at line 81
$this setOrder( Order $order)

Parameters

Order $order

Return Value

$this

in OrderEvent at line 92
$this setCartItemId( int $cartItemId)

Parameters

int $cartItemId

Return Value

$this

in OrderEvent at line 102
int getCartItemId()

Return Value

int

in OrderEvent at line 111
$this setPlacedOrder( Order $order)

Parameters

Order $order

Return Value

$this

in OrderEvent at line 122
$this setInvoiceAddress( int $address)

Parameters

int $address an address ID

Return Value

$this

in OrderEvent at line 133
$this setDeliveryAddress( int $address)

Parameters

int $address an address ID

Return Value

$this

in OrderEvent at line 144
$this setDeliveryModule( int $module)

Parameters

int $module a delivery module ID

Return Value

$this

in OrderEvent at line 155
$this setPaymentModule( int $module)

Parameters

int $module a payment module ID

Return Value

$this

in OrderEvent at line 166
$this setPostage( double $postage)

Parameters

double $postage the postage amount

Return Value

$this

in OrderEvent at line 177
$this setRef( string $ref)

Parameters

string $ref the order reference

Return Value

$this

in OrderEvent at line 188
$this setStatus( int $status)

Parameters

int $status the order status ID

Return Value

$this

in OrderEvent at line 199
$this setDeliveryRef( string $deliveryRef)

Parameters

string $deliveryRef the delivery reference

Return Value

$this

in OrderEvent at line 209
Order getOrder()

Return Value

Order the order

in OrderEvent at line 218
Order getPlacedOrder()

Return Value

Order the placed order, valid only after order payment

Exceptions

LogicException if the method is called before payment

in OrderEvent at line 230
null|int getInvoiceAddress()

Return Value

null|int the invoice address ID

in OrderEvent at line 238
null|int getDeliveryAddress()

Return Value

null|int the delivery addres ID

in OrderEvent at line 246
null|int getDeliveryModule()

Return Value

null|int the delivery module ID

in OrderEvent at line 254
null|int getPaymentModule()

Return Value

null|int the payment module ID

in OrderEvent at line 262
null|double getPostage()

Return Value

null|double the postage amount

in OrderEvent at line 270
null|string getRef()

Return Value

null|string the order reference

in OrderEvent at line 278
null|int getStatus()

Return Value

null|int the order status ID

in OrderEvent at line 286
null|string getDeliveryRef()

Return Value

null|string the delivery reference

in OrderEvent at line 295
$this setResponse( Response $response)

Parameters

Response $response the payment request response

Return Value

$this

in OrderEvent at line 305
Response getResponse()

Return Value

Response the payment request response

in OrderEvent at line 313
bool hasResponse()

Return Value

bool true if this event has a payment request response

in OrderEvent at line 321
null getPostageTax()

Return Value

null

in OrderEvent at line 330
$this setPostageTax( null $postageTax)

Parameters

null $postageTax

Return Value

$this

in OrderEvent at line 340
null getPostageTaxRuleTitle()

Return Value

null

in OrderEvent at line 349
$this setPostageTaxRuleTitle( null $postageTaxRuleTitle)

Parameters

null $postageTaxRuleTitle

Return Value

$this

at line 48
getCurrency()

at line 57
$this setCurrency( Currency $currency)

Parameters

Currency $currency

Return Value

$this

at line 67
Lang getLang()

Return Value

Lang

at line 76
$this setLang( Lang $lang)

Parameters

Lang $lang

Return Value

$this

at line 86
Cart getCart()

Return Value

Cart

at line 95
$this setCart( Cart $cart)

Parameters

Cart $cart

Return Value

$this

at line 105
Customer getCustomer()

Return Value

Customer

at line 114
$this setCustomer( Customer $customer)

Parameters

Customer $customer

Return Value

$this

at line 124
boolean getUseOrderDefinedAddresses()

Return Value

boolean

at line 136
$this setUseOrderDefinedAddresses( boolean $useOrderDefinedAddresses)

If true, the order will be created using the delivery and invoice addresses defined in $this->order instead of creating new OrderAdresses using the Order::getChoosenXXXAddress().

Parameters

boolean $useOrderDefinedAddresses

Return Value

$this