You are here

function pay::set_total_paid in Pay 7

Same name and namespace in other branches
  1. 6 includes/handlers/pay.inc \pay::set_total_paid()

File

includes/handlers/pay.inc, line 83
The base class for the Payment API.

Class

pay
@file The base class for the Payment API.

Code

function set_total_paid($val = 0) {
  $this->total_paid = round((double) $val, 2);
}