public function applyCoupon($code)
{
/*
$customCoupon = $this->db->GetOne("SELECT chargify_coupon_id FROM billing.coupons WHERE id = ? AND scalr_account_id IS NULL LIMIT 1", array($code));
if ($customCoupon) {
$origCode = $code;
$code = $customCoupon;
}
*/
$retval = $this->chargify->applyCoupon($this->subscriptionId, $code);
//$this->db->Execute("UPDATE billing.coupons SET scalr_account_id = ? WHERE id = ?", array($this->account->id, $origCode));
return $retval;
}