PaymentManager
in package
Table of Contents
- abandonPayment() : bool
- canBeAbandoned() : bool
- canBeCancelled() : bool
- canBeCompleted() : bool
- canBeFailed() : bool
- canBeOnHold() : bool
- canBeRefunded() : bool
- cancellPayment() : bool
- completePayment() : bool
- failPayment() : bool
- holdPayment() : bool
- refundPayment() : bool
Methods
abandonPayment()
public
abandonPayment(Payment &$payment[, string $log = '' ][, bool $skipCheck = false ]) : bool
Parameters
- $payment : Payment
- $log : string = ''
-
Optional. Default empty string
- $skipCheck : bool = false
-
Skip check of possibility
Return values
bool —canBeAbandoned()
public
canBeAbandoned(Payment $payment) : bool
Parameters
- $payment : Payment
Tags
Return values
bool —canBeCancelled()
public
canBeCancelled(Payment $payment) : bool
Parameters
- $payment : Payment
Tags
Return values
bool —canBeCompleted()
public
canBeCompleted(Payment $payment) : bool
Parameters
- $payment : Payment
Tags
Return values
bool —canBeFailed()
public
canBeFailed(Payment $payment) : bool
Parameters
- $payment : Payment
Tags
Return values
bool —canBeOnHold()
public
canBeOnHold(Payment $payment) : bool
Parameters
- $payment : Payment
Tags
Return values
bool —canBeRefunded()
public
canBeRefunded(Payment $payment) : bool
Parameters
- $payment : Payment
Tags
Return values
bool —cancellPayment()
public
cancellPayment(Payment &$payment[, string $log = '' ][, bool $skipCheck = false ]) : bool
Parameters
- $payment : Payment
- $log : string = ''
-
Optional. Default empty string
- $skipCheck : bool = false
-
Skip check of possibility
Tags
Return values
bool —completePayment()
public
completePayment(Payment &$payment[, string $log = '' ][, bool $skipCheck = false ]) : bool
Parameters
- $payment : Payment
- $log : string = ''
-
Optional. Default empty string
- $skipCheck : bool = false
-
Skip check of possibility
Return values
bool —failPayment()
public
failPayment(Payment &$payment[, string $log = '' ][, bool $skipCheck = false ]) : bool
Parameters
- $payment : Payment
- $log : string = ''
-
Optional. Default empty string
- $skipCheck : bool = false
-
Skip check of possibility
Return values
bool —holdPayment()
public
holdPayment(Payment &$payment[, string $log = '' ][, bool $skipCheck = false ]) : bool
Parameters
- $payment : Payment
- $log : string = ''
-
Optional. Default empty string
- $skipCheck : bool = false
-
Skip check of possibility
Return values
bool —refundPayment()
public
refundPayment(Payment &$payment[, string $log = '' ][, bool $skipCheck = false ]) : bool
Parameters
- $payment : Payment
- $log : string = ''
-
Optional. Default empty string
- $skipCheck : bool = false
-
Skip check of possibility