class Payment implements AbstractPlugin

Class Payment

Methods

isAvailable( Cart $cart)

Check if available for cart.

int
getPaymentFee( Cart $cart, bool $useTaxes = true)

Get Payment Fee.

float
getPaymentFeeTax( Cart $cart)

get payment fee tax.

float
getPaymentFeeTaxRate( Cart $cart)

Get Payment Fee Tax Rate.

float
getPaymentFeeTaxesAmount( Cart $cart)

get payment taxes.

getPaymentTaxCalculator( Cart $cart)

get tax calculator for this payment provider.

process( Cart $cart)

Process Payment.

array('module',
processAsync( Cart $cart)

Processes the Payment async, this method returns the process module, controller, action

string
url($module, $action, $params = array())

assemble route with zend router.

Details

at line line 41
isAvailable( Cart $cart)

Check if available for cart.

Parameters

Cart $cart

at line line 54
int getPaymentFee( Cart $cart, bool $useTaxes = true)

Get Payment Fee.

Parameters

Cart $cart
bool $useTaxes

Return Value

int

at line line 66
float getPaymentFeeTax( Cart $cart)

get payment fee tax.

Parameters

Cart $cart

Return Value

float

at line line 84
float getPaymentFeeTaxRate( Cart $cart)

Get Payment Fee Tax Rate.

Parameters

Cart $cart

Return Value

float

at line line 102
float getPaymentFeeTaxesAmount( Cart $cart)

get payment taxes.

Parameters

Cart $cart

Return Value

float

at line line 122
null|TaxCalculator getPaymentTaxCalculator( Cart $cart)

get tax calculator for this payment provider.

Parameters

Cart $cart

Return Value

null|TaxCalculator

at line line 134
process( Cart $cart)

Process Payment.

Parameters

Cart $cart

Exceptions

UnsupportedException

at line line 147
array('module', processAsync( Cart $cart)

Processes the Payment async, this method returns the process module, controller, action

Parameters

Cart $cart

Return Value

array('module', 'controller', 'action')

Exceptions

UnsupportedException

at line line 161
string url($module, $action, $params = array())

assemble route with zend router.

Parameters

$module string module name
$action string action name
$params array additional params

Return Value

string