You are here

function UserpointsTransaction::decline in User Points 7.2

Mark this transaction as declined.

See also

UserpointsTransaction::setStatus

File

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

Class

UserpointsTransaction
A Userpoints transaction.

Code

function decline() {
  $this
    ->setStatus(UserpointsTransaction::STATUS_DECLINED);
  return $this;
}