PHP Class Markette\Gopay\Entity\ReturnedPayment

Inheritance: extends Payment
Afficher le fichier Open project: markette/gopay Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $values, array $valuesToBeVerified )
getStatus ( ) : array Receives status of payment from Gopay WS
isAuthorized ( ) : boolean Returns TRUE if payment is authorized
isCanceled ( ) : boolean Returns TRUE if payment is canceled
isFraud ( ) : boolean Returns TRUE if payment is declared fraud by Gopay
isPaid ( ) : boolean Returns TRUE if payment is verified by Gopay as paid
isRefunded ( ) : boolean Returns TRUE if payment is refunded
isTimeouted ( ) : boolean Returns TRUE if payment time limit already expired
isWaiting ( ) : boolean Returns TRUE if payment is waiting to be paid
setGopay ( Markette\Gopay\Gopay $gopay )

Méthodes protégées

Méthode Description
getGopay ( ) : Markette\Gopay\Gopay

Method Details

__construct() public méthode

public __construct ( array $values, array $valuesToBeVerified )
$values array
$valuesToBeVerified array

getGopay() protected méthode

protected getGopay ( ) : Markette\Gopay\Gopay
Résultat Markette\Gopay\Gopay

getStatus() public méthode

Receives status of payment from Gopay WS
public getStatus ( ) : array
Résultat array

isAuthorized() public méthode

Returns TRUE if payment is authorized
public isAuthorized ( ) : boolean
Résultat boolean

isCanceled() public méthode

Returns TRUE if payment is canceled
public isCanceled ( ) : boolean
Résultat boolean

isFraud() public méthode

Returns TRUE if payment is declared fraud by Gopay
public isFraud ( ) : boolean
Résultat boolean

isPaid() public méthode

Returns TRUE if payment is verified by Gopay as paid
public isPaid ( ) : boolean
Résultat boolean

isRefunded() public méthode

Returns TRUE if payment is refunded
public isRefunded ( ) : boolean
Résultat boolean

isTimeouted() public méthode

Returns TRUE if payment time limit already expired
public isTimeouted ( ) : boolean
Résultat boolean

isWaiting() public méthode

Returns TRUE if payment is waiting to be paid
public isWaiting ( ) : boolean
Résultat boolean

setGopay() public méthode

public setGopay ( Markette\Gopay\Gopay $gopay )
$gopay Markette\Gopay\Gopay