You are here

function pay_item::set_cost in Pay 7

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

File

includes/handlers/pay_item.inc, line 35
An item type for payment activities.

Class

pay_item
@file An item type for payment activities.

Code

function set_cost($val = 0) {
  $this->cost = (double) $val;
}