<?php

class Default_RestController extends Zend_Controller_Action
{
    public function serviceAction()
    {
        $server = new Zend_Rest_Server();
        $server->setClass('Common_Rest');
        $server->handle();
    }
    public function testAction()
    {
      $obj= new Common_CustomerFeeProcess();

        $detail[] = array(
            'cbl_type' => '3',
            'cbl_value' => 2,
            'currency_code' => 'HKD',
            'release_value' => '5',
            'currency_rate' => '',
            'user_id' => '',
            'cbl_refer_code' => 'HKD',
            'application_code' => 'oooooooo',
            'fee_id' => '0',
            'cbl_note' => 'test'
        );
       $rr=$obj->payment('EC001',$detail);
        print_r($rr);
    }

}