You are here

function UserpointsTransaction::isDeclined in User Points 7.2

Check if this transaction is declined.

See also

UserpointsTransaction::getStatus

1 call to UserpointsTransaction::isDeclined()
UserpointsTransaction::getMessage in ./userpoints.transaction.inc
A message that can be displayed to the current user.

File

./userpoints.transaction.inc, line 771
Contains the UserpointsTransaction and related classes.

Class

UserpointsTransaction
A Userpoints transaction.

Code

function isDeclined() {
  return $this
    ->getStatus() == UserpointsTransaction::STATUS_DECLINED;
}